Re: wpa supplicant fails to start
"Paul B. Mahol" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
On 5/15/09, Martin Smith <[email protected]> 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. > Card is TP-Link TL-WN310G > Machine is a Thinkpad X23 > > lp2# ifconfig -a > fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=2009<RXCSUM,VLAN_MTU,WOL_MAGIC> > ether 00:d0:59:b5:a2:0c > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > options=3<RXCSUM,TXCSUM> > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290 > ether 00:23:cd:c5:c3:c9 > media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) > status: no carrier > > Thanks for any pointers > > > > > -- > Martin > > _______________________________________________ > [email protected] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "[email protected]" > -- Paul _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"