From owner-freebsd-mobile@FreeBSD.ORG Fri May 15 22:27:46 2009 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F7B0106564A for ; Fri, 15 May 2009 22:27:46 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id EFFDC8FC20 for ; Fri, 15 May 2009 22:27:45 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by bwz9 with SMTP id 9so2158192bwz.43 for ; Fri, 15 May 2009 15:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=xTM0dYV6X5i8BSUzjlbO9IlDZkf5Iw1rqBfQTFK1o6Q=; b=GCFCs3/u9XVkGSqfs8BytRA5dp2g/oReaJ7Wn1N1vf20QxQeLj3BeROZIdvv5E46S4 Yekx4TldMhlWX9SaCdhb7x4Fh5Dpan65N71wGqjdxIjkipme2QaNwihitn4z+wDmjfQ3 KmkG7uONIx3dRPaw5/yHmEgZUtEe4EQVq7qmg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=iRwfBCnSOGsxn6Uvy+dFbyFZ67s1whNf/d+6JCXSjcUBxXewV5flacHdX+bQzHvTYw iROY67jgMC8Lp3y+FoDp4pbNnrY0xzUY1Lod0vKZhTAb1JCLbO0p8mfs8RNfCLwzIVMl QPkCDpnB4M59CcAPTuJB70rCqLCCqJDfdIocU= MIME-Version: 1.0 Received: by 10.204.59.76 with SMTP id k12mr3791391bkh.136.1242426464607; Fri, 15 May 2009 15:27:44 -0700 (PDT) In-Reply-To: <49281.80.177.154.53.1242394038.squirrel@sqmail.gn.apc.org> References: <49281.80.177.154.53.1242394038.squirrel@sqmail.gn.apc.org> Date: Sat, 16 May 2009 00:27:44 +0200 Message-ID: <3a142e750905151527t4ea63b10tda532c73f0969a72@mail.gmail.com> From: "Paul B. Mahol" To: Martin Smith Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-mobile@freebsd.org Subject: Re: wpa supplicant fails to start X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2009 22:27:46 -0000 On 5/15/09, Martin Smith wrote: > >From dmesg: > May 15 13:38:32 lp2 kernel: ath0: 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 metric 0 mtu 1500 > options=2009 > ether 00:d0:59:b5:a2:0c > inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=3 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > ath0: flags=8802 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 > > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" > -- Paul