Advertisement
zizon65

wifi log file

Feb 14th, 2017
418
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. Last login: Tue Feb 14 12:00:01 on console
  2. MacBook-Pro-de-AZIZ:~ azizngom$ ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/local/bin/airport
  3. ln: /usr/local/bin/airport: File exists
  4. MacBook-Pro-de-AZIZ:~ azizngom$ sudo airport en1 sniff 6
  5. Password:
  6. Usage: airport <interface> <verb> <options>
  7.  
  8. <interface>
  9. If an interface is not specified, airport will use the first AirPort interface on the system.
  10.  
  11. <verb is one of the following:
  12. prefs If specified with no key value pairs, displays a subset of AirPort preferences for
  13. the specified interface.
  14.  
  15. Preferences may be configured using key=value syntax. Keys and possible values are specified below.
  16. Boolean settings may be configured using 'YES' and 'NO'.
  17.  
  18. DisconnectOnLogout (Boolean)
  19. JoinMode (String)
  20. Automatic
  21. Preferred
  22. Ranked
  23. Recent
  24. Strongest
  25. JoinModeFallback (String)
  26. Prompt
  27. JoinOpen
  28. KeepLooking
  29. DoNothing
  30. RememberRecentNetworks (Boolean)
  31. RequireAdmin (Boolean)
  32. RequireAdminIBSS (Boolean)
  33. RequireAdminNetworkChange (Boolean)
  34. RequireAdminPowerToggle (Boolean)
  35. WoWEnabled (Boolean)
  36.  
  37. logger Monitor the driver's logging facility.
  38.  
  39. sniff If a channel number is specified, airportd will attempt to configure the interface
  40. to use that channel before it begins sniffing 802.11 frames. Captures files are saved to /tmp.
  41. Requires super user privileges.
  42.  
  43. debug Enable debug logging. A debug log setting may be enabled by prefixing it with a '+', and disabled
  44. by prefixing it with a '-'.
  45.  
  46. AirPort Userland Debug Flags
  47. DriverDiscovery
  48. DriverEvent
  49. Info
  50. SystemConfiguration
  51. UserEvent
  52. PreferredNetworks
  53. AutoJoin
  54. IPC
  55. Scan
  56. 802.1x
  57. Assoc
  58. Keychain
  59. RSNAuth
  60. WoW
  61. P2P
  62. Roam
  63. BTCoex
  64. AllUserland - Enable/Disable all userland debug flags
  65.  
  66. AirPort Driver Common Flags
  67. DriverInfo
  68. DriverError
  69. DriverWPA
  70. DriverScan
  71. AllDriver - Enable/Disable all driver debug flags
  72.  
  73. AirPort Driver Vendor Flags
  74. VendorAssoc
  75. VendorConnection
  76. AllVendor - Enable/Disable all vendor debug flags
  77.  
  78. AirPort Global Flags
  79. LogFile - Save all AirPort logs to /var/log/wifi.log
  80.  
  81. <options> is one of the following:
  82. No options currently defined.
  83.  
  84. Examples:
  85.  
  86. Configuring preferences (requires admin privileges)
  87. sudo airport en1 prefs JoinMode=Preferred RememberRecentNetworks=NO RequireAdmin=YES
  88.  
  89. Sniffing on channel 1:
  90. airport en1 sniff 1
  91.  
  92.  
  93. LEGACY COMMANDS:
  94. Supported arguments:
  95. -c[<arg>] --channel=[<arg>] Set arbitrary channel on the card
  96. -z --disassociate Disassociate from any network
  97. -I --getinfo Print current wireless status, e.g. signal info, BSSID, port type etc.
  98. -s[<arg>] --scan=[<arg>] Perform a wireless broadcast scan.
  99. Will perform a directed scan if the optional <arg> is provided
  100. -x --xml Print info as XML
  101. -P --psk Create PSK from specified pass phrase and SSID.
  102. The following additional arguments must be specified with this command:
  103. --password=<arg> Specify a WPA password
  104. --ssid=<arg> Specify SSID when creating a PSK
  105. -h --help Show this help
  106. MacBook-Pro-de-AZIZ:~ azizngom$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement