刷了armbian最好更换一下安装源,否则太慢,可以参考我的。
@arm-64:~$ cat /etc/apt/sources.list
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free
#deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free
#deb http://mirrors.163.com/debian buster main contrib non-free
#deb-src http://deb.debian.org/debian buster main contrib non-free
是的,采用的是lighttpd+cgi(python)的方式。使用的是wakeonlan命令。
if 'wolnas' in path:
mybuf=buf.replace("hahahaha","启动debian成功")
os.system("wakeonlan 00:E0:B4:1B:20:B6")
exit()