4 Replies Latest reply: May 7, 2012 9:43 PM by chaoflux
chaoflux Level 1 Level 1 (10 points)

Quick question, hopefully easy solution.


When I plug my TB Displays into my macbook pro, of which one of the TB displays has an ethernet cable connected from it to my airport base station, is there any way to automate it switching to using ethernet instead of wifi?  Currently, it continues to use the wifi connection unless I turn wifi off from the menubar - that's when the ethernet will kick in.  Often I forget, and only notice when files are transferring from my server considerably slower.

 

Thanks, Ron


Mac OS X (10.7.3)
  • X423424X Level 6 Level 6 (14,205 points)

    If you are doing these operations by opening system preferences and changing the network settings, then you could write a GUI applescript for automator and make a service for the switching. 

     

    There may be other ways, for example, a shell script to change the network settings.

     

    These are the first methods that came to my mind.  But don't ask me to tell you how to do it.

  • AbsoluteComputers Level 2 Level 2 (205 points)

    Easy, just go to Network Preferences whist connected via Display Ethernet and click the small triangle at the bottom, and select 'Set Service Order…' then drag the Display Ethernet to the top.


    Now when you're plugged in via your TB screen, it will pick Ethernet first, and will switch to Wi-Fi when on the road.

     

    Bear in mind, your Wi-Fi will still be connected but for the most part will be ignored as the Mac will use the Ethernet first and only use Wi-Fi if you have a different route table setup, which is unlikley given that you are plugged in directly to the Airport

  • chaoflux Level 1 Level 1 (10 points)

    Excellent, thank you....  I'm visiting San Diego until Monday but will try it as soon as I get home to Portland.

  • chaoflux Level 1 Level 1 (10 points)

    Yeah, appears to be working out great, thanks again man.