public inbox for gentoo-laptop@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-laptop] Working configuration for using multiple WLAN APs
@ 2006-08-15 20:55 Marc Koschewski
  2006-08-15 22:27 ` Neil Isaac
  2006-08-16  9:20 ` [gentoo-laptop] " Vincent Bakker
  0 siblings, 2 replies; 6+ messages in thread
From: Marc Koschewski @ 2006-08-15 20:55 UTC (permalink / raw
  To: gentoo-laptop

Hi anyone,

I use several WLAN APs (at work, at home, at my girlfriend's home). All of them
use different SSIDs. I tried the config I found on the Gentoo Wiki and the ones
I found after some googling but none of them worked. Does anyone have a working
configuration for me to test? Any feedback is greatly appreciated.... thank you!

Marc Koschewski
-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] Working configuration for using multiple WLAN APs
  2006-08-15 20:55 [gentoo-laptop] Working configuration for using multiple WLAN APs Marc Koschewski
@ 2006-08-15 22:27 ` Neil Isaac
  2006-08-16 12:34   ` Marc Koschewski
  2006-08-16 12:52   ` Marc Koschewski
  2006-08-16  9:20 ` [gentoo-laptop] " Vincent Bakker
  1 sibling, 2 replies; 6+ messages in thread
From: Neil Isaac @ 2006-08-15 22:27 UTC (permalink / raw
  To: gentoo-laptop

On 8/15/06, Marc Koschewski <marc@osknowledge.org> wrote:
> Hi anyone,
>
> I use several WLAN APs (at work, at home, at my girlfriend's home). All of them
> use different SSIDs. I tried the config I found on the Gentoo Wiki and the ones
> I found after some googling but none of them worked. Does anyone have a working
> configuration for me to test? Any feedback is greatly appreciated.... thank you!

You should be able to do that by setting preferred_aps_eth1 and
key_SSIDNAME (for each essid if it needs a key) - so if you have one
AP called foo with a wep key 0123456789 and another called bar without
encryption, you should set /etc/conf.d/wireless something like this
(assuming your wireless device is eth1:

preferred_aps_eth1=("foo bar")
associate_order_eth1="any"
key_foo="0123456789 enc open"

more info in /etc/conf.d/wireless.example

You will have to restart /etc/init.d/net.eth1 every time you move from
one place to another though - but I would assume that you have it off
when you arrive so that should not be a major issue.

-- 
Neil Isaac
isaac.neil@gmail.com
-- 
gentoo-laptop@gentoo.org mailing list



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

* [gentoo-laptop] Re: Working configuration for using multiple WLAN APs
  2006-08-15 20:55 [gentoo-laptop] Working configuration for using multiple WLAN APs Marc Koschewski
  2006-08-15 22:27 ` Neil Isaac
@ 2006-08-16  9:20 ` Vincent Bakker
  1 sibling, 0 replies; 6+ messages in thread
From: Vincent Bakker @ 2006-08-16  9:20 UTC (permalink / raw
  To: gentoo-laptop

2006/8/15, Marc Koschewski <marc@osknowledge.org>:
> Hi anyone,
>
> I use several WLAN APs (at work, at home, at my girlfriend's home). All of
> them
> use different SSIDs. I tried the config I found on the Gentoo Wiki and the
> ones
> I found after some googling but none of them worked. Does anyone have a
> working
> configuration for me to test? Any feedback is greatly appreciated.... thank
> you!
>
You could try to use wpa_supplicant, which will search and associate
to AP automatically.
-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] Working configuration for using multiple WLAN APs
  2006-08-15 22:27 ` Neil Isaac
@ 2006-08-16 12:34   ` Marc Koschewski
  2006-08-16 12:52   ` Marc Koschewski
  1 sibling, 0 replies; 6+ messages in thread
From: Marc Koschewski @ 2006-08-16 12:34 UTC (permalink / raw
  To: gentoo-laptop

* Neil Isaac <isaac.neil@gmail.com> [2006-08-15 22:27:01 +0000]:

> On 8/15/06, Marc Koschewski <marc@osknowledge.org> wrote:
> >Hi anyone,
> >
> >I use several WLAN APs (at work, at home, at my girlfriend's home). All of them
> >use different SSIDs. I tried the config I found on the Gentoo Wiki and the ones
> >I found after some googling but none of them worked. Does anyone have a working
> >configuration for me to test? Any feedback is greatly appreciated.... thank you!
> 
> You should be able to do that by setting preferred_aps_eth1 and
> key_SSIDNAME (for each essid if it needs a key) - so if you have one
> AP called foo with a wep key 0123456789 and another called bar without
> encryption, you should set /etc/conf.d/wireless something like this
> (assuming your wireless device is eth1:
> 
> preferred_aps_eth1=("foo bar")
> associate_order_eth1="any"
> key_foo="0123456789 enc open"
> 

OK, I'll give this one a try. In the docs I read the syntax of the

preferred_aps_* = ()

stuff was 

preferred_aps_* = ( "my_wlan" "your_wlan" )

and not 

preferred_aps_* = ( "my_wlan your_wlan" )

> more info in /etc/conf.d/wireless.example
> 
> You will have to restart /etc/init.d/net.eth1 every time you move from
> one place to another though - but I would assume that you have it off
> when you arrive so that should not be a major issue.
> 
> -- 
> Neil Isaac
> isaac.neil@gmail.com
> -- 
> gentoo-laptop@gentoo.org mailing list
> 

-- 
Marc Koschewski
-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] Working configuration for using multiple WLAN APs
  2006-08-15 22:27 ` Neil Isaac
  2006-08-16 12:34   ` Marc Koschewski
@ 2006-08-16 12:52   ` Marc Koschewski
  2006-08-20 21:52     ` Manuel Rabade
  1 sibling, 1 reply; 6+ messages in thread
From: Marc Koschewski @ 2006-08-16 12:52 UTC (permalink / raw
  To: gentoo-laptop

* Neil Isaac <isaac.neil@gmail.com> [2006-08-15 22:27:01 +0000]:

> On 8/15/06, Marc Koschewski <marc@osknowledge.org> wrote:
> >Hi anyone,
> >
> >I use several WLAN APs (at work, at home, at my girlfriend's home). All of them
> >use different SSIDs. I tried the config I found on the Gentoo Wiki and the ones
> >I found after some googling but none of them worked. Does anyone have a working
> >configuration for me to test? Any feedback is greatly appreciated.... thank you!
> 
> You should be able to do that by setting preferred_aps_eth1 and
> key_SSIDNAME (for each essid if it needs a key) - so if you have one
> AP called foo with a wep key 0123456789 and another called bar without
> encryption, you should set /etc/conf.d/wireless something like this
> (assuming your wireless device is eth1:
> 
> preferred_aps_eth1=("foo bar")
> associate_order_eth1="any"
> key_foo="0123456789 enc open"

OK, I just checked it and it doesn't work as expected. Does anyone have a
working real-world configuration for me?

Thanks anyone,
Marc
-- 
gentoo-laptop@gentoo.org mailing list



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

* Re: [gentoo-laptop] Working configuration for using multiple WLAN APs
  2006-08-16 12:52   ` Marc Koschewski
@ 2006-08-20 21:52     ` Manuel Rabade
  0 siblings, 0 replies; 6+ messages in thread
From: Manuel Rabade @ 2006-08-20 21:52 UTC (permalink / raw
  To: gentoo-laptop

On Wed, 16 Aug 2006 14:52:08 +0200
Marc Koschewski <marc@osknowledge.org> wrote:

> * Neil Isaac <isaac.neil@gmail.com> [2006-08-15 22:27:01 +0000]:
> 
> > On 8/15/06, Marc Koschewski <marc@osknowledge.org> wrote:
> > >Hi anyone,
> > >
> > >I use several WLAN APs (at work, at home, at my girlfriend's
> > >home). All of them use different SSIDs. I tried the config I found
> > >on the Gentoo Wiki and the ones I found after some googling but
> > >none of them worked. Does anyone have a working configuration for
> > >me to test? Any feedback is greatly appreciated.... thank you!
> > 
> > You should be able to do that by setting preferred_aps_eth1 and
> > key_SSIDNAME (for each essid if it needs a key) - so if you have one
> > AP called foo with a wep key 0123456789 and another called bar
> > without encryption, you should set /etc/conf.d/wireless something
> > like this (assuming your wireless device is eth1:
> > 
> > preferred_aps_eth1=("foo bar")
> > associate_order_eth1="any"
> > key_foo="0123456789 enc open"
> 
> OK, I just checked it and it doesn't work as expected. Does anyone
> have a working real-world configuration for me?

config_eth1=( "dhcp" )

mode_eth1="auto"
associate_order_eth1="forceany"

adhoc_essid_eth1="mig_laptop"
config_mig_laptop=( "10.0.0.69 netmask 255.255.255.0" )

preferred_aps=( "ap1" "ap2" "atheros1" )
blacklist_aps=( "" )

# Map MAC to SSID in case they don't do SSID broadcast
essid_001495E1DF81="ap1"
essid_00026F34A80A="ap2"

# WEPS
key_ap1="AAAA-BBBB-CCCC-DDDD-EEEE-AA"
key_ap2="EEEE-DDDD-CCCC-BBBB-AAAA-EE"

# atheros1 don't have a DHCP :-(
config_atheros1=( "192.168.1.29 netmask 255.255.255.0" )
routes_atheros1=( "default via 192.168.1.254" )
dns_servers_atheros1=( "200.33.146.202" )

Everything is from /etc/conf.d/wireless.example.

Greetings.

-- 
Manuel Rabade
 WWW - http://rabade.net
-- 
gentoo-laptop@gentoo.org mailing list



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

end of thread, other threads:[~2006-08-20 21:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-15 20:55 [gentoo-laptop] Working configuration for using multiple WLAN APs Marc Koschewski
2006-08-15 22:27 ` Neil Isaac
2006-08-16 12:34   ` Marc Koschewski
2006-08-16 12:52   ` Marc Koschewski
2006-08-20 21:52     ` Manuel Rabade
2006-08-16  9:20 ` [gentoo-laptop] " Vincent Bakker

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