Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] can't get wpa_supplicant to work for wpa or wep!
Date: Wed, 02 May 2007 00:33:16
Message-Id: 1178065806.10518.63.camel@orpheus
1 Hi all,
2
3 I have to start using WPA-PSK, to replace my plain old WEP :) because
4 we've migrated at work.
5
6 I use wpa_supplicant via /etc/conf.d/net; net.wlan0 is symlinked to
7 net.lo; but the interface never comes up.
8
9 wpa_supplicant.conf reads:
10
11 network={
12 ssid="Xxxx"
13 scan_ssid=1
14 mode=0
15 proto=WPA
16 key_mgmt=WPA-PSK
17 auth_alg=OPEN
18 psk="xXxXxXx"
19 }
20
21 (of course the X's are real values, which I copied straight from a BSD
22 user's wpa_supplicant.conf file)
23
24 and conf.d/net reads
25
26 modules=( "ifconfig" )
27 config_eth0=( "172.16.0.52/24"
28 "10.1.0.52/8" )
29 routes_eth0=( "default via 172.16.0.4" )
30 metric="100"
31 modules=( "wpa_supplicant" )
32 wpa_supplicant_wlan0="-Dndiswrapper"
33 wpa_timeout_wlan0=60
34
35 when I run `/etc/init.d/net.wlan0 start` /var/log/messages shows:
36
37 May 2 09:49:56 orpheus sudo: iain : TTY=pts/0 ; PWD=/home/iain ; USER=root ; COMMAND=/etc/init.d/net.wlan0 start
38 May 2 09:49:59 orpheus ndiswrapper version 1.42 loaded (smp=yes)
39 May 2 09:49:59 orpheus ndiswrapper: driver bcmwl5a (Broadcom,04/09/2004, 3.40.69.0) loaded
40 May 2 09:49:59 orpheus ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 17 (level, low) -> IRQ 20
41 May 2 09:49:59 orpheus ndiswrapper: using IRQ 20
42 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
43 May 2 09:49:59 orpheus wlan0: encryption modes supported: WEP; TKIP with WPA; AES/CCMP with WPA
44 May 2 09:49:59 orpheus rc-scripts: ERROR: net.wlan0 is already starting.
45
46 I can connect perfectly using ndiswrapper, WEP, and not wpa_supplicant
47 from home. I can't connect using ndiswrapper with WEP via
48 wpa_supplicant at home.
49
50 On the command line I see:
51 $ sudo /etc/init.d/net.wlan0 start
52 * Caching service dependencies ... [ ok ]
53 * Starting wlan0
54 * Starting wpa_supplicant on wlan0 ... [ ok ]
55 * Starting wpa_cli on wlan0 ... [ ok ]
56 * Backgrounding ...
57 $
58
59 but then nothing happens, ever, to wlan0...
60
61 can someone give me some pointers here? google wasn't much help, nor
62 the wpa_supplicant website. Yet _without_ wpa_supplicant, I can connect
63 fine, so I know the card and ndiswrapper are working!
64
65 TIA,
66 --
67 Iain Buchanan <iaindb at netspace dot net dot au>
68
69 Workers of the world, arise! You have nothing to lose but your chairs.
70
71 --
72 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] can't get wpa_supplicant to work for wpa or wep! Fabio A Correa <facorread@×××××.com>