Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2006 18:00:11 +0100
From:      trolle@trolle.net
To:        freebsd-questions@freebsd.org
Subject:   wpa_supplicant ipw problem
Message-ID:  <20061127180011.f3me3nccf4kw8gw0@nwsgames.net>

next in thread | raw e-mail | index | archive | help
Hi,

A few weeks ago i installed FreeBSD on my IBM T40 laptop. After running
it on my server for about a year with great success.
And everything seems to work great, except i cant join my wireless network
when i encrypt it. When I set my NorthQ routers wireless security settings
to none, I get an IP and everything is working, but when i change it to
WPA or WEP I cant get an IP. I have tried all I could find on the net and
in the hand book but i cant get it to work. Here is my setup:


trolle-ibm# uname -a
FreeBSD trolle-ibm.trolle.lan 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7
04:42:56 UTC 2006 root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386


trolle-ibm# cat /boot/loader.conf
snd_ich_load=3D"YES"
if_ipw_load=3D"YES"
wlan_load=3D"YES"
wlan_ccmp_load=3D"YES"
wlan_tkip_load=3D"YES"
wlan_wep_load=3D"YES"
wlan_acl_load=3D"YES"


trolle-ibm# cat /etc/rc.conf
hostname=3D"trolle-ibm.trolle.lan"
ifconfig_em0=3D"DHCP"
/usr/sbin/ipwcontrol -i ipw0 -f /boot/firmware/ipw.fw
ifconfig_ipw0=3D"WPA DHCP"
inetd_enable=3D"NO"
keymap=3D"danish.iso"
linux_enable=3D"YES"
moused_enable=3D"YES"
moused_type=3D"auto"
usbd_enable=3D"YES"
gnome_enable=3D"YES"
dbus_enable=3D"YES"
polkitd_enable=3D"YES"


trolle-ibm# cat /etc/wpa_supplicant.conf
network=3D{
          ssid=3D"trolle"
          psk=3D"1234567890"
}


trolle-ibm# ifconfig ipw0 scan
SSID            BSSID              CHAN RATE  S:N   INT CAPS
trolle          00:50:fc:d4:bd:e0   11   11M 48:0   100 EP   WPA


trolle-ibm# wpa_supplicant -i ipw0 -c /etc/wpa_supplicant.conf
Trying to associate with 00:50:fc:d4:bd:e0 (SSID=3D'trolle' freq=3D2462 MHz)
Trying to associate with 00:50:fc:d4:bd:e0 (SSID=3D'trolle' freq=3D2462 MHz)
- and it just keeps repeeting that line. so i did a


trolle-ibm# wpa_supplicant -i ipw0 -c /etc/wpa_supplicant.conf -dd > /wpa


trolle-ibm# cat /wpa
Initializing interface 'ipw0' conf '/etc/wpa_supplicant.conf' driver
'default' ctrl_interface '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=3D6):
       74 72 6f 6c 6c 65                                 trolle
PSK (ASCII passphrase) - hexdump_ascii(len=3D10): [REMOVED]
PSK (from passphrase) - hexdump(len=3D32): [REMOVED]
Priority group 0
     id=3D0 ssid=3D'trolle'
Initializing interface (2) 'ipw0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=3D0
EAPOL: External notification - portValid=3D0
Own MAC address: 00:04:23:92:24:12
wpa_driver_bsd_set_wpa: enabled=3D1
wpa_driver_bsd_set_wpa_internal: wpa=3D3 privacy=3D1
wpa_driver_bsd_del_key: keyidx=3D0
wpa_driver_bsd_del_key: keyidx=3D1
wpa_driver_bsd_del_key: keyidx=3D2
wpa_driver_bsd_del_key: keyidx=3D3
wpa_driver_bsd_set_countermeasures: enabled=3D0
wpa_driver_bsd_set_drop_unencrypted: enabled=3D1
Setting scan request: 0 sec 100000 usec
Added interface ipw0
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:50:fc:d4:bd:e0 ssid=3D'trolle' wpa_ie_len=3D26 rsn_ie_len=3D0 caps=3D0=
x11
     selected based on WPA IE
Trying to associate with 00:50:fc:d4:bd:e0 (SSID=3D'trolle' freq=3D2462 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=3D26): dd 18 00 50 f2 01 01 00 00 50 f2
02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=3D24): 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=3D1
State: SCANNING -> ASSOCIATING
wpa_driver_bsd_associate: ssid 'trolle' wpa ie len 24 pairwise 2 group
2 key mgmt 1
wpa_driver_bsd_associate: set PRIVACY 1
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=3D0
EAPOL: External notification - EAP fail=3D0
EAPOL: External notification - portControl=3DAuto
Received 0 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:50:fc:d4:bd:e0 ssid=3D'trolle' wpa_ie_len=3D26 rsn_ie_len=3D0 caps=3D0=
x11
     selected based on WPA IE
Trying to associate with 00:50:fc:d4:bd:e0 (SSID=3D'trolle' freq=3D2462 MHz)
Cancelling scan request


And that just keeps going and going, so i cut it short here.

I have tried changeing everything i could think of on my router.
passphrase, hex key, TKIP/AES, Authentication Type Open, Shared, Auto.
And the same with the wpa_supplicant settings.

Anyone got any ideas? Thanks for reading.

Kind Regards
Mads Trolle





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061127180011.f3me3nccf4kw8gw0>