2019-02-26 03:06:13 +00:00
|
|
|
# airport
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
> 无线网络配置工具。
|
2024-01-31 10:20:27 +00:00
|
|
|
> 更多信息:<https://keith.github.io/xcode-man-pages/airport.1.html>.
|
2019-02-26 03:06:13 +00:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 显示当前的无线状态信息:
|
2019-02-26 03:06:13 +00:00
|
|
|
|
2024-01-01 09:38:53 +00:00
|
|
|
`airport --getinfo`
|
2019-02-26 03:06:13 +00:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 在通道 1 上监察(嗅探)无线流量:
|
2019-02-26 03:06:13 +00:00
|
|
|
|
|
|
|
`airport sniff {{1}}`
|
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 扫描可用的无线网络:
|
2019-02-26 03:06:13 +00:00
|
|
|
|
2024-01-01 09:38:53 +00:00
|
|
|
`airport --scan`
|
2019-02-26 03:06:13 +00:00
|
|
|
|
2021-08-02 09:41:09 +01:00
|
|
|
- 与当前的 Airport 网络脱离连接:
|
2019-02-26 03:06:13 +00:00
|
|
|
|
2024-01-01 09:38:53 +00:00
|
|
|
`sudo airport --disassociate`
|