How to automatically disconnect from a wireless network, when connected to the Internet over ethernet?

1

1

I have a Retina MacBook Pro, that connects to a wireless network at work for intra- and internet access. I also regularly plug in an ethernet cable to access the same network. In my Network preferences I've ordered the USB Ethernet connection above the Wi-Fi connection, so my computer should prefer the ethernet connection. However it still connects to the wireless network, burdening our wireless router for no reason.

How do I configure my Mac to automatically disconnect from the wireless network, when it's connected to the Internet over an ethernet connection?

Related: Is there a way to stop my Windows 7 laptop from connecting to the Wi-Fi if the ethernet cord is plugged in?

SteveK

Posted 2013-09-10T22:45:27.397

Reputation: 696

1Does the MAC BIOS / UEFI not have an option for this? On Dell its under power, HP I think its called auto WLAN/LAN but with Apple its probably in display or some other counter-intuitive place (sarcasm, yes... but only lightly) – Austin T French – 2013-09-10T23:34:00.980

Sounds like Macs use EFI, but I can't even tell how to get into the setup menu for it without downloading a program like rEFIt. I read a forum post somewhere about a key combination involving Opt, Cmd, F and O... O_o – SteveK – 2013-09-29T03:00:27.510

Answers

1

Head over to this page. A guy by the name of heatxsink made a pretty handy script that will toggle your wifi on or off depending on the status of your ethernet connection.

You can add your own growl notifications pretty easily if you want. Also make sure to follow every step precisely as the script relies on filenames and locations of the files.

Other options: You can try out ControlPlane. It seems promising to fill your need for automation.

masterninja01

Posted 2013-09-10T22:45:27.397

Reputation: 198