Date: Wed, 1 Mar 2006 12:26:08 +0100 From: Fabian Keil <freebsd-listen@fabiankeil.de> To: Carlos Amengual <listas@informatica.info> Cc: freebsd-stable@freebsd.org Subject: Re: wpa_supplicant with NDIS-wrapped wireless card and WPA-PSK reboots 6.1-pre Message-ID: <20060301122608.451c88e4@localhost> In-Reply-To: <4404A9D1.5000705@informatica.info> References: <4404A9D1.5000705@informatica.info>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_Zovd=GNSKv00BncINHOJxwR Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Carlos Amengual <listas@informatica.info> wrote: > My system is a 6.1-PRERELEASE as of yesterday afternoon, but the same=20 > happened with a RELENG_6 as of a month ago. >=20 > I set up a D-Link AirPlus DWL-520+ wireless PCI adapter in an old=20 > server, and NDISwrapped it (got an AIRPLUS_SYS.ko). >=20 > When running wpa_supplicant -dd -indis0 -Dndis=20 > -c/etc/wpa_supplicant.conf, the system reboots after printing: >=20 > -------------------------------------------------------- > Initializing interface 'ndis0' conf '/etc/wpa_supplicant.conf' driver > 'ndis' Configuration file '/etc/wpa_supplicant.conf' -> > '/etc/wpa_supplicant.conf' Reading configuration file > '/etc/wpa_supplicant.conf' ctrl_interface=3D'/var/run/wpa_supplicant' > ctrl_interface_group=3D0 (from group name 'wheel') > Line: 6 - start of a new network block > ssid - hexdump_ascii(len=3D11): > 47 4e 43 57 49 52 45 4c 45 53 53 GNCWIRELESS =20 > scan_ssid=3D1 (0x1) > key_mgmt: 0x2 > PSK (ASCII passphrase) - hexdump_ascii(len=3D26): [REMOVED] > PSK (from passphrase) - hexdump(len=3D32): [REMOVED] > Priority group 0 > id=3D0 ssid=3D'GNCWIRELESS' > Initializing interface (2) 'ndis0' > 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 > NDIS: 1 adapter names found > NDIS: 1 adapter descriptions found > NDIS: 0 - ndis0 - ndis0 > NDIS: Adapter description prefix 'ndis0' > ndis_get_oid: oid=3D0xd010122 len (512) failed > NDIS: verifying driver WPA capability > NDIS: WPA key management supported > NDIS: WPA-PSK key management supported > ndis_set_oid: oid=3D0xd01011b len (4) failed > NDIS: Failed to set OID_802_11_ENCRYPTION_STATUS (6) > NDIS: TKIP encryption supported > NDIS: driver supports WPA > NDIS: driver capabilities: key_mgmt 0x5 enc 0x4 auth 0x3 > Own MAC address: **:**:**:**:**:** > wpa_driver_ndis_set_wpa: enabled=3D1 > ndis_get_oid: oid=3D0xd010101 len (6) failed > My /etc/wpa_supplicant.conf: >=20 > ctrl_interface=3D/var/run/wpa_supplicant > ctrl_interface_group=3Dwheel > # > # home network; allow all valid ciphers > network=3D{ > ssid=3D"GNCWIRELESS" > scan_ssid=3D1 > key_mgmt=3DWPA-PSK > psk=3D"**********************" > } Does it make a difference if you additionally put the bssid in /etc/wpa_supplicant.conf? Since I upgraded from RELENG_5 to RELENG_6 I have to use both the ssid and the bssid to get ndis0 to associate. I only use wep encryption and don't know if a failed attempt to associate with wpa_supplicant can cause a reboot, but it's worth a try. You should also check if you can associate to the (unencrypted) network with ifconfig by hand. Fabian --=20 http://www.fabiankeil.de/ --Sig_Zovd=GNSKv00BncINHOJxwR Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEBYTXjV8GA4rMKUQRAhJdAJ46KS2jUkY4qLW05rPe8wJS2+7ycQCeLw8l cpGxFN9tjTPWAZUbTIHlN8o= =7UH/ -----END PGP SIGNATURE----- --Sig_Zovd=GNSKv00BncINHOJxwR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060301122608.451c88e4>