Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] wpa_supplicant "master" mode
Date: Thu, 11 May 2006 22:26:09
Message-Id: 49bf44f10605111508v641906ddt7dd20a3964338cbb@mail.gmail.com
1 Has anyone gotten "master" mode to work with wpa_supplicant? I'm
2 trying to use wpa_supplicant on my wireless Gentoo router for WPA
3 encryption. The farthest I've gotten is with the following
4 wpa_supplicant.conf:
5
6 ###
7 ctrl_interface=/var/run/wpa_supplicant
8 ctrl_interface_group=0
9 ap_scan=2
10
11 network={
12 ssid="mynetwork"
13 mode=1
14 proto=WPA
15 key_mgmt=WPA-NONE
16 pairwise=NONE
17 group=TKIP
18 psk="mypassword"
19 }
20 ###
21
22 and the following /etc/conf.d/net:
23
24 ###
25 config_ath0="192.168.0.1 broadcast 192.168.0.255 netmask 255.255.255.0"
26 modules_ath0="wpa_supplicant"
27 wpa_supplicant_ath0="-Dmadwifi"
28 ###
29
30 Starting net.ath0 returns:
31
32 ###
33 * Starting ath0
34 * Starting wpa_supplicant on ath0 ... [ ok ]
35 * ath0 connected to "mynetwork" at 00:00:00:00:00:00
36 * Bringing up ath0
37 * 192.168.0.1 [ ok ]
38 ###
39
40 Subsequent 'iwlist ath0 scanning' from my laptop do not show
41 'mynetwork' and trying to connect to it just times out.
42
43 WEP via iwconfig is working great. Is there a better way to set WPA
44 encryption on my Gentoo router?
45
46 - Grant
47
48 --
49 gentoo-user@g.o mailing list