[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to switch between network interfaces?



Piers Kittel wrote:

> I have a HP Omnibook 500 laptop, with Debian 3.0r2 testing - and to
> access the internet/intranet, I use a WLAN card, but occasionally I plug
> it into the wired network to transfer big sized files, but each time I
> do that, I edit the interfaces file, comment out the wlan0 enteries,
> remove the comments commenting out the eth0 enteries then restart
> networking - isn't there an automatic way of doing that?

Have you tried ifup/ifdown? Leave both interfaces configured
in /etc/network/interfaces, but have neither one start automatically. Then
just use ifup/ifdown as needed.

Adam



Reply to: