How do I turn off WLAN automatically when LAN is connected?

Posted by derroman on Ask Ubuntu See other posts from Ask Ubuntu or by derroman
Published on 2011-08-02T16:46:20Z Indexed on 2013/11/11 4:14 UTC
Read the original article Hit count: 158

Filed under:
|
|
|
|

I use my Thinkpad laptop with a docking station. The docking station is connected to my router via LAN. When I walk around the house I use my laptop with WLAN.

Is it possible (and how) to manage these devices with a script or something to work like this:

If a LAN-Connection is up, the OS should turn off Wifi and if LAN-Connection gets lost (undocking) Wifi should turn on automatically.

I use Ubuntu 11.04 64bit with Gnome 2. The system works on an Lenovo ThinkPad R500 with.

WLAN-Device: Intel Corporation PRO/Wireless 5100 AGN [Shiloh] LAN-Device: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)

Any help would be appreciated. Thanks.

© Ask Ubuntu or respective owner

Related posts about 11.04

Related posts about networking