++++++++++++++++++++++++++
2、自启SSH:我是通过官网自启VNC的启发,发现居然有自启SSH
参考:https://www.raspberrypi.org/documentation/remote-a...
命令行:sudo raspi-config
进入raspi-config 界面 configuration
选择Interfacing Options.
看见SSH了吗?点击进去:would you like the SSH server to be enabled
yes 就会开机自启了
++++++++++++++++++++++++++
4、自启nat123
管理员权限打开/etc/rc.local
#!/bin/sh# rc.local# This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.# In order to enable or disable this script just change the execution# bits.# By default this script does nothing.cd /mnt ------自己的目录screen -S nat123 ----确保本地可执行screen,通过它单独调用当后台进程运行mono nat123linux.sh service -------要登入过一次才会记住帐号密码exit 0
系统——首选项——个人——启动应用程序
ADD——名称——命令 如图: