This commit is contained in:
Kiolow
2025-01-11 13:02:22 +08:00
parent 7b12a50f30
commit 3be4891959
8 changed files with 113 additions and 2 deletions
@@ -0,0 +1,10 @@
# 修改网络设置
uci set network.lan.proto='static' # 静态ip地址模式
uci set network.lan.ipaddr='192.168.50.7' # ip
uci set network.lan.netmask='255.255.255.0' # 子网掩码
uci set network.lan.gateway='192.168.50.1' # 网关
uci set network.lan.dns='223.5.5.5' # DNS
uci commit network
uci set dhcp.lan.ignore='1' # 禁用 LAN 接口的 DHCP
uci commit dhcp