Changes since v2.1: 1228b1d README 8cd7a4a wireguard/netifd loose ends d26ed92 file_contexts.subs_dist b756046 tmux and htop rules dcb983a various 2c03fd4 conf.cil: netlink_xperm ee8d6d3 blkid fdfc313 (tag: v2.5) dnsmasq b66a3d2 do_stage2 related 5e13212 more do_stage2 related c5bea19 absolute paths 84ed620 various hacks 6b43706 (tag: v2.4) mtdstordev nand 9c6bfe5 mtdstordev: nand install 2e1c55a mtdblock supposedly for nor 58dd1bc blockd 633f99e pciutils 99e82ec README e7e65f2 ethtool 426537f lspci becac0d lspci 8418000 surpress leaks a892349 hotplugcall 4daddc6 f2fstools 385feb7 pciutils rules 295e128 lspci and picocom skels d2088a6 netifd and ipcalc c7f123e adds uqmi sysagent aeb416e hotplugcall and adds cdc serial 35b5afd rpcd 6eb727d ucode and netifd d299acd blkid and modem serial 1c3cc50 adds pstore nodedev 4503902 showed up on bpi r4 (boot from sd) d0dba85 (tag: v2.3) sandbox 647777f sandbox 6b10e8a sandbox d276333 sandbox 3e1e232 sandbox aa5cc92 sandbox f02a0a6 sandbox ddc2c12 sandbox 2242c9e sandbox e763f2d sandbox cb1239a sandbox 449ad9a sandbox 1ec532b sandbox 6cef851 sandbox b8b5522 sandbox 95f0bb6 sandbox 2bf87a9 (tag: v2.2) sandbox stordev 74bf2e3 README 5f1640c silenced.type loose ends a80682a README 5664b1a uci: /tmp/run/uci overrides 73c4e6a sandbox de9a088 sandbox 8c51986 sandbox 0fe32da sandbox 68e376b sandbox fe59dfa sandbox 5d16966 sandbox cf9a186 adds sandbox domain 77bd3a4 adds silenced.type ff3ff8f README 73e3be8 dnsmasq: /etc/dnsmasq.hosts 2b3491c Revert "adds tmux" 9fe54dd adds tmux bc34b62 misc.cil be a bit more specific because usually dos is not supported 26a4784 sshsftpserver: gets attributes of fs 9510bc0 rename vdstordev and blockmount transition 13960b4 cgiscript agent: anon_subj_type_transition e69687f README fixes a2bca07 README updates 0cc10ff vdastordev: adds one more partition 3867574 blkid adds alternative --cache-file 009b441 blkid run file f9b75d0 README: adds blkid to baseline Run-tested: mediatek-filogic-bananapi_bpi-r4 Signed-off-by: Dominick Grift <dominick.grift@defensec.nl>
OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.
Sunshine!
Download
Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.
If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.
An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:
Development
To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.
Requirements
You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.
binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.7+ rsync subversion unzip which
Quickstart
-
Run
./scripts/feeds update -a
to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default -
Run
./scripts/feeds install -a
to install symlinks for all obtained packages into package/feeds/ -
Run
make menuconfig
to select your preferred configuration for the toolchain, target system & firmware packages. -
Run
make
to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.
Related Repositories
The main repository uses multiple sub-repositories to manage packages of
different categories. All packages are installed via the OpenWrt package
manager called opkg
. If you're looking to develop the web interface or port
packages to OpenWrt, please find the fitting repository below.
-
LuCI Web Interface: Modern and modular interface to control the device via a web browser.
-
OpenWrt Packages: Community repository of ported packages.
-
OpenWrt Routing: Packages specifically focused on (mesh) routing.
-
OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).
Support Information
For a list of supported devices see the OpenWrt Hardware Database
Documentation
Support Community
- Forum: For usage, projects, discussions and hardware advise.
- Support Chat: Channel
#openwrt
on oftc.net.
Developer Community
- Bug Reports: Report bugs in OpenWrt
- Dev Mailing List: Send patches
- Dev Chat: Channel
#openwrt-devel
on oftc.net.
License
OpenWrt is licensed under GPL-2.0