Skip to main content

uci comand on openwrt

write contents here

How to

uci配置查看命令

uci show network

设置lan网络

uci set network.lan.proto='static'  
uci set network.lan.ipaddr='192.168.50.100'
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'
# 生效网络设置
uci commit network
# 重启网络
/etc/init.d/network reload

References