Results 1 to 9 of 9
  1. #1
    Automatic wi-fi disabling

    Member Since
    Jun 27, 2013
    Posts
    3
    Automatic wi-fi disabling
    Hi

    I'm trying to see if on OSX it's possible to automatically disable wi-fi when an Ethernet cable is attached to the device. We don't want users connecting to open Wi-Fi networks when connected to the corporate LAN. I know how to do it in Windows (latest NIC drivers support it) but can't find anything about it in OSX.

    Any help gratefully received

  2. #2
    Automatic wi-fi disabling
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,183
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    While you can't disable the WiFi on the existence of the Ethernet cable, you can set the service order to give the Ethernet connection a higher priority.

    Open up System Perferences->Network and you will see a list of network devices on the left. Click on the gear icon there a a drop-down will appear. From the drop-down, chose "Set Service Order", and in the window that will appear, drag Ethernet to be the first one and then WiFi.

    Additionally, for the Wifi, click on Advanced and the first tab is your preferred networks. Set the order like you want and then if you want to further lock this down, you can check on the option "Change network" under the title "Require administrator authorization to:"

    When you're all done, hit the padlock icon to lock the settings and off you go..
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  3. #3
    Automatic wi-fi disabling
    IWT's Avatar
    Member Since
    Jan 23, 2009
    Location
    Born in Scotland, Worked in Scotland then England, Now live in Wales
    Posts
    889
    Specs:
    2010 27" iMac 16GB RAM, SSD & 1TB IHD (Mavericks) + 2013 27" iMac Fusion SSD & 3TB IHD, 32GB (Maver
    Ashwin has forgotten more than I will ever know, so I offer this with some trepidation.

    With Ethernet connected, you can click on the WiFi icon on the top Menu Bar and, from the drop down, choose "Turn WiFi on" or "Turn WiFi off".

    Via System Preferences>Network, in addition to setting the order (in your case Ethernet as first choice), you can again Turn off the WiFi.

    Ian

  4. #4
    Automatic wi-fi disabling

    Member Since
    Jun 27, 2013
    Posts
    3
    Thanks for that - I really needed to stop the users being able to turn it on when connected to the corporate network (we have regulatory requirements - PCI). Looks as though Ashwin's is the way I'm going to have to go.

  5. #5
    Automatic wi-fi disabling

    Member Since
    Jun 27, 2013
    Posts
    3
    Ashwin

    Thanks for that - not ideal but it'll have to do. AS, in Windows, it the driver for the Ethernet card that does the work, I hope they may port that functionality over to OSX,

  6. #6
    Automatic wi-fi disabling
    mrplow's Avatar
    Member Since
    Oct 01, 2007
    Location
    UK
    Posts
    6,759
    Specs:
    27" iMac i7 (2011) 10.10, iPhone6, iPad Air 2, AppleTV2
    It's an older article but this is worth a look:

    Auto-disable AirPort when ethernet is active - Mac OS X Hints
    External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

    Please use the reputation system if you think you've been helped - top right of this post

  7. #7
    Automatic wi-fi disabling
    Slydude's Avatar
    Member Since
    Nov 15, 2009
    Location
    North Louisiana, USA
    Posts
    8,526
    Specs:
    2.8 GHz MacBook Pro 10.10.2, 8 GB mem, iPhone 6+
    Nice find. I had completely forgotten that tip.
    Sylvester Roque Former Contributing Editor About This Particular Macintosh

    "Got Time to breathe. You got time for music." Denver Pyle as Briscoe Darling

  8. #8
    Automatic wi-fi disabling
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,183
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    Nice find MrPlow, if the OP is using an account with limited control and unable to turn on WiFi when connected to Ethernet, wouldn't this script fail as well?
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  9. #9
    Automatic wi-fi disabling
    mrplow's Avatar
    Member Since
    Oct 01, 2007
    Location
    UK
    Posts
    6,759
    Specs:
    27" iMac i7 (2011) 10.10, iPhone6, iPad Air 2, AppleTV2
    Quote Originally Posted by Raz0rEdge View Post
    Nice find mrplow, if the OP is using an account with limited control and unable to turn on WiFi when connected to Ethernet, wouldn't this script fail as well?
    You may well be right but the OP hasn't mentioned anything about account restrictions. If anything it seems like the lack of restrictions that's the issue in the first instance
    External hard disk acquisition addict - but admitting the problem is the first step to a robust backup

    Please use the reputation system if you think you've been helped - top right of this post

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Disabling Automatic Download of Citrix ICA?
    By TheTrueMoron in forum OS X - Operating System
    Replies: 1
    Last Post: 12-22-2011, 07:58 PM
  2. Is Automatic Updates really automatic?
    By Trolle in forum Switcher Hangout
    Replies: 12
    Last Post: 09-28-2010, 07:26 AM
  3. Clean Desktop - disabling automatic mount of drives
    By yan03 in forum OS X - Operating System
    Replies: 1
    Last Post: 05-30-2010, 01:39 AM
  4. Automatic Connect not Automatic
    By Chris H. in forum OS X - Operating System
    Replies: 8
    Last Post: 05-15-2010, 11:02 PM
  5. Disabling automatic disc verification after burning.
    By DigitalJesus in forum OS X - Operating System
    Replies: 0
    Last Post: 01-16-2007, 01:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •