automatic client configuration

Roy Marples uberlord at gentoo.org
Fri May 20 12:51:27 EDT 2005


On Fri, 2005-05-20 at 16:18 +0200, Frank Thieme wrote:
> On Wed, May 18, 2005 at 03:23:20PM +0200, Frank Thieme wrote:
> > On Sun, May 15, 2005 at 10:47:27PM +0200, Frank Thieme wrote:
> > > I used wlan-ng for a long time now. The feature I really loved is that I
> > > know how to configure the things each ap I want be attached to wants and
> > > I can just go to the ap, switch my notebook on and I get all the
> > > different configurations automatically.
> > 
> > ok, I played around a bit. I found out that all the WEP/WPA thing can be
> > done with wpa_supplicant. 
> > 
> > But how do I set ip addresses, default routes, name server and so on
> > specific to the network I'm in?
> > 
> > I mean network.opts is not checked if wpa_supplicant is started, is it?
> 
> Can't believe there is nobody here using hostap_cs on a laptop with
> different wlans.
> 
> I'm still looking for a solution...

Gentoo's baselayout-1.11.12-r1 (currently ~ARCH - means unstable but
available) supports this

config_essid=( "192.168.0.2/24" )
routes_essid=( "default via 192.168.0.1" )

dns_domain_essid="whatever.com"
dns_servers_essid=( "192.168.0.1" "192.168.0.20" )
dns_search_domains_essid="domain2.com domain3.net"

config_anotheressid=( "dhcp" )

The only downside is that you need to use Gentoo!

HTH

Roy




More information about the HostAP mailing list