Difference between revisions of "User:Saul/Open WRT"

From Organic Design wiki
(Created page for my documentation on setting up Open WRT on the Pi.)
 
m (Setup Network Via SSH)
Line 8: Line 8:
 
uci commit
 
uci commit
 
service network restart
 
service network restart
<source>
+
</source>
 
Then LuCI can be installed.
 
Then LuCI can be installed.
 
<source lang="bash">
 
<source lang="bash">
 
opkg update
 
opkg update
 
opkg install luci
 
opkg install luci
<source>
+
</source>

Revision as of 05:34, 20 February 2020

Setup Network Via SSH

When compiling Open WRT from source it may have no internet connectivity and the interface (LuCI) may not be installed.
Following the instructions from Open WRT's Docs we can connect via SSH:

uci set network.lan.ipaddr='192.168.2.200' # static address for this device
uci set network.lan.gateway='192.168.2.1' # Router ip
uci set network.lan.dns='192.168.2.1' # router dns or provider
uci commit
service network restart

Then LuCI can be installed.

opkg update
opkg install luci