05 Jul 2012

WLAN-Diagnose unter Mac OS X

Mit einem mitgelieferten Kommandozeilen-Utility lassen sich Informationen über WLANs anzeigen, die so per default in der GUI nicht zu finden sind.

  • WLANs anzeigen
     sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
                              SSID BSSID             RSSI CHANNEL HT CC SECURITY (auth/unicast/group)
                             rohan 00:1b:2f:fa:de:6c -93  3       Y  -- WEP
                          isengard 00:18:4d:f1:4d:15 -50  3       N  DE WEP
                       WLAN-A64905 74:31:70:a6:49:a9 -93  8       Y  -- WPA2(PSK/AES/AES) 
                        helmsklamm 00:04:e2:c2:9e:cc -17  10      N  -- NONE
  • weitere Details
    sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I
       agrCtlRSSI: -49
       agrExtRSSI: 0
      agrCtlNoise: -96
      agrExtNoise: 0
            state: running
          op mode: station 
       lastTxRate: 54
          maxRate: 54
    lastAssocStatus: 0
      802.11 auth: open
        link auth: unknown
            BSSID: 0:18:4d:f1:4d:15
             SSID: isengard
              MCS: -1
          channel: 3 
  • Sniffing on channel 11:
sudo /usr/libexec/airportd en1 sniff 11 

Some things to note:

  • You will be prompted to enter in your account password for verification.
  • You cannot specify the name of the capture file or where you will place the output.
  • You will lose any wireless connectivity to your network while the capture is occurring.