10
4
I have a Macbook Pro with Snow Leopard, any way to do this?
10
4
I have a Macbook Pro with Snow Leopard, any way to do this?
22
Depending on your reason for turning off the Airport card (as in use the wired connection instead of the wireless when it's plugged in) you may not even need to turn off the Airport card.
If you go to the Network Preference Pane in System Preferences it's possible to set a Service Order so that when one is active it takes precedence over others. For example in the following screenshot I always use a wired connection first if it's available otherwise it would then fall back to my Airport network. My iPhone is the last on the list for the connections (Bluetooth DUN and FireWire aren't used in my case).
7
Maybe too much overhead, but Marco Polo is a nice application that lets you turn off/on various settings/devices depending on various factors (context aware). I have not tested it, but maybe you can create a rule that turns off the AirPort when an Ethernet cable is connected.
However, it is no longer supported by the author. As of August 2013, the author recommends looking into ControlPlane
Another vote for ControlPlane – cavalcade – 2015-02-26T04:43:20.883
This is just perfect, does exactly what I wanted, and much more powerful then NetworkLocation. And yes, you can create a rule that turns off airport when ethernet is connected - I even narrowed it down to ethernet + specific IP range in use. – snowcrash09 – 2010-04-20T09:37:54.360
1
Within the OS you can create multiple locations in Network System Preferences, one with Airport enabled and one with it disabled. In Keyboard and Mouse you can then assign keyboard shortcuts based on the location names, as they are found under Apple menu --> Location.
NetworkLocation should be able to automate this.
+1 for something I didn't know about. See also "Using network locations in Mac OS X" at http://support.apple.com/kb/HT2712
– Chris W. Rea – 2010-01-24T22:26:18.083
Very cool. Now I can just leave tethering on all the time. – mmacaulay – 2010-04-08T17:01:26.480
Thank you for solving the problem instead of just answering the question. – Wojtek Kruszewski – 2012-11-15T08:30:04.630
3Btw, "Set Service Order" is hidden underneath the "gear" icon on the lower left (I know I didn't find it right away). – Jaime Cham – 2013-04-15T02:40:24.893
1this does not turn off the wifi. is there a way to turn it off and on depending on ethernet connection? – shorif2000 – 2014-03-12T15:02:59.407
@sharif You might want to look at the other answers for this question: crankd, ControlPlane and NetworkLocation are all things worth looking at. – Chealion – 2014-03-13T16:06:43.990