初级开发教程

openwrt shell

阅读(3687)

杀掉udhcpc进程 ps | grep [u]dhcpc | awk '{print $1}' | xargs kill -9 查看已经连接的客户数 netstat -antp | grep :8010 | grep ESTABLISHED -c

初级开发教程

OpenWRT UCI

阅读(3648)

/etc/config/xtun config xtun 'network' option 'remote' '1.2.4.8' option 'port' '8010' #uci show xtun xtun.network=xtun xtun.network.remote=’1.2.4.8′ xtun....

中级开发教程

给LEDE/OpenWRT打补丁

阅读(6709)

参考资料 https://wiki.openwrt.org/doc/devel/patches https://lede-project.org/docs/guide-developer/use-patches-with-buildsystem 先安装quilt # apt-get install quilt ...