[ltp] Dial Up, Dsl, & Wifi Connection

James Knott linux-thinkpad@linux-thinkpad.org
Tue, 14 Dec 2004 16:45:47 -0500


Cougar wrote:
> On Tue, 14 Dec 2004, James Knott wrote:
> 
> 
>>Eben King wrote:
>>
>>>On Tue, 14 Dec 2004, Stefan Kreisberg wrote:
>>>
>>>
>>>
>>>>Tirsdag den 14. december 2004 21:45 skrev James Knott:
>>>>
>>>>
>>>>
>>>>>SOTL wrote:
>>>>>
>>>>>
>>>>>>Any way to configure the system or a profile such that Linux
>>>>>>acts like
>>>>>>that !@#$% called Microsoft does. That is where you connect to
>>>>>>any one of
>>>>>>the three DSL, WiFi, or modem without switching profiles.
>>>>>
>>>>>I wrote a pair of scripts, that shut down ethernet and start wifi,
>>>>>as
>>>>>well as the reverse.  I also have another pair, that do the same
>>>>>for dial
>>>>>up
>>>
>>>
>>>>I for one wouldn't complain if you'd post them here :-D
>>>
>>>
>>>But I don't see why you'd have to take down the interface of the one you
>>>don't want, instead of setting the one you want as the default gateway.
>>>
>>
>>I suppose I could have, but it just seemed simpler, to turn off any unused
>>interfaces.
> 
> 
> And why is this better than scpm where you just have to start
> 'scpm switch newprofile' and you are done. If there are different network 
> configs in different profiles then it does 'rcnetwork stop' with old one 
> and 'rcnetwork start' with new profile.

I have found that scripts are faster than profiles.