How to disable Airport via Terminal?

I need to disable Airport from Terminal because I have a bunch of G4 iBooks that kernel panic upon login unless booted in safe mode. But in safe mode Airport IS off (that's part of why I suspect it's causing the KPs) - so I can't use System Preferences to 'turn it off' so that it remains off upon normal restart. All of these machines are running OS 10.4.x.
At Mac OS X Hints, I found Enable and disable Airport from the command line which would be perfect - however when I use this command (sudo ifconfig en1 down), the result is "interface en1 does not exist".
In safe mode, System Preferences, I CAN delete the Airport configuration - but that's an 'undoable' action & I'm not sure it's wise. Any suggestions?

Thanks, twtwtw. I know that at least some of these machines were not cloned, because some of the system versions predate the first image I used for that purpose. Some probably were cloned, but they operated for a couple of years before this began.
The (safe mode) output is:
admin$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:14:51:9c:dc:d2
        media: autoselect (none) status: inactive
        supported media: none autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback>

Similar Messages

  • How to disable airport so that standard users can't reenable it ?

    Even when I disable airport interface from the command line :
    sudo ifconfig en1 down (what requires sudo privileges)
    a standard user can reenable it ! Strange behaviour compared to linux or windows OS.
    If someone knows how to block airport, please let me know.
    Thanks

    Hello,
    Thank you for the answers.
    All users are standard users.
    The option I was searching for is in System Preferences - Network - AirPort - Advanced - Require admin password for : Disabling or enabling AirPort. The other two options could be useful too.
    I think I'll add this to my base image. In the meantime I'll try to apply the settings via Apple Remote
    I didn't find the exact settings to enable the 3 options from the command line, if you know how to do this please tell me.
    I found a few very useful commands though :
    Disable/Enable airport from the command line
    networksetup -setairportpower en1 off/on
    That's the command I will use when all machines will be configured with "Require admin password for : Disabling or enabling AirPort". If it's not configured the user can reenable airport.
    Disable/Enable airport service from the command line :
    networksetup -setnetworkserviceenabled AirPort off/on
    That's the command that can help when you haven't block the users yet. A standard user can reenable the service but he needs to know the command as well as how to use terminal.
    p.a

  • My 4s was stolen. how to disable it via IMEI

    my iphone 4s was stolen and i changed all my information in the device
    is there anything else that i can do to keep my information safe from the thief? and how to disable the device.
    i heard can disable the device via IMEI by calling the service company but i called and they said they cant do anything.
    is there anyway to block and disable my stolen 4S so they cant use my device?
    need comments. Please.

    i already changed them a moment ago. what a great loss i bought it while it released. lesson learnt. but its way too late.
    luckily i used another sim card as in i travelled to other country. so im not using the sim card with the data plan.
    i stay in Singapore. can singapore's carrier company disable the phone??

  • HT4199 How to disable Airport Utility

    How do I disable Airport Utility, not using it and it keeps searching

    So are you talking about the iPad app? Or the Mac app? If you're talking about the Mac app, you should post in the forum for the system software that you have or the Airport forum:
    https://discussions.apple.com/community/wireless/airport

  • HT4625 And how can I disable this via Terminal?

    I'd like to set the screensaver to the loginwindow. But I'm not sure. Is it save? Or are there some risks?
    And how can I disable the screensaver at the loginwindow? (I haven't got workgroupmanager.)
    Thanks for any answers

    To turn it off, use:
    sudo defaults delete /Library/Preferences/com.apple.screensaver loginWindowIdleTime
    sudo defaults delete /Library/Preferences/com.apple.screensaver loginWindowModulePath
    All other issues are covered by the article.
    (65168)

  • Enable Airport via Terminal

    My University has introduced network access control so I'm no longer able to just plug my personal MacBook into the wired network.
    They have supplied me with a company iMac with administrator rights.
    I was hoping to use this to create a wireless network (using the iMac as a DHCP server in effect)?.
    However, they seem to have disabled the internal Airport card perhaps via the command line.
    In the System prefs it says Airport card is inactive.
    Can I reactivate it? If so, How?
    I have an early Intel Silver iMac running 10.5 (Leopard)
    Thanks

    This any help? http://macstuff.beachdogs.org/blog/?p=44
    WZZZ - I'm not stalking you, honest

  • How to disable updates for terminal services.

    We have installed firefox on our terminal servers. but currently it is set for auto updates. We need to disable auto updates on a server level so that we have consitancy of version across the board. The solutions I've searched via Google all are solutions for Firefox 2.x but now version 9.0 is out the same methodolgy doesn't apply.

    Use a mozilla.cfg file in the Firefox program folder to lock prefs or specify default values.
    Place a file local-settings.js in the defaults\pref folder where you also find the file channel-prefs.js to specify using mozilla.cfg.
    pref("general.config.filename", "mozilla.cfg");
    pref("general.config.obscure_value", 0); // use this to disable the byte-shift
    See:
    * http://kb.mozillazine.org/Locking_preferences
    You can use these functions in mozilla.cfg:
    defaultPref(); // set new default value
    pref(); // set pref, but allow changes in current session
    lockPref(); // lock pref, disallow changes
    lockPref("app.update.enabled", false);

  • How to disable Airport Status using Apple Remote Desktop?

    I am in a school and students have began using the "Create Network" item in the Airport Status menu to send inappropriate messages to each other. I can uncheck the "Show Airport Status in menubar" which will eliminate this but I'd rather not have to go around to 200 computers. Is there a Unix command that I can send in ARD that will disable this menu from even showing up? Thanks.

    I see that you are also using AD and OD together. You can use OD to push out a computer MCX preference, that will disable the student's ability to do just what you want.
    Select the computer list, click preferences at the top, choose Network, Sharing & Interfaces, set it to Always and check Disable Internet Sharing.
    It works well.
    I know this is not what you asked for, but hopefully it solves your problem.
    Bill

  • How to disable log4j via configuration file

    Howdy,
    I am using the quartz library which uses log4j, how can I disable log4j in my release version? where can I find a sample configuration file to disable log4j?
    TBH i am not sure if its actually running as i am not pointing it to config, i get these warnings:
    log4j:WARN No appenders could be found for logger (org.quartz.simpl.SimpleThreadPool).
    log4j:WARN Please initialize the log4j system properly.
    But I would prefer to just disable it all together (or initialize it correctly and make it do nothing)...so I am looking for how I can accomplish this. I've read over the docs here:
    http://logging.apache.org/log4j/1.2/manual.html
    They are a bit long winded for what I need to do so I might have missed it, but i am just looking for how to structure a minimal con fig file to properly initialize log4j and prevent it from logging anything

    tiburblium wrote:
    Now quick question, how can I modify this to prevent logging from occuring? It seems as if I set log4j.debug=FALSE nothing is logged, is that all thats required? set rootLogger to OFF if you intend to turn off logging, something like this.
    log4j.rootLogger=OFF, R
    Also how can i specify a null appender? I dont want log4j to attempt to log to a file on an end users systemlog file is not created on the end users system. It is created in the app server where the application is running. Setting rootLogger to OFF should take care of your problem as nothing will be logged.

  • Disabling Airport via script (defaults)

    Policy at my location forbids wireless networking be activated for computers connected to the network. Is there a proper method for doing a 'defaults write' command to turn off airport?
    I know the following information:
    the file that is used when one turns off airport in the network prefs is : /Library/Prefrences/preferences.plist.
    Turning off airport adds a <key>_INACTIVE_</key>
    <integer>1</integer>
    to this file. However the airport interface appears to have a unique/psuedo random ID to it. Can anyone point me to the correct way to add this key to this file?
    Thanks
    Brian

    Actually, I think the preferences.plist file is in /Library/Preferences/SystemConfiguration/, but what you're looking for is in the /Library/Preferences/SystemConfiguration/com.apple.nat.plist file. That said, I don't have wireless, so I might be mistaken. If there's a prefPane associated with airport, then enable/disable it and check the above plists to see exactly what the prefPane does to those plist files. That should allow you to determine what the script should look like.

  • Compressor via Terminal

    Does anyone know, how to start compression via terminal command?
    For example: ./compressor -somepreset_name_oroptions input_file output_file
    I need to do automatic compression of all files in some directory. And want to write some script, that monitor this directory for new files. But i don't know how to start compression from that script.

    Strongly suggest posting to the Unix forum under OS X Technologies where the Unix/Terminal gurus hang out.

  • How can I enable java applet plug-in and Web Start applications via terminal?

    Since the last Java update to Snow Leopard, I have found that the system periodically disables the Java applet plug-in after a period of disuse.  I know I can go to /Applications/Utilities/Java Preferences and just click to re-enable Java.  But I want to write a script which will do this periodically for a couple hundred Mac users where I work. 
    My question is - how can I reenable the Java applet plug-in and web start applications via Terminal command?  Is this possible?  Is there a plist file that can be modified, etc.?
    Bob Reed

    It is my understanding that Apple's most recent Java update automatically disables Java after a certain period of time that it hasn't been used.  We don't want users to have to keep re-enabling it.  So we wanted to find a way to do this via script either run by a Casper JSS server or stored locally on each workstation.   With the guidance provided by Mark Jalbert above and some text from a script written by Rich Trouton, I was able to make a script (with some minor changes) and a launch agent to re-run the script upon login.  So the preference is always enabled.
    For your reference, the script content is:
    #!/bin/sh
    # DYNAMICALLY SET THE UUID FOR THE BYHOST FILE NAMING
    if [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` == "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c51-62 | awk {'print tolower()'}`
    elif [[ `ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-50` != "00000000-0000-1000-8000-" ]]; then
    MAC_UUID=`ioreg -rd1 -c IOPlatformExpertDevice | grep -i "UUID" | cut -c27-62`
    fi
    # Set the the "Enable applet plug-in and Web Start Applications" setting in the Java Preferences for the current user.
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsEnabled" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsEnabled bool true" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Delete :GeneralByTask:Any:WebComponentsLastUsed" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    /usr/libexec/PlistBuddy -c "Add :GeneralByTask:Any:WebComponentsLastUsed real $(( $(date "+%s") - 978307200 ))" /Users/$USER/Library/Preferences/ByHost/com.apple.java.JavaPreferences.${MAC_UU ID}.plist
    The launch agent plist content is:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>Disabled</key>
              <false/>
              <key>Label</key>
              <string>org.XXXXX.enableJavaPlugin</string>
              <key>ProgramArguments</key>
              <array>
                        <string>sh</string>
                        <string>/Library/Scripts/XXXXX/enableJava_plugin.sh</string>
              </array>
              <key>RunAtLoad</key>
              <true/>
              <key>StartOnMount</key>
              <true/>
    </dict>
    </plist>
    I hope this is helpful to anyone wishing to keep the Java web plugin enabled.
    Bob
    Message was edited by: Robert Reed2

  • Did a clean install 10.9.4. on a stock Fusion HD.  When I run "diskutil list" via Terminal, everything is wrong.  I have "EFI" and "apple Boot Boot OSX in every dev/disk** How do I fix? Any help would be much appreciated, thank you

    Did a clean install 10.9.4. on a Apple Stock 1TB Fusion Hard Drive.  When I run "diskutil list" via Terminal, everything is wrong.  I have "EFI" and "apple Boot Boot OSX" in every dev/disk**  Everything is out of place, How can I repair? Im willing too reformat if need be, however thats what I did in the first place.  Any help would be much appreciated, thank you.
    I know this cannot be correct
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         999.3 GB   disk1s2
       3:                 Apple_Boot Boot OS X               650.0 MB   disk1s3
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Fusion                 *1.1 TB     disk2
    /dev/disk7
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                                                   *121.9 GB   disk7

    It appears as if my startup disk has been reversed and not using the fusion ssd portion as it should.  At least its now reversed as to what it used to be originally before.  the 128gb ssd used to be on top.  Is my mac booting fusion correctly?  Thank you for responding as I was about to reformat.
    CoreStorage logical volume groups (1 found)
    |
    +-- Logical Volume Group C2619AFE-0EB5-4721-8C50-3F3DBA520D1B
        =========================================================
        Name:         fusion
        Status:       Online
        Size:         1120333979648 B (1.1 TB)
        Free Space:   114688 B (114.7 KB)
        |
        +-< Physical Volume 583AAEA9-E333-4A83-9BE3-E937396E9248
        |   ----------------------------------------------------
        |   Index:    0
        |   Disk:     disk0s2
        |   Status:   Online
        |   Size:     120988852224 B (121.0 GB)
        |
        +-< Physical Volume B0C1CB16-D46F-4387-A679-B55392BB7934
        |   ----------------------------------------------------
        |   Index:    1
        |   Disk:     disk1s2
        |   Status:   Online
        |   Size:     999345127424 B (999.3 GB)
        |
        +-> Logical Volume Family FB42B9F4-CB77-4162-831B-7DCB7816E760
            Encryption Status:       Unlocked
            Encryption Type:         None
            Conversion Status:       NoConversion
            Conversion Direction:    -none-
            Has Encrypted Extents:   No
            Fully Secure:            No
            Passphrase Required:     No
            |
            +-> Logical Volume C0B8479B-C51C-45BF-B59B-1AA5DF3A3B83
                Disk:                  disk2
                Status:                Online
                Size (Total):          1111826497536 B (1.1 TB)
                Conversion Progress:   -none-
                Revertible:            No
                LV Name:               Fusion
                Volume Name:           Fusion
                Content Hint:          Apple_HFS
    FoHeazys-Mac-mini:~ FoHeazy$ diskutil list
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:          Apple_CoreStorage                         121.0 GB   disk0s2
       3:                 Apple_Boot Boot OS X               134.2 MB   disk0s3
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *1.0 TB     disk1
       1:                        EFI EFI                     209.7 MB   disk1s1
       2:          Apple_CoreStorage                         999.3 GB   disk1s2
       3:                 Apple_Boot Boot OS X               650.0 MB   disk1s3
    /dev/disk2
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:                  Apple_HFS Fusion                 *1.1 TB     disk2

  • How can I completely disable Airport / BlueTooth?

    Hello All,
    I've asked this in another thread, but have just realized that there is a dedicated Airport discussion area. So, I figured I would refine my question using information gathered from my previous discussion, and see if you fine people here in this discussion group might be able to shed additional light on my question.
    So, here we go:
    For those that want the background on my question, the original thread is at:
    http://discussions.info.apple.com/webx?128@@.68bc9dac
    My desire is to completely disable the Airport and BlueTooth features that are now integrated into the new systems.
    I am considering purchasing a new iMac G5 or Power Mac G5, and want to see if it is possible to disable these features before I spend my money.
    While others are convinced that I am crazy, my personal desire is not to have this type of radio frequency / radiation emissions on my desk.
    I know there are many who feel it is not an issue or problem, so rather than discuss whether it is a warranted concern, I would prefer to discuss the simple matter of whether it can be disabled.
    (see my previous discussion for my feelings / research on the subject)
    My previous discussion led me to understand that it is soldered into the main board on the 2 latest revisions of the iMac G5, and probably also on the Power Mac G5. Any confirmations / corrections there?
    I was hoping that I could simply unplug them like I could on older systems to eliminate them completely.
    If that is not possible at all on the iMac G5's or Power Mac G5's, then here are a couple of additional questions:
    I have learned that there is a setting in OS X to "Turn Off" the Airport features.
    Does this setting actually power down and completely deactivate the Airport circuitry so that it would be essentially the same as if it were removed? Or, does it simply ignore the Airport controller and leave it powered-up?
    Any knowledge there?
    Secondly, anyone know if there is a similar setting for Blue Tooth? If there is, same question. Does it completely shut-down / power-off the Blue Tooth circuitry? Or, does it simply ignore it and leave it electrically powered?
    My end goal is to have absolutely no signal coming out of the computer's Airport and BlueTooth circuitry. I want it to be essentially the same as if they were not even present.
    If you know where I might find technical documents supporting or explaining how this enable / disable feature works (in relation to the above question), I would greatly appreciate it.
    Additionally, in the event that disabling the features in Software / OS X doesn't work, is it safe (or possible) to simply disconnect the antenna from the Airport / BlueTooth controller or circuitry. It would seem that this might be quite easy on the Power Mac G5. It might still be possible on the iMac G5's with built-in Airport and Blue Tooth.
    Yes, I know that some will think this quite unusual. Some may think I'm weird or strange. But, if you read my other discussion, you might understand my personal perspective and concern.
    Either way, I am hopeful that rather than discussing whether there is a valid concern, that we might be able to discuss options and ideas on how to disable these features.
    Thank you in advance.

    Your original thread on this topic has pretty well beaten the subject to death.
    Yes, turning "Off" the Airport card from the MacOS Airport menu does indeed turn off its radio transmitter. That is the method recommended for people who, for example, want to take their Mac laptops on an aircraft where one is not allowed to have a radio transmitter on during the flight.
    There is a similar setting in Bluetooth Preferences.

  • How to check folder sizes of the root directory on my VPS/Dedicated server via Terminal?

    Hi,
    I have following issue.
    I have a VPS with Linux OS and I'd like to check size of the folders as well as remaining space on my server.
    How can I do that via Terminal?
    I would appreciate any input.

    login into your VPS server via terminal and cd into the root of your hosted space.  Then use the df -h command to see the listing
    for i.e.
    df -h /volumes/volume_1
    Filesystem             Size   Used  Avail Capacity iused      ifree %iused  Mounted on
    //john@ds00/volume_1  457Gi   12Gi  445Gi     3%       0 18446744073709551615    0%   /Volumes/volume_1
    for you it would be something like:
    df -h [email protected]/share (ip address)

Maybe you are looking for

  • Publishing to correct folder on my server

    Hi, I am encountering a problem publishing my site via Muse's built in FTP. I'm 99% sure its something simple I'm doing wrong! I currently have  a web hosting package with Hostpapa. I have one main domain for this account, and I've since purchased a

  • Can we use the same credit card for multiple customers???

    One of my clients has a requirement where they need to use the same Credit Card number for multiple customers. I have looked into the possibility of using the 'Alternate Payer' functionality but besides that is there any other way SAP can be tweaked

  • Once and for all - iPad IOS7 and wallpaper zooming

    I've purchased both Wallax and Wallpaper Fix for iOS7, and neither of them works.  I've read COUNTLESS "fixes" online, and not a single one of them works.  I've turned off and on every setting I can find that in any way relates to this.  Despite all

  • Form field with comma delimited value list to cfc

    I have a form that passes a field to an action page with a comma delimited value. For instance the field name is: Program_ID value for program_ID is: 31, 32 I am able to treat this variable as a list and check its length, and loop over the list prior

  • Help making a preloader

    I've been following tutorials on how to put a preloader before a Flash movie, but it's not working for me and I think I know why, just not how to fix it. My scene is already built, so I'm suppose to add another scene and add that whole "ifFrameLoaded