Raspberry Pi Remote Access All In One
Raspberry Pi Remote Access All In One
# 等待⌛️一分钟后,不取消就立刻关机 ✅
$ sudo shutdown -H
# -H => Halt
# -h => poweroff
$ sudo shutdown -h
$ ssh pi@raspberrypi.local
SSH
https://www.raspberrypi.com/documentation/computers/remote-access.html#ssh
VNC (Server + Client)
Virtual Network Computing
https://www.raspberrypi.com/documentation/computers/remote-access.html#vnc
Raspberry Pi 自动关闭 WLAN 电池管理
/ 电源管理
防止 SSH 一段时间后自动断开连接
# view power management status
$ iwconfig
# edit config
$ sudo vim /etc/rc.local
# or
$ sudo nano /etc/rc.local
# add below line code before `exit 0`
iwconfig wlan0 power off
$ sudo reboot
# or
$ sudo shutdown -r now
# check power management status, again
$ iwconfig
(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!
refs
https://www.raspberrypi.com/documentation/computers/remote-access.html
©xgqfrms 2012-2021
www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/16485330.html
未经授权禁止转载,违者必究!