OpenWrt

OpenWrt is a Linux distribution for all sorts of embedded devices like routers, residential gateways or smartphones. The Ben NanoNote or Neo FreeRunner are being shipped with OpenWrt. There is a lot of Hardware supported by OpenWrt, but the main focus of the project are routers and networking, especially for wireless scenarios. Instead of trying to cram every possible feature into the firmware before it is being flashed to the device, OpenWrt comes with a fully writable file system. Using the package manager opkg you can choose from more then 2000 software packages. The available flash memory is the only limit. Even LuCI, one of the three available web administration packages, can be comfortably installed and be removed again. Having the possibility to alter files of the operating system will lead to doing so, and for the occasions, when this leads to breakage, the failsafe mode can easily be triggered and the firmware repaired again. To make this less likely and also, to make the configuration as simple and straight forward as possible, and also to make the configuration done via web browser and SSH consistent, OpenWrt utilizes UCI.

OpenWrt Buildroot

The people to whom the writable file system does not offer enough possibilities to adapt the firmware to their needs can use OpenWrt Buildroot to build custom firmwares tailored to their demands:

Success with different routing protocols on OpenWrt

Running OLSR on OpenWrt

The Optimized Link State Routing Protocol is a protocol to connect mobile ad-hoc networks, also sometimes called wireless mesh networks. It collects data about which network members can communicate, and then calculates an optimized routing table.

Running BGP on OpenWrt

The Border Gateway Protocol is being used successfully by the WAFreeNet, after initial unsuccessful attempts with OSPF due to stability issues with route flapping.

The Quagga Routing Suite is an opensource software suite, and provides a stable implementation of BGPv4 for Unix platforms. It consists of a core zebra daemon, and daemons for supporting various routing protocols, including RIP, OSPF and BGP.

Any BGP node only needs to be configured with details of its immediate neighbouring nodes, and will then start exchanging routes. This means adding a new node to a network only requires BGP configuration on the new node, and its immediate neighbours, and routes to the new node will then propagate through then entire network.

For details on installing, configuring and running BGP on OpenWrt, see BGP Routing on OpenWrt with Quagga

Running B.A.T.M.A.N. Adv on OpenWrt

B.A.T.M.A.N. is developed and used by FreiFunk.


OpenWrt (last edited 2012-03-24 13:33:39 by stgt-5d84b93b)