Airport an/aus?

  • Ersteller AlmighCornholio
  • Erstellt am
A

AlmighCornholio

Aktives Mitglied
Thread Starter
Dabei seit
03.06.2005
Beiträge
215
Reaktionspunkte
0
Hallo!

Ich möchte einfach nur Airport via AS an und aus bekommen ... das müsste doch recht einfach gehen oder? Leider habe ich kein "Arport-Objekt" oder so finden können ...
Kann mir bitte jemand einen guten Schubs in die Richtige Richtung geben? :)

Danke!
 
Hat es einen besonderen Grund dass es AS sein soll?

Du kannst doch den Airport Status in der Leiste anzeigen lassen, und den mit 2 Klicks ein- und ausschalten.
 
Vielleicht hilft dir dieses Kommandozeilenprogramm weiter:
/System/Library/PrivateFrameworks/Apple80211.framework/Resources/airport
Code:
AirPort v.423.1 (423.1.0)
Supported arguments:
        -a      --autojoin              Join first available trusted network from list
        -p      --applyprefs            Apply settings as currently configured via System Preferences
        -u      --updateprefs           Examine network preferences and repair if necessary
        -z      --disassociate          Disassociate from any network
        -i<arg> --ibss=<arg>            Create IBSS
        -f<arg> --file=<arg>            use <arg> as airport preference file instead of
                                                /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
        -m<arg> --mac=<arg>             use <arg> instead of current AirPort MAC Address
        -x      --xml                   Print info as XML
        -h      --help                  Show this help
        -o<arg> --oldencrypt=<arg>      Encrypt string <arg> with Panther-style encryption
        -s<arg> --scan=<arg>            Perform a wireless broadcast scan
                                                will perform a directed scan if the optional <arg> is provided
        -r<arg> --repeats=<arg>         Repeat the command the specified number of times
        -A<arg> --associate=<arg>       Associate to network
                                                will prompt for network name if arg is not specified
                                                and if necessary, for a password if the network is using WEP or WPA
                                                and the --password argument is not used
        -I      --getinfo               Print current wireless status, e.g. signal info, BSSID, port type etc.
        -P<arg> --psk=<arg>             Create PSK from specified pass phrase and SSID
        -S      --showstack             Print the current list of known networks
                --bssid=<arg>           Specify BSSID to associate with
                --channel=<arg>         Set arbitrary channel on the card
                --password=<arg>        Specify a WEP key or WPA password when associating to a network
                --property=<arg>        Set a property in the driver's IORegistry
                --ssid=<arg>            Specify SSID when creating a PSK, or associating to a network
 
Ja, hat es :) The magic of automation :)
 
@tkortkamp
Vielen Dank, das ist eine gute Idee ... vielleicht nicht grad er Weg den ich gedacht oder erhofft hatte ... aber ich denke das kann mich auch zum Ziel führen :)
 
Alternativlösung: Ändern der Umgebung via scselect (/usr/sbin/scselect).

Grüße,
Flo
 
Zurück
Oben Unten