Linux iwlist command All In One
Linux iwlist command All In One
wifi scan
iwlist
# scanning for wireless networks
$ sudo iwlist wlan0 scan
$ sudo iwlist wlan0 scan > wifi-scan.md
$ cat ./wifi-scan.md | grep ESSID
$ iwconfig
# Linux / macOS
$ ifconfig
# Windows
$ ipconfig
# macOS
$ ipconfig
usage: ipconfig <command> <args>
where <command> is one of waitall, getifaddr, ifcount, getoption, getiflist, getsummary, getpacket, getv6packet, getra, getdhcpduid, getdhcpiaid, set, setverbose
Raspberry Pi
& Node.js
wpa_supplicant.conf
配置 SSH 连接 Raspberry Pi 的 WI-FI
$ cat /etc/wpa_supplicant/wpa_supplicant.conf
$ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
$ sudo vim /etc/wpa_supplicant/wpa_supplicant.conf
在 Raspberry Pi 开机登录后,配置
.profiles
文件,使用 webhook 自动发送 IP 地址到钉钉群消息 🚀
$ ssh pi@raspberrypi.local
demos
$ sudo iwlist wlan0 scan > wifi-scan.md
$ cat ./wifi-scan.md | grep ESSID
$ ifconfig wlan0 | grep inet
$ ifconfig wlan0 | grep "inet "
$ ifconfig | grep "inet "
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
https://www.w3schools.com/nodejs/nodejs_raspberrypi.asp
https://www.cnblogs.com/xgqfrms/p/17323041.html
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/17329203.html
未经授权禁止转载,违者必究!