https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264238
--- Comment #91 from Jaskie ---
(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=0x001f
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.10 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 engin