随笔分类 - OpenWrt
摘要:达人教程之 OpenWrt 开发人员入门指南 https://iyzm.net/openwrt/624.html OpenWrt 作为一款基于 Linux 的嵌入式系统,很多功能特性其实与 Linux 一样,软件开发的难点在于解决交叉编译时出现的问题,为了新入门的开发人员更快的上手,特在此汇总一些最
阅读全文
摘要:安装命令: sudo apt-get install default-jre sudo apt-get install default-jdk 检查: java --version openjdk 11.0.15 2022-04-19 OpenJDK Runtime Environment (bui
阅读全文
摘要:logger "this is a test log." logger -t test "this is a test log." logger -t test -s "this is a test log." 对应输出: Jun 30 15:28:59 (none) user.notice roo
阅读全文
摘要:1.说明:<config> 指配置文件名,如dhcp,firewall,fstab等 uci set <config>.<section>=<section-type> 增加一个节点到文件中 uci set <config>.<section>.<option>=<value> 增加一个选项和值到节
阅读全文
摘要:top用时久,我推荐使用mpstat top -n1 | head -n2 Mem: 222328K used, 282096K free, 6216K shrd, 13760K buff, 27972K cached CPU: 18% usr 40% sys 0% nic 39% idle 0%
阅读全文
摘要:需要在Makefile里面添加一句 DEPENDS:=+kmod-nf-nat 思路:查看nf_nat.ko是哪个包编译出来的,然后把包名加到DEPENDS后面 find ./ -name nf_nat.ko
阅读全文
摘要:[OpenWrt Wiki] 在Virtualbox虚拟机中运行OpenWrt 其它版本下载:https://downloads.openwrt.org/https://downloads.openwrt.org/releases/21.02.1/targets/x86/64/https://arc
阅读全文
摘要:新建一个文件touch /etc/config/ddns 增加一个节点到文件中uci set ddns.newadd=config <config>:即配置文件,如ddns,ipv6等<section-type>: config,global,limit,class,group,system,其它字
阅读全文