You are not logged in.

#1 2022-02-09 14:32:04

amcooper
Member
Registered: 2015-01-08
Posts: 17
Website

[SOLVED] Sudden loss of wifi access

I'm dual booting macOS and Arch Linux. About ten days ago I lost wifi access to the Internet from Arch. It had been working for months without any problems. Notably I no longer receive an IPv4 address on startup. All other devices on the local network, including the macOS partition, have had wifi access. Ethernet access via USB seems to be fine.

I'm using netctl. Pastes below: wifi-menu, ip, netctl, dmesg, lspci, journalctl.

Anyone have any ideas? I almost broke the system trying to fix this, and I'm stumped. Thank you.

$ sudo wifi-menu
Scanning for networks... failed
No networks found
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 80:e6:50:1d:0b:ce brd ff:ff:ff:ff:ff:ff
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 02:42:f5:9b:6c:1f brd ff:ff:ff:ff:ff:ff
$ sudo ip link set wlp3s0 up
$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 80:e6:50:1d:0b:ce brd ff:ff:ff:ff:ff:ff
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
    link/ether 02:42:f5:9b:6c:1f brd ff:ff:ff:ff:ff:ff
$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 80:e6:50:1d:0b:ce brd ff:ff:ff:ff:ff:ff
    inet6 fe80::82e6:50ff:fe1d:bce/64 scope link 
       valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:f5:9b:6c:1f brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever

At this point I bring the interface down, because `netctl` will bring it up.

$ sudo ip link set wlp3s0 down
$ sudo netctl start wlp3s0_M*******
$ sudo netctl status wlp3s0_M*******
× netctl@wlp3s0_M*******.service - Automatically generated profile by wifi-menu
     Loaded: loaded (/usr/lib/systemd/system/netctl@.service; enabled; vendor preset: disabled)
    Drop-In: /etc/systemd/system/netctl@wlp3s0_M*******.service.d
             └─profile.conf
     Active: failed (Result: exit-code) since Wed 2022-02-09 01:58:25 EST; 49s ago
       Docs: man:netctl.profile(5)
    Process: 39187 ExecStart=/usr/lib/netctl/network start wlp3s0_M******* (code=exited, status=1/FAILURE)
   Main PID: 39187 (code=exited, status=1/FAILURE)
        CPU: 1.856s

Feb 09 01:58:09 marcos systemd[1]: Starting Automatically generated profile by wifi-menu...
Feb 09 01:58:09 marcos network[39187]: Starting network profile 'wlp3s0_M*******'...
Feb 09 01:58:09 marcos systemd[1]: Started Automatically generated profile by wifi-menu.
Feb 09 01:58:25 marcos network[39187]: WPA association/authentication failed for interface 'wlp3s0'
Feb 09 01:58:25 marcos network[39187]: Failed to bring the network up for profile 'wlp3s0_M*******'
Feb 09 01:58:25 marcos systemd[1]: netctl@wlp3s0_M*******.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 01:58:25 marcos systemd[1]: netctl@wlp3s0_M*******.service: Failed with result 'exit-code'.
Feb 09 01:58:25 marcos systemd[1]: netctl@wlp3s0_M*******.service: Consumed 1.856s CPU time.
$ sudo dmesg | grep firmware
[    0.098503] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    2.589353] facetimehd 0000:02:00.0: Loaded firmware, size: 1392kb
[    2.913531] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
$ sudo dmesg | grep wl
[    3.064942] wl: module license 'MIXED/Proprietary' taints kernel.
[    3.126934] wlan0: Broadcom BCM43a0 802.11 Hybrid Wireless Controller 6.30.223.271 (r587334)
[    3.168966] wl 0000:03:00.0 wlp3s0: renamed from wlan0
[    5.126296] audit: type=1130 audit(1644390322.382:47): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@wlp3s0_M******* comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[   22.920451] audit: type=1131 audit(1644390340.179:140): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=netctl@wlp3s0_M******* comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
$ lspci -k
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
    Subsystem: Apple Inc. Device 011a
    Kernel driver in use: hsw_uncore
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
    Subsystem: Apple Inc. Device 011a
    Kernel driver in use: i915
    Kernel modules: i915
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
    Subsystem: Apple Inc. Device 011a
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
    Subsystem: Intel Corporation Apple MacBookAir6,2 / MacBookPro11,1
    Kernel driver in use: xhci_hcd
    Kernel modules: xhci_pci
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: mei_me
    Kernel modules: mei_me
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
    Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)
    Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
    Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
    Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)
    Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: lpc_ich
    Kernel modules: lpc_ich
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
    Subsystem: Intel Corporation Device 7270
    Kernel driver in use: i801_smbus
    Kernel modules: i2c_i801
02:00.0 Multimedia controller: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera
    Subsystem: Broadcom Inc. and subsidiaries 720p FaceTime HD Camera
    Kernel driver in use: facetimehd
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
    Subsystem: Apple Inc. Device 0112
    Kernel driver in use: wl
    Kernel modules: bcma, wl
04:00.0 SATA controller: Samsung Electronics Co Ltd Apple PCIe SSD (rev 01)
    Kernel driver in use: ahci
05:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
    Kernel driver in use: pcieport
06:00.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
    Kernel driver in use: pcieport
06:03.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
    Kernel driver in use: pcieport
06:04.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
    Kernel driver in use: pcieport
06:05.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
    Kernel driver in use: pcieport
06:06.0 PCI bridge: Intel Corporation DSL5520 Thunderbolt 2 Bridge [Falcon Ridge 4C 2013]
    Kernel driver in use: pcieport
07:00.0 System peripheral: Intel Corporation DSL5520 Thunderbolt 2 NHI [Falcon Ridge 4C 2013]
    Subsystem: Device 2222:1111
    Kernel driver in use: thunderbolt
    Kernel modules: thunderbolt

Output of `journalctl -b` : http://sprunge.us/7r9TIp

Last edited by amcooper (2022-02-09 14:52:55)

Offline

#2 2022-02-09 14:37:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: [SOLVED] Sudden loss of wifi access

On a glance I'd assume a bug with the new wpa_supplicant release/compat change with netctl and this interface, try downgrading that to 2.9

Offline

#3 2022-02-09 14:52:26

amcooper
Member
Registered: 2015-01-08
Posts: 17
Website

Re: [SOLVED] Sudden loss of wifi access

Welp, that did it. Thanks, @V1del!

Offline

#4 2022-02-09 14:59:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: [SOLVED] Sudden loss of wifi access

That isn't really a sustainable solution, you should check whether it's an actual bug in wpa_supplicant or just in netctl's usage of it. Potentially check whether you can still connect on the new wpa_supplicant by establishing the connection manually: https://wiki.archlinux.org/title/Wpa_su … th_wpa_cli but I wouldn't think it far fetched some weird compat issue with the wl module and the changes in wpa_supplicant.

Offline

Board footer

Powered by FluxBB