Discussion:
iwn Centrino N-1030
(too old to reply)
Jeremy C. Reed
2012-01-31 22:07:53 UTC
Permalink
Anyone using the following?

iwn0: <Intel(R) Centrino(R) Wireless-N 1030> mem 0xf0600000-0xf0601fff irq 17 at device 0.0 on pci2
iwn0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 257 to local APIC 0 vector 51
iwn0: using IRQ 257 for MSI
iwn0: MIMO 1T2R, BGN, address ac:72:89:ec:3b:1e
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 1T2R
iwn0: 11ng MCS 20MHz
iwn0: MCS 0-7: 6.5Mbps - 65Mbps
iwn0: 11ng MCS 20MHz SGI
iwn0: MCS 0-7: 7Mbps - 72Mbps
iwn0: 11ng MCS 40MHz:
iwn0: MCS 0-7: 13.5Mbps - 135Mbps
iwn0: 11ng MCS 40MHz SGI:
iwn0: MCS 0-7: 15Mbps - 150Mbps
...
wlan: <802.11 Link Layer>
...
wlan0: bpf attached
wlan0: bpf attached
wlan0: Ethernet address: ac:72:89:ec:3b:1e
firmware: 'iwn6000g2bfw' version 0: 460912 bytes loaded at 0xffffffff816120b0
ubt0: <vendor 0x8086 product 0x0189, class 224/1, rev 2.00/69.19, addr 3> on usbus2
WARNING: attempt to domain_add(bluetooth) after domainfinalize()
WARNING: attempt to domain_add(netgraph) after domainfinalize()


I am using FreeBSD 9.0-RELEASE on amd64.

ifconfig shows the interfaces:

iwn0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether ac:72:89:ec:3b:1e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ac:72:89:ec:3b:1e
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
status: associated
ssid 5FYA8 channel 11 (2462 MHz 11g) bssid 00:18:01:e0:8a:57
country US authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit
txpower 11 bmiss 10 scanvalid 450 bgscan bgscanintvl 300
bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme roaming MANUAL


The installer did see other networks to when scanning.

But the installer and after the install never gets any address when
using dhclient. It just does its DHCPDISCOVER on wlan0 to
255.255.255.255 port 67 interval 4 .... and then No DHCPOFFERS received.

I am not sure if is a wireless issue or a dhcp issue.

Running wpa_supplicant with debugging shows it is associated too:

