From owner-freebsd-mobile@FreeBSD.ORG Sat May 16 19:31:20 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 32D9D106564A for ; Sat, 16 May 2009 19:31:20 +0000 (UTC) (envelope-from martinsm@gn.apc.org) Received: from anchor-post-1.mail.demon.net (anchor-post-1.mail.demon.net [195.173.77.132]) by mx1.freebsd.org (Postfix) with ESMTP id EF3A58FC18 for ; Sat, 16 May 2009 19:31:19 +0000 (UTC) (envelope-from martinsm@gn.apc.org) Received: from rakuman.demon.co.uk ([80.177.154.53] helo=rakuba.rakupottery.org.uk) by anchor-post-1.mail.demon.net with esmtp (Exim 4.69) id 1M5PbL-0007Du-gB for freebsd-mobile@freebsd.org; Sat, 16 May 2009 19:31:19 +0000 Message-ID: <4A0F147F.1080405@gn.apc.org> Date: Sat, 16 May 2009 20:31:11 +0100 From: Martin Smith User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: freebsd-mobile@freebsd.org References: <49281.80.177.154.53.1242394038.squirrel@sqmail.gn.apc.org> <3a142e750905151527t4ea63b10tda532c73f0969a72@mail.gmail.com> <4A0E9592.1010400@gn.apc.org> <3a142e750905160457l10a35d31qb79d360129fe0d36@mail.gmail.com> In-Reply-To: <3a142e750905160457l10a35d31qb79d360129fe0d36@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 16 May 2009 19:31:20 -0000 Paul B. Mahol wrote: > On 5/16/09, Martin Smith wrote: >> Paul B. Mahol wrote: >>> 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. >> 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. > > You will need to be more specific what you did and what you didn't. > > What FreeeBSD version are you using? > > If kernel paniced than it would be very helpfull to provide > backtrace and exact way how to reproduce it. I will do that and post results in a day or so, thanks. -- Martin