Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2005 16:38:47 +0100
From:      Hans Nieser <h.nieser@xs4all.nl>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Switching wired <-> wireless in a user-friendly manner, possible?
Message-ID:  <4389D307.3040506@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 ;)

(oops, accidently sent this reply to freebsd-questions at first)

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?4389D307.3040506>