work1# wpa_supplicant -i wlan0 -dddd -c /etc/wpa_supplicant.conf
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'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=2
ap_scan=1
fast_reauth=1
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=5):
35 46 59 41 38 5FYA8
key_mgmt: 0x4
wep_key0 - hexdump(len=10): [REMOVED]
wep_tx_keyidx=0 (0x0)
priority=5 (0x5)
Line: 13 - start of a new network block
priority=5 (0x5)
key_mgmt: 0x4
Priority group 5
id=0 ssid='5FYA8'
id=1 ssid=''
Own MAC address: ac:72:89:ec:3b:1e
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
wpa_driver_bsd_set_countermeasures: enabled=0
RSN: flushing PMKID list in the driver
Setting scan request: 0 sec 100000 usec
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
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
Using existing control interface directory.
Added interface wlan0
State: DISCONNECTED -> SCANNING
Starting AP scan for wildcard SSID
Received 472 bytes of scan results (5 BSSes)
BSS: Start scan result update 1
BSS: Add new id 0 BSSID 00:18:01:e0:8a:57 SSID '5FYA8'
BSS: Add new id 1 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 2 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 3 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Add new id 4 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
4: 00:1f:90:ea:5e:d4 ssid='QKJQ1' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Trying to associate with 00:18:01:e0:8a:57 (SSID='5FYA8' freq=2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: clearing own WPA/RSN IE
No keys have been configured - skip key clearing
wpa_driver_bsd_set_key: alg=WEP addr=ff:ff:ff:ff:ff:ff key_idx=0 set_tx=1 seq_len=0 key_len=10
State: SCANNING -> ASSOCIATING
wpa_driver_bsd_associate: ssid '5FYA8' wpa ie len 0 pairwise 4 group 4 key mgmt 2
wpa_driver_bsd_set_drop_unencrypted: enabled=1
wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - EAP fail=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portControl=ForceAuthorized
EAPOL: Supplicant port status: Unauthorized
State: ASSOCIATING -> ASSOCIATED
Associated to a new BSS: BSSID=00:18:01:e0:8a:57
Associated with 00:18:01:e0:8a:57
WPA: Association event - clear replay counter
WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state S_FORCE_AUTH
EAPOL: Supplicant port status: Authorized
EAPOL: SUPP_BE entering state IDLE
Cancelling authentication timeout
State: ASSOCIATED -> COMPLETED
CTRL-EVENT-CONNECTED - Connection to 00:18:01:e0:8a:57 completed (auth) [id=0 id_str=]
Cancelling scan request
EAPOL: disable timer tick

BSS: Expire BSS 1 due to age
BSS: Remove id 1 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Expire BSS 2 due to age
BSS: Remove id 2 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Expire BSS 3 due to age
BSS: Remove id 3 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Expire BSS 4 due to age
BSS: Remove id 4 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
Received 472 bytes of scan results (5 BSSes)
BSS: Start scan result update 2
BSS: Add new id 5 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 6 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 7 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Add new id 8 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
4: 00:1f:90:ea:5e:d4 ssid='QKJQ1' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Considering within-ESS reassociation
Current BSS: 00:18:01:e0:8a:57 level=0
Selected BSS: 00:18:01:e0:8a:57 level=0
Skip roam - too small difference in signal level
^[[5~    BSS: Expire BSS 5 due to age
BSS: Remove id 5 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Expire BSS 6 due to age
BSS: Remove id 6 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Expire BSS 7 due to age
BSS: Remove id 7 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Expire BSS 8 due to age
BSS: Remove id 8 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
Received 472 bytes of scan results (5 BSSes)
BSS: Start scan result update 3
BSS: Add new id 9 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 10 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 11 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Add new id 12 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
4: 00:1f:90:ea:5e:d4 ssid='QKJQ1' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Considering within-ESS reassociation
Current BSS: 00:18:01:e0:8a:57 level=0
Selected BSS: 00:18:01:e0:8a:57 level=0
Skip roam - too small difference in signal level
BSS: Expire BSS 9 due to age
BSS: Remove id 9 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Expire BSS 10 due to age
BSS: Remove id 10 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Expire BSS 11 due to age
BSS: Remove id 11 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Expire BSS 12 due to age
BSS: Remove id 12 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
Received 468 bytes of scan results (5 BSSes)
BSS: Start scan result update 4
BSS: Add new id 13 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 14 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 15 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Add new id 16 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
4: 00:1f:90:ea:5e:d4 ssid='QKJQ1' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Considering within-ESS reassociation
Current BSS: 00:18:01:e0:8a:57 level=0
Selected BSS: 00:18:01:e0:8a:57 level=0
Skip roam - too small difference in signal level
BSS: Expire BSS 13 due to age
BSS: Remove id 13 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Expire BSS 14 due to age
BSS: Remove id 14 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Expire BSS 15 due to age
BSS: Remove id 15 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
BSS: Expire BSS 16 due to age
BSS: Remove id 16 BSSID 00:1f:90:ea:5e:d4 SSID 'QKJQ1'
Received 356 bytes of scan results (4 BSSes)
BSS: Start scan result update 5
BSS: Add new id 17 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 18 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 19 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Considering within-ESS reassociation
Current BSS: 00:18:01:e0:8a:57 level=0
Selected BSS: 00:18:01:e0:8a:57 level=0
Skip roam - too small difference in signal level
BSS: Expire BSS 17 due to age
BSS: Remove id 17 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Expire BSS 18 due to age
BSS: Remove id 18 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Expire BSS 19 due to age
BSS: Remove id 19 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
Received 356 bytes of scan results (4 BSSes)
BSS: Start scan result update 6
BSS: Add new id 20 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 21 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 22 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Considering within-ESS reassociation
Current BSS: 00:18:01:e0:8a:57 level=0
Selected BSS: 00:18:01:e0:8a:57 level=0
Skip roam - too small difference in signal level
BSS: Expire BSS 20 due to age
BSS: Remove id 20 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Expire BSS 21 due to age
BSS: Remove id 21 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Expire BSS 22 due to age
BSS: Remove id 22 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
Received 348 bytes of scan results (4 BSSes)
BSS: Start scan result update 7
BSS: Add new id 23 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 24 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 25 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Considering within-ESS reassociation
Current BSS: 00:18:01:e0:8a:57 level=0
Selected BSS: 00:18:01:e0:8a:57 level=0
Skip roam - too small difference in signal level
BSS: Expire BSS 23 due to age
BSS: Remove id 23 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Expire BSS 24 due to age
BSS: Remove id 24 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Expire BSS 25 due to age
BSS: Remove id 25 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
Received 360 bytes of scan results (4 BSSes)
BSS: Start scan result update 8
BSS: Add new id 26 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Add new id 27 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Add new id 28 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
New scan results available
Selecting BSS from priority group 5
Try to find WPA-enabled AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
1: e8:39:df:d8:92:2b ssid='3CSHT' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
2: 00:1f:90:e2:aa:61 ssid='stix' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
3: e8:39:df:f8:a3:50 ssid='3GQH7' wpa_ie_len=0 rsn_ie_len=0 caps=0x31
skip - no WPA/RSN IE
Try to find non-WPA AP
0: 00:18:01:e0:8a:57 ssid='5FYA8' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
selected non-WPA AP 00:18:01:e0:8a:57 ssid='5FYA8'
Considering within-ESS reassociation
Current BSS: 00:18:01:e0:8a:57 level=0
Selected BSS: 00:18:01:e0:8a:57 level=0
Skip roam - too small difference in signal level
RTM_IFINFO: Interface 'wlan0' DOWN
Configured interface was removed.
State: COMPLETED -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: SUPP_BE entering state INITIALIZE
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
Removing interface wlan0
wpa_driver_bsd_del_key: keyidx=0
wpa_driver_bsd_del_key: keyidx=1
wpa_driver_bsd_del_key: keyidx=2
wpa_driver_bsd_del_key: keyidx=3
State: DISCONNECTED -> DISCONNECTED
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_bsd_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
BSS: Remove id 0 BSSID 00:18:01:e0:8a:57 SSID '5FYA8'
BSS: Remove id 26 BSSID e8:39:df:d8:92:2b SSID '3CSHT'
BSS: Remove id 27 BSSID 00:1f:90:e2:aa:61 SSID 'stix'
BSS: Remove id 28 BSSID e8:39:df:f8:a3:50 SSID '3GQH7'
Cancelling scan request
Cancelling authentication timeout
wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
ioctl[SIOCS80211, op 26, arg 0x0]: Operation not supported
ELOOP: remaining socket: sock=4 eloop_data=0x80180f300 user_data=0x80185f080 handler=0x4250d0

(Those last few lines were probably when I killed it.)

FWIW: it works fine with some LinuxMint 12 my son had on a live flash
disk.

Any ideas?


Jeremy C. Reed

p.s. The wpa_supplicant man page doesn't document the default options as
ran via rc.
Adrian Chadd
2012-01-31 22:41:07 UTC
Permalink
Hi,

try it with an open AP for now, see if it can exchange data fine?

I'm not really going to be more helpful than that on the intel NICs I'm
afraid :(


Adrian
Jeremy C. Reed
2012-02-01 14:25:05 UTC
Permalink
Post by Adrian Chadd
try it with an open AP for now, see if it can exchange data fine?
Sorry I am new to wireless on FreeBSD. Still looking at the handbook,
but I can't figure out how to get it associated with an open access
point. (On a different laptop at same location, when I boot a different
BSD it automatically connects to it with no wireless configuration.)

When I use ifconfig wlan0 scan it shows it. When I run wpa_supplicant
and then wpa_cli and scan and then scan_results it shows it. I can use
ifconfig to configure it, but it always says status: no carrier. (When I
configure it to use my local access point with the nwkey then it is
associated, but dhclient doesn't work.)

Any pointers to any docs on how to use ifconfig or other (non X11) tool
to automatically scan and connect to a local AP? (The handbook, as far
as I see for this, discusses configuring rc.conf so doesn't show me the
exact commands lines, and I don't want to yet read all through the rc.d
scripts and network.subr.)

(By the way, the handbook shows "ifconfig wlan0 up scan" but that
outputs nothing in the case where the interface needs to brought up
first. Run it again and then it does output the results.)
Post by Adrian Chadd
I'm not really going to be more helpful than that on the intel NICs I'm
afraid :(
Any suggestions on a cheap USB wifi adapter to use? (Maybe there is a
webpage with suggested hardware to use?)
Bernhard Schmidt
2012-02-01 14:34:38 UTC
Permalink
Post by Jeremy C. Reed
Post by Adrian Chadd
try it with an open AP for now, see if it can exchange data fine?
Sorry I am new to wireless on FreeBSD. Still looking at the handbook,
but I can't figure out how to get it associated with an open access
point. (On a different laptop at same location, when I boot a different
BSD it automatically connects to it with no wireless configuration.)
When I use ifconfig wlan0 scan it shows it. When I run wpa_supplicant
and then wpa_cli and scan and then scan_results it shows it. I can use
ifconfig to configure it, but it always says status: no carrier. (When I
configure it to use my local access point with the nwkey then it is
associated, but dhclient doesn't work.)
Any pointers to any docs on how to use ifconfig or other (non X11) tool
to automatically scan and connect to a local AP?  (The handbook, as far
as I see for this, discusses configuring rc.conf so doesn't show me the
exact commands lines, and I don't want to yet read all through the rc.d
scripts and network.subr.)
Given an empty rc.conf (no wlan configuration) simply typing
ifconfig wlan0 create wlandev iwn0
ifconfig wlan0 up
should be enough, the rc.conf counterpart should look like
wlans_iwn0="wlan0"
ifconfig_wlan0="up"
(no IP in both cases obviously)

Be aware, if you have something configured related to wlan0 in
rc.conf, creating the wlan0 interface will invoke devd which will
invoke /etc/rc.d/netif which will load the configuration. Just so you
don't have to wonder why wpa_supplicant gets started without it being
started explicitly.

So.. if
ifconfig wlan0 create wlandev iwn0
ifconfig wlan0 up
doesn't connect to any open network around, enable debugging with
wlandebug 0xffffffff
and post the results please.
--
Bernhard
Jeremy C. Reed
2012-02-01 15:03:19 UTC
Permalink
Post by Bernhard Schmidt
Given an empty rc.conf (no wlan configuration) simply typing
ifconfig wlan0 create wlandev iwn0
ifconfig wlan0 up
should be enough, the rc.conf counterpart should look like
wlans_iwn0="wlan0"
ifconfig_wlan0="up"
(no IP in both cases obviously)
Be aware, if you have something configured related to wlan0 in
rc.conf, creating the wlan0 interface will invoke devd which will
invoke /etc/rc.d/netif which will load the configuration. Just so you
don't have to wonder why wpa_supplicant gets started without it being
started explicitly.
So.. if
ifconfig wlan0 create wlandev iwn0
ifconfig wlan0 up
doesn't connect to any open network around, enable debugging with
wlandebug 0xffffffff
and post the results please.
Thanks. I commented out the related configurations from rc.conf (that
the sysinstall created) and rebooted.

After creating it, this was shown on console:
wlan0: Ethernet address: 72:89:ec:3b:1e

ifconfig wlan0 up didn't appear to bring anything up (even after waiting
some time):

$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether ac:72:89:ec:3b:1e
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 12 (2467 MHz 11g)
country US authmode OPEN privacy OFF txpower 15 bmiss 10 scanvalid 60
bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
protmode CTS wme bintval 0

I did the wlandebug. The parts of /var/log/messages for this is at:
http://reedmedia.net/~reed/tmp/wlandebug.20120201a.txt
Less than one minute is over 3700 log entries.
Bernhard Schmidt
2012-02-01 16:17:44 UTC
Permalink
Post by Jeremy C. Reed
Post by Bernhard Schmidt
Given an empty rc.conf (no wlan configuration) simply typing
ifconfig wlan0 create wlandev iwn0
ifconfig wlan0 up
should be enough, the rc.conf counterpart should look like
wlans_iwn0="wlan0"
ifconfig_wlan0="up"
(no IP in both cases obviously)
Be aware, if you have something configured related to wlan0 in
rc.conf, creating the wlan0 interface will invoke devd which will
invoke /etc/rc.d/netif which will load the configuration. Just so you
don't have to wonder why wpa_supplicant gets started without it being
started explicitly.
So.. if
ifconfig wlan0 create wlandev iwn0
ifconfig wlan0 up
doesn't connect to any open network around, enable debugging with
wlandebug 0xffffffff
and post the results please.
Thanks. I commented out the related configurations from rc.conf (that
the sysinstall created) and rebooted.
wlan0: Ethernet address: 72:89:ec:3b:1e
ifconfig wlan0 up didn't appear to bring anything up (even after waiting
$ ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
       ether ac:72:89:ec:3b:1e
       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
       media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
       status: no carrier
       ssid "" channel 12 (2467 MHz 11g)
       country US authmode OPEN privacy OFF txpower 15 bmiss 10 scanvalid 60
       bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
       protmode CTS wme bintval 0
http://reedmedia.net/~reed/tmp/wlandebug.20120201a.txt
Less than one minute is over 3700 log entries.
Quoting from the log:
Feb 1 08:49:28 work1 kernel: wlan0: macaddr bssid
chan rssi rate flag wep essid
Feb 1 08:49:28 work1 kernel: - e8:39:df:f8:a3:50 e8:39:df:f8:a3:50
1 7! 54M ess wep! "3GQH7"
Feb 1 08:49:28 work1 kernel: - 00:1f:90:e2:aa:61 00:1f:90:e2:aa:61
1 12 54M ess wep! "stix"
Feb 1 08:49:28 work1 kernel: - 00:18:01:e0:8a:57 00:18:01:e0:8a:57
11 36 54M ess wep! "5FYA8"
Feb 1 08:49:28 work1 kernel: - e8:39:df:d8:92:2b e8:39:df:d8:92:2b
1 22 54M ess wep! "3CSHT"
Feb 1 08:49:28 work1 kernel: ^ 00:1f:90:e5:01:e3 00:1f:90:e5:01:e3
11 6! 54M ess wep! "2O6P0"
Feb 1 08:49:28 work1 kernel: ^ 00:13:10:95:25:9c 00:13:10:95:25:9c
6 5! 54M ess no "linksys"
Feb 1 08:49:28 work1 kernel: - 90:00:4e:0a:ed:a6 02:2b:3b:c0:a9:bf
6 4! 54M ibss! no "HPCP1525-0aeda6"
Feb 1 08:49:28 work1 kernel: - 00:21:63:83:71:de 00:21:63:83:71:de
11 5! 54M ess wep! "N9DW4"
Feb 1 08:49:28 work1 kernel: - 68:7f:74:45:e6:46 68:7f:74:45:e6:46
11 5! 54M ess no "Scentsytx-guest"
Feb 1 08:49:28 work1 kernel: - 68:7f:74:45:e6:44 68:7f:74:45:e6:44
11 6! 54M ess wep! "Scentsytx"
Feb 1 08:49:28 work1 kernel: - 00:1f:90:e3:9a:41 00:1f:90:e3:9a:41
6 5! 54M ess wep! "CR9D0"
Feb 1 08:49:28 work1 kernel: ^ 00:1f:90:ea:5e:d4 00:1f:90:ea:5e:d4
11 3! 54M ess wep! "QKJQ1"

quite a few networks to choose from, but.. those with a ! on the rssi
column aren't considered because the signal is too low and all others
are encrypted not open. Do you by any chance have some scan results
from Linux or something available to compare too? if there is a
significant diff in the signal quality I might have to look into the
antenna setup.
--
Bernhard
Bernhard Schmidt
2012-02-01 09:38:27 UTC
Permalink
Post by Jeremy C. Reed
Anyone using the following?
iwn0: <Intel(R) Centrino(R) Wireless-N 1030> mem 0xf0600000-0xf0601fff irq 17 at device 0.0 on pci2
iwn0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 257 to local APIC 0 vector 51
iwn0: using IRQ 257 for MSI
iwn0: MIMO 1T2R, BGN, address ac:72:89:ec:3b:1e
Strange.. the 1030 is exactly the same as the 6230 (except some small
difference like the number of mimo stream and 5GHz support). The 6230
is what I'm using daily and that one works great.

Do you by any chance have a button/switch to disable bluetooth? I'd
play around with that one, maybe I've did something wrong with regard
to bluetooth coexistence.
--
Bernhard
Jeremy C. Reed
2012-02-01 13:55:03 UTC
Permalink
Post by Bernhard Schmidt
Post by Jeremy C. Reed
iwn0: <Intel(R) Centrino(R) Wireless-N 1030> mem 0xf0600000-0xf0601fff irq 17 at device 0.0 on pci2
iwn0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 257 to local APIC 0 vector 51
iwn0: using IRQ 257 for MSI
iwn0: MIMO 1T2R, BGN, address ac:72:89:ec:3b:1e
Strange.. the 1030 is exactly the same as the 6230 (except some small
difference like the number of mimo stream and 5GHz support). The 6230
is what I'm using daily and that one works great.
Do you by any chance have a button/switch to disable bluetooth? I'd
play around with that one, maybe I've did something wrong with regard
to bluetooth coexistence.
I think the bluetooth switch is the same function button as the wireless
switch.

When I press it I get:

ahcich1: SNTF 0x0001
ubt0: ubt_bulk_read_callback:867: bulk-in transfer failed: USB_ERR_STALLED
ubt0: ubt_intr_read_callback:767: interrupt transfer failed: USB_ERR_STALLED
ugen2.3: <vendor 0x8086> at usbus2 (disconnected)
ubt0: at uhub4, port 5, addr 3 (disconnected)

In the case that the wlan0 is up then I also get:

iwn0: RF switch: radio disabled

(But only if the wlan0 is up I think.)

(That ahcich1 I only saw one time, so probably unrelated.)

When I press it again (to turn it back on):

ugen2.3: <vendor 0x8086> at usbus2
ubt0: <vendor 0x8086 product 0x0189, class 224/1, rev 2.00/69.19, addr 3> on usbus2

When the interface wlan0 is up, I also get:

iwn0: RF switch: radio enabled
firmware: 'iwn6000g2bfw' version 0: 460912 bytes loaded at 0xffffffff816120b0

The complete dmesg (boot with verbose) is at:
http://reedmedia.net/~reed/tmp/dmesg-dell-inspiron-14z.txt
Bernhard Schmidt
2012-02-01 14:46:58 UTC
Permalink
Post by Jeremy C. Reed
Post by Bernhard Schmidt
Post by Jeremy C. Reed
iwn0: <Intel(R) Centrino(R) Wireless-N 1030> mem 0xf0600000-0xf0601fff irq 17 at device 0.0 on pci2
iwn0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 257 to local APIC 0 vector 51
iwn0: using IRQ 257 for MSI
iwn0: MIMO 1T2R, BGN, address ac:72:89:ec:3b:1e
Strange.. the 1030 is exactly the same as the 6230 (except some small
difference like the number of mimo stream and 5GHz support). The 6230
is what I'm using daily and that one works great.
Do you by any chance have a button/switch to disable bluetooth? I'd
play around with that one, maybe I've did something wrong with regard
to bluetooth coexistence.
I think the bluetooth switch is the same function button as the wireless
switch.
Right, which makes sense as the device is a combined BT+WLAN device.
Though, my 6230 has 2 buttons, one for BT and one for WLAN and I was
thinking you might have that too. Anyways, was just looking for a
quick test to rule BTcoex out, which didn't work.
--
Bernhard
Loading...