打開WiFi:
# nmcli r wifi on
#
連接路由器:
# nmcli dev wifi connect "TP-LINK_0034" password "BJ0014iot"
Device 'p2p0' successfully activated with '44313867-7cd7-4d3c-b9c8-45e7e877b853'
.
# ping www.baidu.com -c 4
PING www.a.shifen.com (220.181.111.232) 56(84) bytes of data.
64 bytes from 220.181.111.232 (220.181.111.232): icmp_seq=1 ttl=53 time=9.53 ms
64 bytes from 220.181.111.232 (220.181.111.232): icmp_seq=2 ttl=53 time=7.31 ms
64 bytes from 220.181.111.232 (220.181.111.232): icmp_seq=3 ttl=53 time=5.23 ms
64 bytes from 220.181.111.232 (220.181.111.232): icmp_seq=4 ttl=53 time=5.37 ms
--- www.a.shifen.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 5.232/6.860/9.534/1.748 ms
#
查看板子IP位址:
# ifconfig p2p0
p2p0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::e10f:6e24:ca58:a2ae prefixlen 64 scopeid 0x20<link>
ether 32:5a:5f:2a:1e:e9 txqueuelen 1000 (Ethernet)
RX packets 419 bytes 108879 (108.8 KB)
RX errors 0 dropped 3 overruns 0 frame 0
TX packets 39 bytes 4477 (4.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
#
可以看到板子的IP位址是192.168.1.100,然後就可以用電腦上的ssh軟件連上板子,進命令行了。
用戶名和密碼都是rock。

川宇雙頭typec數據線適用蘋果16iPhone15充電線ipad快充電器線華為小米電腦tpyec充電線器usbc加:https://detail.tmall.com/item.htm?id=820012786591
川宇64g行車記錄儀內存卡sd高速tf手機內存卡C10監控攝像存儲音響:https://detail.tmall.com/item.htm?id=681760890726
川宇讀卡器多合一多功能3.0高速tf卡內存電腦micro sd卡通用車載手機讀卡器:https://detail.tmall.com/item.htm?id=532576105980