5

I would like my WiFi to automatically disconnect when I plug an Ethernet cable into my Mac. How would I go about this?

  • Could you put some more effort into describing "Cable" and how you have things set up? Ethernet, Cable Modem, some other cable? OS X handles multiple network interfaces without any intervention so it's not clear what you are even trying to accomplish. – bmike Sep 19 '12 at 15:22
  • Cable ethernet, i mean! – stighy Sep 19 '12 at 15:34
  • Do you want to have the entire WiFi system turn off when you connect the Ethernet cable? Also: I edited your question. Is it still correct? – CajunLuke Sep 19 '12 at 17:34
  • The question makes a lot of sense to me: how to turn off the wifi radio when going on to ethernet. There are a lot of busy office wifi environments where it'd be beneficial. – Dogweather Oct 7 '13 at 18:00
  • 2
    Any way to do this on 10.9 and up? Service order has no effect on my machine. Some operations still default to to WiFi. – Dan Mar 27 '15 at 21:19
5

If you have somehow modified the default service ordering, you can set it again in the network tab using the gear.

This makes the Wi-Fi inactive for internet routing whenever you connect the cable. What you ask is scriptable if you know some programming, but there isn't a simple trigger to actually turn the Wi-Fi radio off at the user level of the OS.

0

This script on MacOSXHints worked for me up until installing Mavericks (10.9.0) on a new Late 2013 MBP retina 15" - but it did work quite well on my previous two non-retina MBPs before that.

Note that you may need to edit the script to use your correct interface numbers (ie en1).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .