OpenWRT
an open-source Linux distribution aimed at routers. - openwrt.org / r/openwrt
Raspberry-pi support
- Raspberry Pi as a home router / OpenWrt installation
- OpenWrt installation - for Raspberry Pi 4, you need to download the latest development build.
- get rpi-4-ext4-factory.img.gz, unzip it
- copy image on sd card,
dd if=rpi-4-ext4-factory.img of=/dev/mmcblk0 bs=4096 ; sync
- expand partition
- OpenWrt installation - for Raspberry Pi 4, you need to download the latest development build.
- edit set ip in /etc/config/network
Dropbear key-based authentication
Webserver GUI
Tools
Temperature Monitoring
install Luci statistics, collectd and especially collectd mod sensors and thermal
Network
Bandwidth policy
- SQM - ‘opkg install luci-app-sqm’
Monitor home network traffic
Network Ad Blocking with Pi-hole and OpenWrt
Wifi
- Compile drivers for …
- It’s not an easy thing to do since OpenWrt is not set up to let you compile things inside the device, you can only use the build system to cross-compile.
- OpenWrt does not support dkms system for building and using out-of-tree Linux drivers so you cannot use that source but you would need to get a straight kernel patch and adapt it to the kernel used in OpenWrt, that’s all sorts of painful.
- Setting up a Raspberry Pi as a WiFi access point
- Create a routed Access Point with Raspberry Pi and OpenWrt
- Secure and turn on Wi-Fi
- OpenWRT and WLAN-USB-Sticks
- How to setup a RTL881cu USB Wifi adapter with the Raspberry Pi 4
- External Antenna / 1 / 2
Atlernative setup
Written on July 14, 2017, Last update on May 22, 2021
raspberry-pi
network
security
wifi
ssh