[ltp] Dial Up, Dsl, & Wifi Connection

SOTL linux-thinkpad@linux-thinkpad.org
Wed, 15 Dec 2004 16:45:35 -0500


Hi James

Thanks for the scripts.

I have been looking all over the net for usernet the program that handled this 
in RH before RH 8.0 but I have yet to find the source code. The last known 
file is usernet-1.0.9-2

Thanks again 
Frank

> > I would appreciate a copy your script and description [short] of what it
> > does.
> >
> > Frank
>
> Here's the one that stops ethernet and starts WiFi
>
> /sbin/ifdown eth-id-00:00:e2:8a:26:aa
> /sbin/ifup wlan-id-00:20:e0:8a:a6:ce
>
> And the one that stops WiFi and starts ethernet
>
> /sbin/ifdown wlan-id-00:20:e0:8a:a6:ce
> /sbin/ifup eth-id-00:00:e2:8a:26:aa
>
> As I said, they're very simple.
> I use the full NIC ID, as there's no guarantee that ethernet will always
> be eth1 etc.