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
[-- Attachment #1 --]
Carlos Amengual <listas@informatica.info> wrote:
> My system is a 6.1-PRERELEASE as of yesterday afternoon, but the same
> happened with a RELENG_6 as of a month ago.
>
> I set up a D-Link AirPlus DWL-520+ wireless PCI adapter in an old
> server, and NDISwrapped it (got an AIRPLUS_SYS.ko).
>
> When running wpa_supplicant -dd -indis0 -Dndis
> -c/etc/wpa_supplicant.conf, the system reboots after printing:
>
> --------------------------------------------------------
> 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='/var/run/wpa_supplicant'
> ctrl_interface_group=0 (from group name 'wheel')
> Line: 6 - start of a new network block
> ssid - hexdump_ascii(len=11):
> 47 4e 43 57 49 52 45 4c 45 53 53 GNCWIRELESS
> scan_ssid=1 (0x1)
> key_mgmt: 0x2
> PSK (ASCII passphrase) - hexdump_ascii(len=26): [REMOVED]
> PSK (from passphrase) - hexdump(len=32): [REMOVED]
> Priority group 0
> id=0 ssid='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=0
> EAPOL: External notification - portValid=0
> NDIS: 1 adapter names found
> NDIS: 1 adapter descriptions found
> NDIS: 0 - ndis0 - ndis0
> NDIS: Adapter description prefix 'ndis0'
> ndis_get_oid: oid=0xd010122 len (512) failed
> NDIS: verifying driver WPA capability
> NDIS: WPA key management supported
> NDIS: WPA-PSK key management supported
> ndis_set_oid: oid=0xd01011b 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=1
> ndis_get_oid: oid=0xd010101 len (6) failed
> My /etc/wpa_supplicant.conf:
>
> ctrl_interface=/var/run/wpa_supplicant
> ctrl_interface_group=wheel
> #
> # home network; allow all valid ciphers
> network={
> ssid="GNCWIRELESS"
> scan_ssid=1
> key_mgmt=WPA-PSK
> psk="**********************"
> }
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
--
http://www.fabiankeil.de/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQFEBYTXjV8GA4rMKUQRAhJdAJ46KS2jUkY4qLW05rPe8wJS2+7ycQCeLw8l
cpGxFN9tjTPWAZUbTIHlN8o=
=7UH/
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060301122608.451c88e4>
