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 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP i386


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


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


trolle-ibm# cat /etc/wpa_supplicant.conf
network={
         ssid="trolle"
         psk="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='trolle' freq=2462 MHz)
Trying to associate with 00:50:fc:d4:bd:e0 (SSID='trolle' freq=2462 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=6):
      74 72 6f 6c 6c 65                                 trolle
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
    id=0 ssid='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=0
EAPOL: External notification - portValid=0
Own MAC address: 00:04:23:92:24:12
wpa_driver_bsd_set_wpa: enabled=1
wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=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
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='trolle' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
    selected based on WPA IE
Trying to associate with 00:50:fc:d4:bd:e0 (SSID='trolle' freq=2462 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=26): 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=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
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=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
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='trolle' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
    selected based on WPA IE
Trying to associate with 00:50:fc:d4:bd:e0 (SSID='trolle' freq=2462 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


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to