Disable Airport when Ethernet is connected

Hi,
Please, for the love of all things good can someone help!!!!
I need Airport to be disabled when the ethernet is connected. I have a large network of macs all bound to OD and all my desktop macs have airport disabled through a group policy. The laptops on the other hand are proving to be a problem. I can disable Airport using OD but when the laptop is disconnected from the network the Airport stays disabled even after a reboot, not good when your a laptop user.
I've looked at scripts that monitor the ethernet status and disabled Airport when the ethernet is assigned an IP however I can only find scripts for 10.5/10.6 and not 10.7 or 8.
I'm sure this must be a common situation and something that you should be able to do via OD but I just can't get it to work. I really need to get this sorted asap as after three weeks of trying to get this to work my boss is on my back!!!!! Basically we can't have any wifi connections open or available when connected to our wired network.

Alas we need to stop users from having the ability to disable their ethernet and use wifi. I did think about removing the pref pane for networking but they need it when out and about.
I found this which seems to work but does not make Airport active when ethernet is disconnected so I'm halfway there at least.
http://www.computernetworkbasics.com/2012/12/automatically-turn-off-wireless-in- osx-including-mountain-lion/

Similar Messages

  • Wifi automatically shuts off when ethernet is connected, but I don't want that.

    Hi all,
    I'm the second user of a company-owned MacbookPro (circa 2008) running Lion.  I occasionally need to connect my machine to both ethernet and wifi networks simultaneously.  However, every time I do that, a script kicks in somewhere that not-so-helpfully turns off the Wifi network for me.
    I get the following popup in the upper right corner:
    http://imgur.com/5X6MW
    Airport Status
    Wired network detected.  Toggling Wireless Off.
    There is a similar popup that says it is turning the Wifi on if there is no ethernet cable connected. 
    Does anyone know where this is coming from and how to disable it?  I'm guessing the previous user of the laptop installed a script, but I haven't been able to find it.  I've been using this laptop since before Lion came out, and I don't remember it happening before Lion, but that may be because I didn't try doing two networks during that time period. It became noticable and annoying when I installed Lion though.  At first I suspected this was some default behvaior in Lion, but I've googled for the text given in the message and didn't find any Lion-related complaints.
    It looks a bit like a growl notification, but it happens even if I kill growl.  I don't have anything that would obviously cause this in
    System Preferences-->Users&Groups-->Login Items
    The closest thing I can find on the web is stuff like this:
    http://www.macworld.com/article/154976/2010/10/turnoffairportscripts.html
    Explaining how to add a script that automatically turns Wifi on or off.  I've looked on my machine for scripts in the places suggested though and don't see anything. 
    I've also grepped all over ~/Library and /System/Library for 'network detected', but didn't turn up anything.
    Other places I should look?  Could there be an automater script saved somewhere that would do this?
    Thanks,
    Malcolm

    Ah ha!  Found it.    (Looked for it several times over the last few months, and of course finally tracked it down 30 minutes after posting the question).
    My company network admins included that script in a package of stuff that got installed... probably when I was renewing my VPN certificate or something.
    /Library/LaunchAgents had a reference to a folder elsewhere, and when I looked there I found togglewireless.sh
    All squared away now... Thanks for reading.

  • File Sharing with AirPort or Ethernet - Both connected, what happens?

    Here's the scenario. Two Macs are connected using AirPort to the local wireless network, with an AirPort Extreme Base Station as the router. The two Macs are also connected directly, to each other, using an Ethernet cable.
    One Mac is set up to do +File Sharing+ (to be the file server). On the (other) "client" Mac, I want to connect to the "file server" Mac using the direct Ethernet connection (because it is much faster than even 802.11n wireless). For all other networking, including Internet access, I want both Macs to use the AirPort connection. Use Ethernet connection only for file sharing between the two Macs.
    *Is there some way to force file sharing to use the Ethernet connection* (not AirPort), when both are available and connected?
    I don't want to be too long-winded about what I have tried, but here is want I have observed. If I go to System Preferences Network pane and +Set Service Order+ (under the gear icon) so that AirPort appears first, both Internet access and file sharing use AirPort. If I set it so that Ethernet appears first in the sidebar, file sharing uses Ethernet and Internet access does not work (unless I also enable +Internet Sharing+ on file server Mac). If I switch the service order back to AirPort being first, Internet access goes back to using AirPort, but if I leave the file sharing over Ethernet connected, it continues to work over Ethernet (sometimes); it does not seem consistent. Sometimes it cuts off. Other times, the Internet access over AirPort become problematic.
    Secondary question - *Is there some place I can look to see which connection is being used* at a particular moment, for file sharing?
    The way I checked was by transferring a large folder and noting the estimated transfer time. A few hours is from AirPort being used; 20-30 minutes is Ethernet being used.
    If it matters, the +file server+ Mac is a Power Mac G5 with Leopard and the client Mac is a Mac mini with Snow Leopard. I can make it happen, but the process is convoluted and it does not seem to work reliably or consistently, with either the file sharing or Internet access connection becoming inaccessible until I restart. I am willing to accept +UNIX command line magic+ as a solution; it just has to be a method that works consistently, and is understandable.

    I don't understand what you just wrote. There is no category or forum in Apple Discussions that is generally about networking. There is a +Getting Online and Networking+ forum under Snow Leopard, and I suppose I could have posted it there. But if you have advice related to this topic question, I thinks it's OK for you to post a response in this topic, in this forum and category. If you don't know, that's fine. I don't know either. That's why I'm asking.
    And this question is hardly +Networking 101+.

  • How to disable UltrNav when external mouse connected

    Is there a way to have the UltraNav turned off automatically when an external mouse is connected?
    When typing it’s too easy to inadvertently touch the UltrNav and if you’re not watching find you’re typing in a different location, so we like to turn it off. But when I need to quickly access the laptop I would like to use the UltrNav and not have to find and connect the mouse.
    I can turn it off/on through the control panel/system tray, however it’s near impossible to turn on without a mouse.
    Our users have gotten use to this feature in other laptop brands but according to the Lenovo help desk it’s not available.  

    Hi, GDodman
    Unfortunately, I don't think this option is currently supported on Lenovo Think brands. I did some research on the topic and attempted to change the settings of UltraNav, but was not able to find this function. If you find that UltraNav is too easy to inadvertantly tap while typing, then I would recommend changing the sensitvity to a lower setting to reduce future misclicks and random movements.
    Best of luck,
    Adam
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution!" This will help the rest of the community with similar issues identify the verified solution and benefit from it.

  • Problem with udev rule to disable touchpad when USB mouse connects

    Hi, I've been running Arch on this laptop, but I can't get this udev rule to work properly.
    What I want to happen is: when I plug in my usb mouse, the laptop touchpad is disabled, and the left and right buttons are reversed (I'm left handed)
    After following several tutorials, both from the arch wiki and other sites, I've come up with this udev rule:
    ACTION=="add", SUBSYSTEM=="input", RUN+="/usr/local/bin/USBMouse.sh"
    ACTION=="remove", SUBSYSTEM=="input", RUN+="/usr/local/bin/USBMouse.sh"
    And here's the script it links to (USBMouse.sh):
    #!/bin/bash
    export DISPLAY=:0.0
    synclient TouchPadOff=$(/usr/bin/lsusb | grep "Microsoft Corp.\
    Nano Transceiver v1.0 for Bluetooth" | wc -l)
    if [[ $(/usr/bin/lsusb | grep "Microsoft Corp.\
    Nano Transceiver v1.0 for Bluetooth" | wc -l) == 1 ]]
    then
    xmodmap -e 'pointer = 3 2 1'
    fi
    if [[ $(/usr/bin/lsusb | grep "Microsoft Corp.\
    Nano Transceiver v1.0 for Bluetooth" | wc -l) == 0 ]]
    then
    xmodmap -e 'pointer = 1 2 3'
    fi
    Running the script from a terminal returns no errors and works as expected. The problem is when I plug/unplug the mouse from the usb port, nothing happens.
    I appreciate any insight you might have about how to fix this, and thank you in advance

    This has already been done. And another relevant thread.

  • Can't disable touchpad when external mouse connected

    Hey guys,
    OS: Win7 64Bit
    Product : b0p18pa#ab4
    Model: dv6-7007tx
    The only way i've figured out a way to disable the touchpad is to uninstall the PS/2 compatible mouse in device manager. (which requires a restart) to come into effect and is reinstalled after the next restart afterwards.
    the touchpad is SO sensitive it makes it extremely aggrivating to type as i keep tapping  the pad with my palms.
    any insight would be fantastic.
    cheers guys.

    Hi,
    Please try:
       Control panel > Mouse > ClickPad Settings
       Tick Disable internal pointing device when .....
       Click Apply
    Regards. 
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Disabling AirPort Extreme Card auto-connect?

    Is there a way to set one wireless network as the default or chosen one? I have iMac G5 and it is constantly reverting to a neighbor's network even though the signal is weaker. I can manually switch it back to mine but in time it will find the other again. Any suggestions?

    Choosing your preferred AirPort network

  • Internet via airport AND ethernet dropping?

    I have a new uMBP 13". When I connect to my home network it is the only computer on the network that will drop it's signal every 10 minutes at least. It searches for the network and reconnects a few seconds later but I have to manually search for the network and select.
    I tried it with just the ethernet cable and airport turned off and the same thing happens.
    I have an iMac connected wirelessly to the Netgear G router also running snow leopard which works fine.
    I know there are discussions about airport dropping but this is airport and ethernet so where do I start with solving the problem?
    Thanks

    Hello William.
    I've had similar problems, as described above. I have called AppleCare; I have found other threads on the forum(s) dealing with AirPort dropping connections; I have found much discussion of the subject on the web. There is a problem, and there appears to be no solution. Here is my related situation.
    I have a MacBook Pro with Snow Leopard; an oldish Netgear wireless router; and my wife is connected to this little LAN with my old iBook running Leopard. That machine, with Leopard, never loses a connection whereas my Macbook Pro with SL loses the Airport connection approximately every 24 hours. After talking with the ISP and Netgear I solved that problem initially by rebooting the router. Now, I find, I have only to turn AirPort off and then on again and the connection is reestablished.
    Meanwhile, I tried switching over to ethernet. I turned Airport off, and ethernet on, with an automatically assigned DNS address. Again, to my amazement, the connection (with the internet) was dropped, again, about every 24 hours--long about 9:30 in the evening, for me. To reconnect ethernet to the web I only had to click "renew DHCP address" under the Advance tab in the network panel. I.e., the behavior was analogous to what I went thru with Airport.
    I have to think that 1) since this doesn't happen to my wife's machine on the same network running Leopard, and since 2) the same thing happens whether I'm using AirPort or Ethernet to connect to the web, that this is something systemic in SL's networking innards.
    I went over all of the router's connections and settings (no timing out issue), and I upgraded its firmware successfully. I've done all the usual troubleshooting gimmicks, and, of course, I've discussed this with AppleCare. They haven't the foggiest. Since the problem only recurs in a longish circadian cycle it's not something that can be dealt with over the phone.
    I have to believe there's something wrong with the networking software in Snow Leopard. And, for what it's worth, if you do a search for this on Google there is a great deal of similar discussion.
    Now my solution is simply to use Airport and to turn the program on and off via the menu bar. Unfortunately it raises cain with syncing--"Mingler" and iCal and iCal's system syncing software run away with the CPU. But that's another thread!
    All the best,
    Alarik

  • Airport and ethernet not working other computers are

    I have a Mac Mini that I use daily. Today when I tried to get onto the internet the bars for airport in the menu bar were gone and a caution exclamation point was there. I restarted and that did not help. I then plugged in an ethnet cable and refigured the mini for ethernet. that did not work. I know the modem and router are working just fine and so is the ethernet since I have other computers on my home network and they all connect ok. Is the airport and ethernet card connected in that if one goes out so does the other?  The mini is 2-1/2 years old. I have a Wii and a satellite box on the same shelf as the mini and they both connect to the internet just fine. is my mini toast?

    In system preferences- network do you have show airport  status in menu bar checked. To the left in network does airport show up. at the top in nework is it on.

  • Airport and ethernet at same time

    I've got a feeling this is one of those obvious questions which has an obvious answer. I noticed in the network pane of the preferences lists out every type of adapter available to me to connect to a network. I always leave my airport on even when I'm connected to a network with an ethernet cable. So my question is this, if my airport and ethernet are connected to different networks (in my office they're kept separate), which takes priority? Should I turn off one adapter? Just a curious mind.

    Whichever network port is above the other in the list of available ports in the network preferences panel this will have priority.

  • Airport extreme won't connect via Ethernet to BT homeHub v2.0

    Hi
    here's what I want to do:
    1. Homehub is connected to the phoneline and will provide a b/g network for my iphone/xbox/laptop1
    2. I want to connect my airport extreme to this (from what I can tell this must be done through an ethernet cable) so that I can have a separate N network which only 1 laptop will connect to.
    So the problem I have is that no matter what options I select in the airport extreme when it's connected via ethernet it tells me that nothing is connected to the Ethernet WAN port. I've tried two different cables different ports on the back of the hub etc. nothing works. Every time I search google or forums for an answer people just write "connected it via ethernet and it works great" but there's no guide to what settings to use that I can see.
    Can someone please help me with some sort of noob guide to get this setup how I've stated?
    Many thanks in advance

    Hey Bob
    thanks fro the quick response. I have actually tried exactly that but it still flashes orange at me I'm suspicious that the AE may have a fault because during the setup (i can't remember the exact steps) but I got the AE updated and it complained that it could read from the AE (error code was 10057). Googling this does thow up a couple of solutions which I haven't tried.
    so my steps should be:
    Factory Reset the AE
    setup as join existing network
    join via ethernet to create a 2nd network
    connect up the cable to the WAN port and the Lan of the Hub
    change to bridge mode.
    One thing I did notice (which may or may not be related) is the subnet mask on the AE says 255.255.0.0 when I set it up like this. However when I make it just join the network without trying to create a new one (which works) it sets it to 255.255.255.0 . the IP address also begins 192.168.1.* whereas in the other setup mode it is something different. Does that matter at all?
    Thanks
    Alan

  • How do I get Airport Utility to recognise my TimeCapsule when I first connect it?

    I have followed the instructions in the setup guide and on the apple website but still my Time Capsule just flashes amber.  When I press 'rescan' in Airport Utility, it says it is unable to locate any wireless devices.
    I have connected my ethernet cable from my wireless modem/router to my time capsule and plugged the time capsule in to the power.  Before connecting it to the time capsule, the ethernet cable connected my wireless modem/router to my iMac.  Now there is nothing connecting my iMac to my modem/router.
    I am thinking maybe there is something not set up correctly with the Airport and wireless settings on my iMac but I don't know what they would be.  When I got it, I just plugged my modem into the back with the ethernet cable and it worked.  I also have a laptop that I connect wirelessly to the modem.
    I have AppleCare for my iMac but I don't think it covers extra hardware like the Time Capsule.  I bought the Time Capsule in August last year from JbHifi so I don't know if I can take it to an Apple store and get them to help me.  Since August last year I have not been able to make it work or connect to my iMac.
    Please help!!!

    run another ethernet cable from one of the TC's LAN port's () to your iMac. that should enable airport utility to see the device.
    besides, you should really make your initial time machine backup using a hardwired connection. subsequent backups are incremental and can be done over wifi.

  • Mac Mini won't print via ethernet cable connected to airport extreme

    Hi. Thanks for your input in advance. Am about to start throwing things around. I have an Airport Extreme based network which is working fine. The printer is a new HP L7590 which connects to the network with a USB cable connection to the Airport Extreme. Those with laptops and wireless cards are able to print no problem. However my Mac Mini, a 1.25 GHz PowerPC G4 is connected to the printer using a ethernet cable connected to the Airport Extreme. All was working perfectly until I upgraded from Panther to Tiger. I am now running 10.4.11. Now the Mini will not print. The jobs keep stopping. I have removed the printer and try to add it again. The print browser page finds the printer okay and lists it as connecting via Bonjour, but when you tell it to add it, it starts 'searching for new drivers' and then 'gathering printer information' and then it stops responding and I have to force quit it. Any suggestions?? I have already tried all the online mac help suggestions.

    Actually it transpires that the G4 laptops are not printing either now.

  • Itunes 8.2 disables Ethernet/Internet connection

    In an effort to upgrade to iTunes 8.2 this morning, I d/l and installed without difficulty. However, afterward, my computer did not recognize my Ethernet and I could not connect to the internet. I restored my computer to an earlier restore point, which restored my Ethernet/internet connection and deleted iTunes 8.2. After some manipulation of files, I now have a working version of iTunes 8.0.2. This is so frustrating, b/c it has taken me several hours of research to get everything functioning as it was before installing the iTunes upgrade.
    What do I have to do to get Itunes 8.2 to function on my computer without it disabling my internet access? Apparently without the upgrade to 8.2, I cannot download the software upgrade for my iPhone 3g.
    Thanks for your help.

    Its amazing, my previous post which was deleted by the powers that be, was solely related to the problem that alot of people are having. Namly Itunes disabling internet connection, because I was extreamly irrate about the whole this I accidentally put a swear word in the post.
    How is it that the posts can be read to police against that but not to check on peoples problems and get them sorted.
    Seriously apple get this problem sorted, I object to having to join this forum giving away my details so you can now email me, with alot of stuff that I don't even want. One thing I would like is for you to sort this problem out!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Hope that isn't too many exclamation marks, hope it doesn't offend anyone.
    I am running XP, when I download Itunes it gets rid of my internet connection, thus making Itunes more useless than it already is.
    We are waiting for an answer. As I said in the previous post, DO YOUR JOBS AND GIVE US AN ANSWER TO THIS PROBLEM!!!!!!!!!!!!!!!!
    And for the Apple discussions staff, if you are reading this, how about a bit of customer service, stop hiding behind your standard signature block and sign your emails with a name. The personal touch would make people less inclined to lose their tempers.

  • Airport Dual Ethernet connecting to DSL.

    My normal system is a Windows XP PC connected to 2wire dsl router from SBC. My wife has an iBook(the white one)that we are trying to get connected to the internet using an Airport Dual ethernet. THe iBook has a wireless card installed and before I moved all I did was plug the airport into the DSL router and all was well. Now what is happening is that as soon as I plug the airport into the router it I lose my PC internet connection, even more frustrating is that I still can't access the interent via the iBook.
    I am totally unfamiliar with the Mac OS so this just adds to my frustration. Are there any resources/guidance/books that would help a new wireless Mac user on configuring the airport to connect to the same router as a windows PC without screwing it all up?
    Any help would be awesome.
    Jamie
    PC   Windows XP Pro   Airport Dual Ethernet

    Hello, I'm new to Mac's as well, but I hope I can help narrow down the source of the problem a little.
    You said "and before I moved all I did was". I take that to mean you moved from one home to another. Does that mean that you also have a new DSL service provider (which means they provided you with the DSL router you are using. A couple things to try to semi isolate the problem, or at least try to narrow it down to one device having issues.
    Try to connect to the internet with each computer individually using the DSL router, one at a time. Do they both work that way?
    Try connecting the airport only, then connecting to the internet with each computer individually (the other should be powered down so it doesn't try to connect when wireless becomes available {hopefully}). Do they work this way?
    If they work, or one does but not the other you have provided yourself wirh a wealth of information to offer the experts (no that's not me), I'm afraid I won't be much help beyond this. The reason for this method is that you may discover that something has happened to your system(s) (hopefully not) during your move(?), or your service provider (new) may have provided you with a faulty router (just a couple of possibilities).
    Another thing, have you installed any new software, or updates recently, like just before the connection stopped working.
    Hope this helps.

Maybe you are looking for