public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] can't get wpa_supplicant to work for wpa or wep!
@ 2007-05-02  0:30 Iain Buchanan
  2007-05-02  1:45 ` Fabio A Correa
  0 siblings, 1 reply; 3+ messages in thread
From: Iain Buchanan @ 2007-05-02  0:30 UTC (permalink / raw
  To: gentoo-user

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 <iaindb at netspace dot net dot au>

Workers of the world, arise!  You have nothing to lose but your chairs.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-02  4:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-02  0:30 [gentoo-user] can't get wpa_supplicant to work for wpa or wep! Iain Buchanan
2007-05-02  1:45 ` Fabio A Correa
2007-05-02  4:34   ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox