随笔分类 - openwrt
openwrt
摘要:quilt命令详解 简介 quilt是ubuntu系统帮助我们管理patch的一个工具,具体参数及实例如下: Usage: quilt [--trace[=verbose]] [--quiltrc=XX] command [-h] ...quilt --versionCommands are:add
阅读全文
摘要:Working with patches https://openwrt.org/docs/guide-developer/toolchain/use-patches-with-buildsystem The build system integrates quilt for easy patch
阅读全文
摘要:DHCP 和 DNS 示例 https://openwrt.org/zh/docs/guide-user/base-system/dhcp_configuration This article relies on the following: Accessing web interface / co
阅读全文
摘要:使用spi-gpio-custom模块配置SPI总线 来源 https://www.xuzhe.tj.cn/index.php/2023/10/26/spi-gpio-customspi/ 参考专栏 https://www.zhihu.com/column/c_1698084667767709696
阅读全文
摘要:netswitch_ipv4 usr@USR-G816:~# cat /sbin/netswitch_ipv4.sh#!/bin/sh #filename: netswitch_ipv4.sh . /lib/auto.conf #LOGG_STYLE="tty" LOGG_STYLE="file"
阅读全文
摘要:uci rpc 参考 https://zhuanlan.zhihu.com/p/648654423参考 https://github.com/openwrt/luci/wiki/JsonRpcHowTo参考 https://openwrt.org/docs/techref/ubus参考 https:
阅读全文
摘要:OpenWRT集成busybox配置项的流程 来源 https://www.openwrt.pro/post-613.html 1、研究背景 我们在开发的过程中可能需要移植OpenWRT上没有的软件包,而这些软件包又比较特殊。例如,像busybox那样自带kconfig配置文件供生成菜单配置界面的软
阅读全文
摘要:LuCI2开发入门指南 来源 https://www.openwrt.pro/post-558.html 参考 https://iyzm.net/openwrt/624.html LUCI界面 OpenWrt 的界面其实就是网页界面,默认是由 uhttpd 服务器承载,之所以叫做 LUCI ,因为这
阅读全文
摘要:uhttp luci cgi-bin 自定义输出内容 来源 https://www.cnblogs.com/osnosn/p/17131543.html 参考 【Example of web interface using uHTTPd and Lua】 【Lua 5.1 Reference Man
阅读全文
摘要:ip route / ip rule /iptables 配置策略路由 来源 https://zhuanlan.zhihu.com/p/144585950 一,路由策略(使用ip rule命令操作路由策略数据库) 基于策略的路由比传统路由在功能上更强大,使用更灵活,它使网络管理员不仅能够根据目的地址
阅读全文
摘要:向MIPS架构移植软件之大小端问题 来源 https://tupelo-shen.github.io/2020/10/23/MIPS%E6%9E%B6%E6%9E%84%E6%B7%B1%E5%85%A5%E7%90%86%E8%A7%A38-%E5%90%91MIPS%E7%A7%BB%E6%A4
阅读全文
摘要:miniupnpd config 来源 https://blog.csdn.net/u011641885/article/details/49305373 UPnP全名是Universal Plug and Play,UPnP 最大的愿景就是希望任何设备只要一接上网络,所有在网络上的设备马上就能知道
阅读全文
摘要:SIM卡ICCID编码规则 来源 https://www.zhihu.com/question/51968777 2018.09更新中国大陆PLMN数据,src:Mobile country code 移动白卡:00101 电信白卡:46099 2018.03.28更新: 根据百度百科的更新,中国三
阅读全文
摘要:jsonfilter 和 jshn.sh 来源 https://blog.csdn.net/weixin_39637151/article/details/110610608 OpenWRT下自带了两个处理JSON文件的工具。 工具一:/usr/bin/jsonfilter 运行/usr/bin/j
阅读全文
摘要:JSONPath - XPath for JSON see https://goessner.net/articles/JsonPath/ # JSONPath - XPath for JSON A frequently emphasized advantage of XML is the avai
阅读全文
摘要:uhttp luci simple-app see https://forum.openwrt.org/t/rest-api-supported-in-openwrt/17210/6 You probably do want Luci, or at least to take a look at h
阅读全文
摘要:Udhcpc.user script documentation and how to hotplug for DHCP events https://forum.openwrt.org/t/udhcpc-user-script-documentation-and-how-to-hotplug-fo
阅读全文