Date: Mon, 28 Nov 2005 21:56:28 -0800 From: "Kevin Oberman" <oberman@es.net> To: AT Matik <asstec@matik.com.br> Cc: freebsd-mobile@freebsd.org Subject: Re: Switching wired <-> wireless in a user-friendly manner, possible? Message-ID: <20051129055628.D11A45D04@ptavv.es.net> In-Reply-To: Your message of "Sun, 27 Nov 2005 00:36:52 -0200." <200511270036.52845.asstec@matik.com.br>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: AT Matik <asstec@matik.com.br> > Date: Sun, 27 Nov 2005 00:36:52 -0200 > Sender: owner-freebsd-mobile@freebsd.org > > On Saturday 26 November 2005 17:19, Hans Nieser wrote: > > > > I am guessing that what needs to happen is, as soon as fxp0 becomes > > inactive, the default route needs to be updated so it will route over the > > ipw0 interface. What is the best way to accomplish this? Do I have to > > write a shellscript that continiously checks for fxp0's status and then > > somehow update the default route, or are there facilities available for > > this? _______________________________________________ > > > yep, you got it ;) > > 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 ;) Seems like using LINK_DOWN in a notify with devd would be far faster and have much less overhead than cron. (Yes, it looks like LINK_DOWN is valid.) -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051129055628.D11A45D04>