From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hj2mR-0001Jn-Pc for garchives@archives.gentoo.org; Wed, 02 May 2007 00:33:16 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l420W4LC017249; Wed, 2 May 2007 00:32:04 GMT Received: from mail.netspace.net.au (mail-out1.netspace.net.au [203.10.110.71]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l420RvEO012543 for ; Wed, 2 May 2007 00:27:58 GMT Received: from [172.16.0.52] (ppp246-231.static.internode.on.net [203.122.246.231]) by mail.netspace.net.au (Postfix) with ESMTP id C3832439EC for ; Wed, 2 May 2007 10:27:53 +1000 (EST) Subject: [gentoo-user] can't get wpa_supplicant to work for wpa or wep! From: Iain Buchanan To: gentoo-user@lists.gentoo.org Content-Type: text/plain Date: Wed, 02 May 2007 10:00:06 +0930 Message-Id: <1178065806.10518.63.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 099e54fc-4d03-4fc6-8155-3d567a5ff39d X-Archives-Hash: 1ce4b7d725a3afc1b8c1f450934b1340 Hi all, I have to start using WPA-PSK, to replace my plain old WEP :) because we've migrated at work. I use wpa_supplicant via /etc/conf.d/net; net.wlan0 is symlinked to net.lo; but the interface never comes up. wpa_supplicant.conf reads: network={ ssid="Xxxx" scan_ssid=1 mode=0 proto=WPA key_mgmt=WPA-PSK auth_alg=OPEN psk="xXxXxXx" } (of course the X's are real values, which I copied straight from a BSD user's wpa_supplicant.conf file) and conf.d/net reads modules=( "ifconfig" ) config_eth0=( "172.16.0.52/24" "10.1.0.52/8" ) routes_eth0=( "default via 172.16.0.4" ) metric="100" modules=( "wpa_supplicant" ) wpa_supplicant_wlan0="-Dndiswrapper" wpa_timeout_wlan0=60 when I run `/etc/init.d/net.wlan0 start` /var/log/messages shows: May 2 09:49:56 orpheus sudo: iain : TTY=pts/0 ; PWD=/home/iain ; USER=root ; COMMAND=/etc/init.d/net.wlan0 start May 2 09:49:59 orpheus ndiswrapper version 1.42 loaded (smp=yes) May 2 09:49:59 orpheus ndiswrapper: driver bcmwl5a (Broadcom,04/09/2004, 3.40.69.0) loaded May 2 09:49:59 orpheus ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 17 (level, low) -> IRQ 20 May 2 09:49:59 orpheus ndiswrapper: using IRQ 20 May 2 09:49:59 orpheus wlan0: ethernet device 00:90:4b:78:57:7c using NDIS driver: bcmwl5a, version: 0x50000, NDIS version: 0x500, vendor: '', 14E4:4320.5.conf May 2 09:49:59 orpheus wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA May 2 09:49:59 orpheus rc-scripts: ERROR: net.wlan0 is already starting. I can connect perfectly using ndiswrapper, WEP, and not wpa_supplicant from home. I can't connect using ndiswrapper with WEP via wpa_supplicant at home. On the command line I see: $ sudo /etc/init.d/net.wlan0 start * Caching service dependencies ... [ ok ] * Starting wlan0 * Starting wpa_supplicant on wlan0 ... [ ok ] * Starting wpa_cli on wlan0 ... [ ok ] * Backgrounding ... $ but then nothing happens, ever, to wlan0... can someone give me some pointers here? google wasn't much help, nor the wpa_supplicant website. Yet _without_ wpa_supplicant, I can connect fine, so I know the card and ndiswrapper are working! TIA, -- Iain Buchanan Workers of the world, arise! You have nothing to lose but your chairs. -- gentoo-user@gentoo.org mailing list