Switch between ethernet and wifi?



I hope this is not one FAQ.

I have one notebook, with tho interfaces: ethernet and wifi.

I can plug and unplug the ethernet cable, of course!
And I can turn on and off the wi-fi with a switch.

I have no DHCP on my network.

How can I simply switch between:

- ethernet plugged, wi-fi off
- ethernet unplugged, wi-fi on


I did not manage to achieve this without manually editing
/etc/network/interface

I'm sure something is wrong, either how I do it, or what I want to do.

Anyway, any advice would be appreciated

Thanks in advance

Salutations

Matt


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