[ltp] ideal network auto detection

Jeffrey Taylor linux-thinkpad@linux-thinkpad.org
Fri, 30 Jul 2004 10:06:47 -0500


Quoting Brad Langhorst <brad@langhorst.com>:
> Here's what I want my networking logic to look like:
> 
> If ethernet is plugged in and can lease an address 
> use it and disable the wlan interface.
> Otherwise look for wifi networks that are on my list of approved
> networks and associate to the one with the best signal.
> 

The whereami package on Debian can be programmed to do this.  I don't
know how portable it is.  I didn't have wireless on that laptop, but
the rest of it was just about like you described.  Worked beautifully.

HTH,
  Jeffrey