Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2005 14:59:24 +0100
From:      Hans Nieser <h.nieser@xs4all.nl>
To:        AT Matik <asstec@matik.com.br>, james@icionline.ca, kjelderg@gmail.com, freebsd-questions@freebsd.org
Subject:   Re: Switching wired <-> wireless in a user-friendly manner, possible?
Message-ID:  <4389BBBC.7000203@xs4all.nl>
In-Reply-To: <200511270036.52845.asstec@matik.com.br>
References:  <4388B53F.9020905@nieser.net> <200511270036.52845.asstec@matik.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
AT Matik wrote:

> may be you like what I do
> 
> i have DHCP for my nic in rc.conf
> 
> when my eth is up (sis0 in my case)  nothing happens as getting the config 
> from the dhcp server
> 
> else I call a script to configure my wireless connection (/etc/start-wif)
> 
> so you may check running this in crontab as I understand you unplug the cable 
> and run around ;)

Thanks for the replies everyone. I think I am going to try and do 
something with devd.conf first. I'm going through the /etc/rc.d/netif, 
/etc/network.subr scripts at the moment so I can get a clear picture of 
how exactly FreeBSD (6.0 is what I'm using) sets up interfaces at boot, to 
prevent myself from screwing anything up ;)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4389BBBC.7000203>