From owner-freebsd-questions@FreeBSD.ORG Mon Nov 27 19:34:34 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41D9F16A512 for ; Mon, 27 Nov 2006 19:34:34 +0000 (UTC) (envelope-from trolle@trolle.net) Received: from nwsgames.net (85-235-233-152.dsl.essbredbaand.dk [85.235.233.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5029944EB7 for ; Mon, 27 Nov 2006 18:27:34 +0000 (GMT) (envelope-from trolle@trolle.net) Received: by nwsgames.net (Postfix, from userid 80) id A126D61D0; Mon, 27 Nov 2006 18:00:11 +0100 (CET) Received: from 192.168.1.1 ([192.168.1.1]) by nwsgames.net (Horde MIME library) with HTTP; Mon, 27 Nov 2006 18:00:11 +0100 Message-ID: <20061127180011.f3me3nccf4kw8gw0@nwsgames.net> Date: Mon, 27 Nov 2006 18:00:11 +0100 From: trolle@trolle.net To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.1) Subject: wpa_supplicant ipw problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 19:34:34 -0000 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