if_ipw problems

Sam Leffler sam at errno.com
Wed Aug 3 02:46:30 GMT 2005


Niki Denev wrote:
> Hello,
> 
> I have problems getting the ipw(4) wireless interface on my TP X31 to work.
> I'm running -Current cvsupped and built from about 2 hours ago (i have this
>  problem from long time, but hadn't the time to report it.)
> The firmware is the latest from the ports.
> When using exactly the same wpa_supplicant config with different wireless card 
> (ralink) i can authentitace to a LinkSys WPA54G access point.
> But it never works for ipw.
> One thing that i discovered is that when i do ifconfig ipw0 scan
> there is always one 'fake network' without SSID and with zero macaddr :
> 
> # ifconfig ipw0 scan
> SSID           BSSID                      CHAN      RATE   S:N     INT CAPS
>                   00:00:00:00:00:00   11          0M     0:0        0
> office.ss      00:0f:66:11:13:1e   11         54M    29:0  100  EP WPA  
> 
> This looks really odd, and i can't reproduce it with other wlan cards.

Shouldn't matter.

> 
> wpa_supplicant.conf is :
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel
> eapol_version=1 or 2 (tried both of them)
> 
> network={
> 	ssid="office.ss"
> 	proto=WPA
> 	key_mgmt=WPA-PSK
> 	psk="xxxx"
> }
> 
> network={
> 	ssid="totalterror-wlan"
> 	proto=WPA
> 	key_mgmt=WPA-PSK
> 	psk="yyyy"
> }
> 
> 
> 
> Here is debug output from wpa_supplicant with if_ipw :
> 
> Initializing interface 'ipw0' conf '/etc/wpa_supplicant.conf' driver 'default'
> Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
> Reading configuration file '/etc/wpa_supplicant.conf'
> ctrl_interface='/var/run/wpa_supplicant'
> ctrl_interface_group=0 (from group name 'wheel')
> eapol_version=2
> Line: 5 - start of a new network block
> ssid - hexdump_ascii(len=9):
>      6f 66 66 69 63 65 2e 73 73                        office.ss       
> proto: 0x1
> key_mgmt: 0x2
> PSK (ASCII passphrase) - hexdump_ascii(len=11): [REMOVED]
> PSK (from passphrase) - hexdump(len=32): [REMOVED]
> Line: 14 - start of a new network block
> ssid - hexdump_ascii(len=16):
>      74 6f 74 61 6c 74 65 72 72 6f 72 2d 77 6c 61 6e   totalterror-wlan
> scan_ssid=1 (0x1)
> proto: 0x1
> key_mgmt: 0x2
> PSK (ASCII passphrase) - hexdump_ascii(len=15): [REMOVED]
> PSK (from passphrase) - hexdump(len=32): [REMOVED]
> Priority group 0
>    id=0 ssid='office.ss'
>    id=1 ssid='totalterror-wlan'
> Initializing interface (2) 'ipw0'
> Own MAC address: 00:04:23:92:33:23
> wpa_driver_bsd_set_wpa: enabled=1
> 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
> wpa_driver_bsd_set_drop_unencrypted: enabled=1
> Setting scan request: 0 sec 100000 usec
> Starting AP scan (specific SSID)
> Scan SSID - hexdump_ascii(len=16):
>      74 6f 74 61 6c 74 65 72 72 6f 72 2d 77 6c 61 6e   totalterror-wlan
> Received 0 bytes of scan results (2 BSSes)
> Scan results: 2
> Selecting BSS from priority group 0
> 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0
>    selected
> Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz)
> Cancelling scan request
> Automatic auth_alg selection: 0x1
> WPA: using IEEE 802.11i/D3.0
> WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
> WPA: using GTK TKIP
> WPA: using PTK TKIP
> WPA: using KEY_MGMT WPA-PSK
> WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 
> 00 50 f2 02 01 00 00 50 f2 02
> No keys have been configured - skip key clearing
> wpa_driver_bsd_set_drop_unencrypted: enabled=1
> wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 
> key mgmt 1
> wpa_driver_bsd_associate: set PRIVACY 1
> Setting authentication timeout: 5 sec 0 usec
> Received 0 bytes of scan results (2 BSSes)
> Scan results: 2
> Selecting BSS from priority group 0
> 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0
>    selected
> Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz)
> Cancelling scan request
> Automatic auth_alg selection: 0x1
> WPA: using IEEE 802.11i/D3.0
> WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
> WPA: using GTK TKIP
> WPA: using PTK TKIP
> WPA: using KEY_MGMT WPA-PSK
> WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 
> 00 50 f2 02 01 00 00 50 f2 02
> No keys have been configured - skip key clearing
> wpa_driver_bsd_set_drop_unencrypted: enabled=1
> wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 
> key mgmt 1
> wpa_driver_bsd_associate: set PRIVACY 1
> Setting authentication timeout: 5 sec 0 usec
> Received 0 bytes of scan results (2 BSSes)
> Scan results: 2
> Selecting BSS from priority group 0
> 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0
>    selected
> Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz)
> Cancelling scan request
> Automatic auth_alg selection: 0x1
> WPA: using IEEE 802.11i/D3.0
> WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
> WPA: using GTK TKIP
> WPA: using PTK TKIP
> WPA: using KEY_MGMT WPA-PSK
> WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 
> 00 50 f2 02 01 00 00 50 f2 02
> No keys have been configured - skip key clearing
> wpa_driver_bsd_set_drop_unencrypted: enabled=1
> wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 
> key mgmt 1
> wpa_driver_bsd_associate: set PRIVACY 1
> Setting authentication timeout: 5 sec 0 usec
> Received 0 bytes of scan results (2 BSSes)
> Scan results: 2
> Selecting BSS from priority group 0
> 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0
>    selected
> Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz)
> Cancelling scan request
> Automatic auth_alg selection: 0x1
> WPA: using IEEE 802.11i/D3.0
> WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
> WPA: using GTK TKIP
> WPA: using PTK TKIP
> WPA: using KEY_MGMT WPA-PSK
> WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 
> 00 50 f2 02 01 00 00 50 f2 02
> No keys have been configured - skip key clearing
> wpa_driver_bsd_set_drop_unencrypted: enabled=1
> wpa_driver_bsd_associate: ssid 'office.ss' wpa ie len 24 pairwise 2 group 2 
> key mgmt 1
> wpa_driver_bsd_associate: set PRIVACY 1
> Setting authentication timeout: 5 sec 0 usec
> Received 0 bytes of scan results (2 BSSes)
> Scan results: 2
> Selecting BSS from priority group 0
> 0: 00:0f:66:11:13:1e ssid='office.ss' wpa_ie_len=24 rsn_ie_len=0
>    selected
> Trying to associate with 00:0f:66:11:13:1e (SSID='office.ss' freq=2462 MHz)
> Cancelling scan request
> Automatic auth_alg selection: 0x1
> 
> 
> ---
> i cancelled it at this point, but it loops like this forever(or atleast couple

You say things work with ral but not ipw?  Was that with wpa-psk and the 
same ap?  Have you ever been able to use ipw and wpa-psk?  I don't 
personally know if it works and the driver's author has been out of 
touch for a long time.

	Sam


More information about the freebsd-current mailing list