Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 May 2009 14:27:18 +0100 (BST)
From:      "Martin Smith" <martinsm@gn.apc.org>
To:        freebsd-mobile@freebsd.org
Subject:   wpa supplicant fails to start
Message-ID:  <49281.80.177.154.53.1242394038.squirrel@sqmail.gn.apc.org>

next in thread | raw e-mail | index | archive | help
>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.
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




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