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

From Organic Design wiki
m (Setup Network Via SSH)
(Using the Package Manager)
Line 1: Line 1:
 +
== Using the Package Manager ==
 +
Open WRT's default package manager is '''opkg''', the docs for it can be found [https://openwrt.org/docs/guide-user/additional-software/opkg here].<br>
 +
To install a new package the package lists must be updated,
 +
<source lang="bash">
 +
opkg update # update the package lists
 +
opkg install PACKAGENAME # install a new package.
 +
</source>
 +
 
== Setup Network Via SSH ==
 
== Setup Network Via SSH ==
 
When compiling Open WRT from source it may have no internet connectivity and the interface (LuCI) may not be installed.<br>
 
When compiling Open WRT from source it may have no internet connectivity and the interface (LuCI) may not be installed.<br>

Revision as of 05:37, 20 February 2020

Using the Package Manager

Open WRT's default package manager is opkg, the docs for it can be found here.
To install a new package the package lists must be updated,

opkg update # update the package lists
opkg install PACKAGENAME # install a new package.

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