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

From Organic Design wiki
m
m
Line 33: Line 33:
 
opkg install luci
 
opkg install luci
 
</source>
 
</source>
 +
 +
== Captive Portal Via NoDogSplash ==
 +
https://finaldie.com/blog/install-openwrt-on-raspberry-pi-1b-model/
 +
https://github.com/nodogsplash/nodogsplash/issues/465
 +
https://nodogsplashdocs.readthedocs.io/en/stable/install.html

Revision as of 08:27, 20 February 2020

Documentation for my experience attempting to setup and run Open WRT on a Raspberry Pi.
https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2708/

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.

Wifi Drivers

The wifi drivers for my wifi dongle (Ralink) were not pre-installed so running this installed them:

opkg update # update the package lists
opkg install kmod-rt2800-lib kmod-rt2800-usb kmod-rt2x00-lib kmod-rt2x00-usb
reboot

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

Captive Portal Via NoDogSplash

https://finaldie.com/blog/install-openwrt-on-raspberry-pi-1b-model/ https://github.com/nodogsplash/nodogsplash/issues/465 https://nodogsplashdocs.readthedocs.io/en/stable/install.html