Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2009 11:29:38 +0100
From:      Martin Smith <martinsm@gn.apc.org>
To:        freebsd-mobile@freebsd.org
Subject:   Re: wpa supplicant fails to start
Message-ID:  <4A0E9592.1010400@gn.apc.org>
In-Reply-To: <3a142e750905151527t4ea63b10tda532c73f0969a72@mail.gmail.com>
References:  <49281.80.177.154.53.1242394038.squirrel@sqmail.gn.apc.org> <3a142e750905151527t4ea63b10tda532c73f0969a72@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Paul B. Mahol wrote:
> On 5/15/09, Martin Smith <martinsm@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A0E9592.1010400>