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

From Organic Design wiki
m
m (Raspberry Pi Installation)
Line 1: Line 1:
 
Documentation for my experience attempting to setup and run Open WRT on a Raspberry Pi.<br>
 
Documentation for my experience attempting to setup and run Open WRT on a Raspberry Pi.<br>
https://downloads.openwrt.org/snapshots/targets/brcm2708/bcm2708/
+
 
 +
== Raspberry Pi Installation ==
 +
 
 +
=== Useful Links ===
 +
* https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
 +
* https://downloads.openwrt.org/snapshots/targets/
  
 
== Using the Package Manager ==
 
== Using the Package Manager ==

Revision as of 16:45, 20 February 2020

Documentation for my experience attempting to setup and run Open WRT on a Raspberry Pi.

Raspberry Pi Installation

Useful Links

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