Re: Switching wired <-> wireless in a user-friendly manner, possible?
"Kevin Oberman" <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.mobile |
|---|---|
| Message-ID | <[email protected]> |
> From: AT Matik <[email protected]> > Date: Sun, 27 Nov 2005 00:36:52 -0200 > Sender: [email protected] > > 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: [email protected] Phone: +1 510 486-8634 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mobile To unsubscribe, send any mail to "[email protected]"