1A, uname -a shows:

FreeBSD citadel.sentry.org 11.0-STABLE FreeBSD 11.0-STABLE #0 \
r314907M: Thu Mar  9 04:26:47 AEDT 2017 \
r...@citadel.sentry.org:/usr/obj/usr/src/sys/GENERIC  amd64

1B. dmesg shows:

siba_bwn0: <Broadcom BCM4321 802.11a/b/g/n Wireless> \
mem 0xd3200000-0xd3203fff at device 0.0 on pci3
siba_bwn0: warn: multiple PCI(E) cores
siba_bwn0: unsupported coreid (USB 1.1 Host)
bwn0 on siba_bwn0
bwn0: WLAN (chipid 0x4321 rev 12) PHY (analog 5 type 4 rev 2) \
RADIO (manuf 0x17f ver 0x2055 rev 4)
bwn0: DMA (64 bits)
bwn0: Note: compiled with BWN_GPL_PHY; includes GPLv2 code
bwn0: Using 1 MSI messages

2. wpa_supplicant.conf contains:


3, wlan0 is created with:

ifconfig wlan0 create wlandev bwn0 wlanaddr 48:02:2a:63:4e:c1 \
inet channel 3

Note: Unless I specify a wlanaddr then wlan0 is created with a mac address of ff:ff:ff:ff:ff:ff

4. ifconfig wlan0 shows:

wlan0: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 48:02:2a:63:4e:c1
        inet netmask 0xffffff00 broadcast
inet6 fe80::4a02:2aff:fe63:4ec1%wlan0 prefixlen 64 tentative scopeid 0x3
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        ssid "" channel 3 (2422 MHz 11g)
regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
        scanvalid 60 protmode CTS wme
        groups: wlan

5. ifconfig wlan0 scan shows (among others):
SSID/MESH ID    BSSID              CHAN RATE    S:N     INT CAPS
WLAN24G 34:31:c4:bc:d0:21 3 54M -77:-95 100 EPS HTCAP WME ATH RSN

5. wpa_supplicant -dd -i wlan0 -c /etc/wpa_supplicant.conf produces:

wpa_supplicant v2.5
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: 5 - start of a new network block
ssid - hexdump_ascii(len=7):
     57 4c 41 4e 32 34 47                              WLAN24G
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='WLAN24G'
wpa_driver_bsd_capa: drivercaps=0x0581e801,cryptocaps=0x00000000
Add interface wlan0 to a new radio N/A
wlan0: Own MAC address: 48:02:2a:63:4e:c1
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
wpa_driver_bsd_set_countermeasures: enabled=0
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: dbcf9172-a2c4-5074-bfc2-05bfaecc535f
ENGINE: Loading dynamic engine
ENGINE: Loading dynamic engine
EAPOL: Supplicant port status: Unauthorized
EAP: EAP entering state DISABLED
wlan0: Added interface wlan0
wlan0: Starting AP scan for wildcard SSID
wlan0: Add radio work 'scan'@0x801ce4000
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'scan'@0x801ce4000 after 0.000012 second wait
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
wlan0: Event SCAN_RESULTS (3) received
Received 868 bytes of scan results (4 BSSes)
wlan0: BSS: Start scan result update 1
wlan0: BSS: Add new id 0 BSSID 48:02:2a:61:6a:24 SSID 'router-2' freq 2422
wlan0: BSS: Add new id 1 BSSID 48:02:2a:63:4e:c0 SSID 'router-3' freq 2422
wlan0: BSS: Add new id 2 BSSID 34:31:c4:bc:d0:21 SSID 'WLAN24G' freq 2422
wlan0: BSS: Add new id 3 BSSID 44:33:4c:b5:d3:68 SSID 'router-4' freq 2422
BSS: last_scan_res_used=4/32
wlan0: New scan results available (own=0 ext=0)
wlan0: Radio work 'scan'@0x801ce4000 done in 0.212149 seconds
wlan0: Selecting BSS from priority group 0
wlan0: 0: 48:02:2a:61:6a:24 ssid='router-2' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-66 freq=2422
wlan0:    skip - SSID mismatch
wlan0: 1: 48:02:2a:63:4e:c0 ssid='router-3' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 level=-69 freq=2422
wlan0:    skip - SSID mismatch
wlan0: 2: 34:31:c4:bc:d0:21 ssid='WLAN24G' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-77 freq=2422
wlan0:    selected based on RSN IE
wlan0:    selected BSS 34:31:c4:bc:d0:21 ssid='WLAN24G'
wlan0: Considering connect request: reassociate: 0 selected: 34:31:c4:bc:d0:21 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING ssid=0x801c45000 current_ssid=0x0
wlan0: Request association with 34:31:c4:bc:d0:21
wlan0: Add radio work 'connect'@0x801ce4000
wlan0: First radio work item in the queue - schedule start immediately
wlan0: Starting radio work 'connect'@0x801ce4000 after 0.000009 second wait
wlan0: Trying to associate with 34:31:c4:bc:d0:21 (SSID='WLAN24G' freq=2422 MHz)
FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0):
wlan0: Cancelling scan request
wlan0: WPA: clearing own WPA/RSN IE
wlan0: Automatic auth_alg selection: 0x1
RSN: PMKSA cache search - network_ctx=0x801c45000 try_opportunistic=0
RSN: Search for BSSID 34:31:c4:bc:d0:21
RSN: No PMKSA cache entry found
wlan0: RSN: using IEEE 802.11i/D9.0
wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2
wlan0: WPA: clearing AP WPA IE
WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
wlan0: WPA: using GTK CCMP
wlan0: WPA: using PTK CCMP
wlan0: WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
Limit connection to BSSID 34:31:c4:bc:d0:21 freq=2422 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'WLAN24G' wpa ie len 22 pairwise 16 group 16 key mgmt 2
wpa_driver_bsd_set_drop_unencrypted: enabled=1
bsd_set_opt_ie: set WPA+RSN ie (len 22)
wpa_driver_bsd_associate: set PRIVACY 1
wlan0: Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
EAPOL: disable timer tick
wlan0: Authentication with 34:31:c4:bc:d0:21 timed out.
Added BSSID 34:31:c4:bc:d0:21 into blacklist
wlan0: WPA: Clear old PMK and PTK
wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=34:31:c4:bc:d0:21 reason=3 state=ASSOCIATING
wlan0: Event DEAUTH (12) received
wlan0: Deauthentication notification
wlan0:  * reason 3 (locally generated)
Deauthentication frame IE(s) - hexdump(len=0): [NULL]
wlan0: CTRL-EVENT-DISCONNECTED bssid=34:31:c4:bc:d0:21 reason=3 locally_generated=1
wlan0: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=5)
wlan0: Setting scan request: 0.100000 sec
wlan0: Radio work 'connect'@0x801ce4000 done in 10.022229 seconds

and never manages to associate successfully.

Any ideas?

freebsd-wireless@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Reply via email to