Using scripts to enable/disable network adapters

Posted on 2008-11-12
Last Modified: 2013-11-12
I'm looking for information regarding scripting in Mac OS X.  What I want to do, is have 2 scripts, one that will disable a Wi-Fi adapter and another to enable the adapter.  We'd like to do this so a user can switch on the fly between their wi-fi and a broadband air card.
Question by:JamesonJendreas
    1 Comment
    LVL 3

    Accepted Solution

    Instead of making a script, can't you just make sure the Airport logo is on the top right of the menu bar? It's as simple as click, disable. When you want to re-enable it, then click, enable.

    Much simpler and quite painless, rather than writing a script.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    The error "There was an error performing the update" occurred on a Mac OS X client workstation running  Symantec AntiVirus for Mac ( - the Enterprise product vers…
    This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now