[Bug 264238] WiFi stops working after upgrade from 13.0 to 13.1, AR9285 (wpa_supplicant)
Date: Sat, 18 Jun 2022 01:02:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238
--- Comment #91 from Jaskie <jiangjun12321@gmail.com> ---
(In reply to Cy Schubert from comment #90)
No, it was NOT WORKING. I would've mentioned if it was fixed after adding
synchronous_dhclient="YES".
The only thing changed as I noticed was that now wlan0 claimed to be
associated, despite that there was no IP address as ifconfig reported.
This is from wpa 2.10 but I am not sure it's the vanilla 13.1 one or the one I
compiled from source:
# sha512sum wpa_supplicant
f2112c9a445c27bbc7cc73064a2c68240d8cd32747a7803941a62313103a869418ee24c68aa1ffd7659c3e3c425decd895d123424a50ab0e9b2d73545b69e3f5
Output from service netif start, wpa with -dd, and ifconfig:
# service netif start
Created wlan(4) interfaces: wlan0.
Starting dhclient.
alc0: no link .............. giving up
/etc/rc.d/dhclient: WARNING: failed to start dhclient
Starting wpa_supplicant.
wpa_supplicant v2.10
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'bsd'
ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=8):
57 48 55 2d 57 4c 41 4e WHU-WLAN
key_mgmt: 0x4
Line: 11 - start of a new network block
ssid - hexdump_ascii(len=7):
57 48 55 2d 53 54 55 WHU-STU
key_mgmt: 0x4
priority=100 (0x64)
Line: 19 - start of a new network block
ssid - hexdump_ascii(len=8):
57 68 61 74 54 68 65 46 WhatTheF
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 100
id=1 ssid='WHU-STU'
Priority group 0
id=0 ssid='WHU-WLAN'
id=2 ssid='WhatTheF'
wpa_driver_bsd_capa: drivercaps=0x4f8def41,cryptocaps=0x0000001f
Add interface wlan0 to a new radio N/A
PTKSA: Initializing
wlan0: Failed to attach pkt_type filter
wlan0: Own MAC address: 1c:4b:d6:ca:3e:ac
bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=0
bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=1
bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=2
bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=3
bsd_set_key: alg=0 addr=0x0 key_idx=4 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=4
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
bsd_set_key: alg=0 addr=0x0 key_idx=5 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=5
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
wpa_driver_bsd_set_countermeasures: enabled=0
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
TDLS: TDLS operation not supported by driver
TDLS: Driver uses internal link setup
TDLS: Driver does not support TDLS channel switching
wlan0: WPS: UUID based on MAC address: 8f102e08-5289-5b2f-a07e-bbde503569e6
ENGINE: Loading builtin engines
ENGINE: Loading builtin engines
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
MBO: Update non-preferred channels, non_pref_chan=N/A
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
Daemonize..
Starting dhclient.
wlan0: no link .... got link
Starting Network: lo0 alc0 wlan0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
alc0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=c3198<VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MCAST,WOL_MAGIC,VLAN_HWTSO,LINKSTATE>
ether 48:5b:39:8e:3c:b0
media: Ethernet autoselect (none)
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 1c:4b:d6:ca:3e:ac
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
groups: wlan
ssid WHU-STU channel 5 (2432 MHz 11g ht/20) bssid 70:d9:31:0e:2c:00
regdomain 96 indoor ecm authmode WPA privacy MIXED deftxkey UNDEF
txpower 20 bmiss 7 scanvalid 60 protmode CTS ampdulimit 64k shortgi
-stbctx stbcrx -ldpc -uapsd wme burst roaming MANUAL bintval 300
parent interface: ath0
media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11ng
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
# /usr/sbin/wpa_supplicant -dd -B -i wlan0 -c /etc/wpa_supplicant.conf
wpa_supplicant v2.10
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default'
ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=8):
57 48 55 2d 57 4c 41 4e WHU-WLAN
key_mgmt: 0x4
Line: 11 - start of a new network block
ssid - hexdump_ascii(len=7):
57 48 55 2d 53 54 55 WHU-STU
key_mgmt: 0x4
priority=100 (0x64)
Line: 19 - start of a new network block
ssid - hexdump_ascii(len=8):
57 68 61 74 54 68 65 46 WhatTheF
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 100
id=1 ssid='WHU-STU'
Priority group 0
id=0 ssid='WHU-WLAN'
id=2 ssid='WhatTheF'
wpa_driver_bsd_capa: drivercaps=0x4f8def41,cryptocaps=0x0000001f
Add interface wlan0 to a new radio N/A
PTKSA: Initializing
wlan0: Failed to attach pkt_type filter
wlan0: Own MAC address: 1c:4b:d6:ca:3e:ac
bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=0
bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=1
bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=2
bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=3
bsd_set_key: alg=0 addr=0x0 key_idx=4 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=4
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
bsd_set_key: alg=0 addr=0x0 key_idx=5 set_tx=0 seq_len=0 key_len=0
bsd_del_key: key_idx=5
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
wpa_driver_bsd_set_countermeasures: enabled=0
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
TDLS: TDLS operation not supported by driver
TDLS: Driver uses internal link setup
TDLS: Driver does not support TDLS channel switching
wlan0: WPS: UUID based on MAC address: 8f102e08-5289-5b2f-a07e-bbde503569e6
ENGINE: Loading builtin engines
ENGINE: Loading builtin engines
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
MBO: Update non-preferred channels, non_pref_chan=N/A
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
Daemonize..
# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 1c:4b:d6:ca:3e:ac
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
groups: wlan
ssid WHU-STU channel 5 (2432 MHz 11g ht/20) bssid 70:d9:31:0e:2c:00
regdomain 96 indoor ecm authmode WPA privacy MIXED deftxkey UNDEF
txpower 20 bmiss 7 scanvalid 60 protmode CTS ampdulimit 64k shortgi
-stbctx stbcrx -ldpc -uapsd wme burst roaming MANUAL bintval 300
parent interface: ath0
media: IEEE 802.11 Wireless Ethernet DS/1Mbps mode 11ng
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
--
You are receiving this mail because:
You are on the CC list for the bug.