What's the best way to automatically disable my Wifi/wireless connection whenever I plug in a wired Ethernet cable? I'd like it to be re-enabled when I later unplug the wire.
Also, I sometimes like to share the wired connection with other wireless users (or vice-versa). It'd be nice if I could somehow exempt these setups.
I'm using 11.10 Oneiric, which uses NetworkManager.