# 修改网络设置
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