wpa supplicant fails to start

Martin Smith martinsm at gn.apc.org
Sat May 16 11:01:04 UTC 2009


Paul B. Mahol wrote:
> On 5/15/09, Martin Smith <martinsm at gn.apc.org> wrote:
>> >From dmesg:
>> May 15 13:38:32 lp2 kernel: ath0: <Atheros 2417> mem 0x88000000-0x8800ffff
>> irq 11 at device 0.0 on cardbus0
>> May 15 13:38:32 lp2 kernel: ath0: [ITHREAD]
>> May 15 13:38:32 lp2 kernel: ath0: AR2417 mac 15.0 RF5424 phy 7.0
>>
>> My wpa_supplicant.conf:
>> ctrl_interface=/var/run/wpa_supplicant
>> ctrl_interface_group=wheel
>> network={
>>   ssid="myssid"
>>   scan_ssid=1
>>   key_mgmt=WPA-PSK
>>   psk="my wpa secret"
>> }
>>
>> I have put this together using both the handbook and the
>> wpa_supplicant.conf man page, do I need to add anything else?
>>
>> I get this error:
>> lp2# wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf
>> ioctl[SIOCG80211, op 98, len 32]: Invalid argument
>> Failed to initialize driver interface
>> ELOOP: remaining socket: sock=4 eloop_data=0x28406140 user_data=0x2840d040
>> handler=0x8069f50
>>
>> I obviously have something wrong, can anyone point me in the right
>> direction.
>>
>> System is current as of yesterday rebuilt.
> 
> You mean CURRENT?, in that case you should use wlan0 and not ath0.

Tried that too, just get Failed to onitialize the driver interface.
I also tried making an Ndis module, it recognises the card when loaded
but the I get a kernel panic and everything grinds to a halt.

> 
>> Card is TP-Link TL-WN310G
>> Machine is a Thinkpad X23
>>

-- 
Martin


More information about the freebsd-mobile mailing list