xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/remote-access/remote-access-introduction.adoc

https://www.raspberrypi.com/documentation/computers/remote-access.html



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2022-07-16 21:27  xgqfrms  阅读(23)  评论(1编辑  收藏  举报