分类 折腾 下的文章

办公室网络20M商用,实属有点惨烈,加了个随身WIFI办公用:台式机继续可以连接原公司网络,使用打印机等,访问公司资源其它流量走随身WIFI,快速上网总结起来就是:设置IPV4的跃点,随身WIFI的设置为10,其它网络设置为比10大的数,20 30 40啥的。

安装python3apk updateapk add python3 gcc musl-dev linux-headers python3-dev安装 pipapk add py3-pip安装 psutilpip install psutil下载目录下的status-client-alpine.pymkdir -p /usr/local/ServerStatus/clientcd /usr/local/ServerStatus/client/wget https://github.com/ZherKing/ServerStatus-for-alpine/raw/main/statu......

需要开放端口ufw allow 21114:21119/tcpufw allow 8000/tcpufw allow 21116/udpsudo ufw enable然后一键wget https://raw.githubusercontent.com/techahold/rustdeskinstall/master/install.shchmod +x install.sh./install.sh安装完毕需要记录:Your IP/DNS Address is ......Your public key is ......配置文件/opt/rustdesk启动文件及自启/etc/sy......
在OpenWrt中,你可以使用/etc/init.d/目录下的脚本来实现启动和进程守护。以下是一个示例init.d脚本,将其保存为serverstatus:#!/bin/sh /etc/rc.common START=99 STOP=10 start() { echo "Starting serverstatus..." start-stop-daemon -S -b -m -p /var/run/serverstatus.pid -x /usr/bin/python3 -- /root/serverstatusclient.py } st......