Gentoo Archives: gentoo-laptop

From: Manuel Rabade <manuel@××××××.net>
To: gentoo-laptop@l.g.o
Subject: Re: [gentoo-laptop] Working configuration for using multiple WLAN APs
Date: Sun, 20 Aug 2006 21:53:59
Message-Id: 20060820165230.40117a06@laptop.rabade.net
In Reply to: Re: [gentoo-laptop] Working configuration for using multiple WLAN APs by Marc Koschewski
1 On Wed, 16 Aug 2006 14:52:08 +0200
2 Marc Koschewski <marc@×××××××××××.org> wrote:
3
4 > * Neil Isaac <isaac.neil@×××××.com> [2006-08-15 22:27:01 +0000]:
5 >
6 > > On 8/15/06, Marc Koschewski <marc@×××××××××××.org> wrote:
7 > > >Hi anyone,
8 > > >
9 > > >I use several WLAN APs (at work, at home, at my girlfriend's
10 > > >home). All of them use different SSIDs. I tried the config I found
11 > > >on the Gentoo Wiki and the ones I found after some googling but
12 > > >none of them worked. Does anyone have a working configuration for
13 > > >me to test? Any feedback is greatly appreciated.... thank you!
14 > >
15 > > You should be able to do that by setting preferred_aps_eth1 and
16 > > key_SSIDNAME (for each essid if it needs a key) - so if you have one
17 > > AP called foo with a wep key 0123456789 and another called bar
18 > > without encryption, you should set /etc/conf.d/wireless something
19 > > like this (assuming your wireless device is eth1:
20 > >
21 > > preferred_aps_eth1=("foo bar")
22 > > associate_order_eth1="any"
23 > > key_foo="0123456789 enc open"
24 >
25 > OK, I just checked it and it doesn't work as expected. Does anyone
26 > have a working real-world configuration for me?
27
28 config_eth1=( "dhcp" )
29
30 mode_eth1="auto"
31 associate_order_eth1="forceany"
32
33 adhoc_essid_eth1="mig_laptop"
34 config_mig_laptop=( "10.0.0.69 netmask 255.255.255.0" )
35
36 preferred_aps=( "ap1" "ap2" "atheros1" )
37 blacklist_aps=( "" )
38
39 # Map MAC to SSID in case they don't do SSID broadcast
40 essid_001495E1DF81="ap1"
41 essid_00026F34A80A="ap2"
42
43 # WEPS
44 key_ap1="AAAA-BBBB-CCCC-DDDD-EEEE-AA"
45 key_ap2="EEEE-DDDD-CCCC-BBBB-AAAA-EE"
46
47 # atheros1 don't have a DHCP :-(
48 config_atheros1=( "192.168.1.29 netmask 255.255.255.0" )
49 routes_atheros1=( "default via 192.168.1.254" )
50 dns_servers_atheros1=( "200.33.146.202" )
51
52 Everything is from /etc/conf.d/wireless.example.
53
54 Greetings.
55
56 --
57 Manuel Rabade
58 WWW - http://rabade.net
59 --
60 gentoo-laptop@g.o mailing list