Archive for the ‘OpenWrt’ Category

Static IP on OpenWrt

January 23, 2012 Leave a comment

If you want your router to assign a static IP on a specific OpenWrt Machice you just have to run something like the following:

uci set network.lan.proto=static
uci set network.lan.ipaddr=
uci set network.lan.netmask=
uci set network.lan.gateway=
uci set network.lan.dns=

/etc/init.d/network restart

Also you can edit accordingly the /etc/config/network file.

Categories: OpenWrt, Tutorials