FAQ before installing OpenWrt

Which router should I buy?

  1. Please see the buyerguide for features you could be looking for.
  2. Please decide yourself which ones are important to you.
  3. Then ask in the OpenWrt Forum (or anywhere else) for personal recommendations.

How do I get started?

The beginner's guide should hook you up.

Will OpenWrt run on ...?

Please check current TableOfHardware for the list of supported devices.

How can I obtain a copy of OpenWrt?

Which version should I choose?

How do I install OpenWrt?

How often can I write on the flash chip?

Flash devices can be written to, at minimum, anywhere between 100,000 and 1,000,000 times (according to the manufacturers). Keep in mind we have a normal distribution and also, that Flash never ever just stops working, but merely distinct blocks do. I.e. you won't be able to write to them any longer, but you should be able to still read them.

How do I compile OpenWrt

Start here → toolchain

Why is everything so modular?

Because everything light-weight tends to be highly modular. Compare: lightweight tube vs. heavy weight tube

I do not like CLI (command-line interface)

There are claims all over the web, that OpenWrt can only be handled by command-line. There is a beginners guide available:CLI.

There is one WebUIs available LuCI, LuCI2 is in development.

Older versions of OpenWrt could support X-Wrt and Gargoyle The X Window System feed is probably broken/untested and outdated for a long time (status: BB, 2014)

What is the difference between brcm-2.4 and brcm47xx

  • brcm-2.4: heavily modified Linux kernel version 2.4, wl (or wl-mimo) proprietary driver, nas authentificator, wlc control utility
  • brcm47xx: vanilla Linux kernel version 2.6/3, b43 reverse engineered FOSS driver, wpad (hostapd + wpa_supplicant), standard linux utilites (iw, iwconfig, etc.)

It is reported as still debatable which wireless driver is better for stability and performance. brcm-2.4 is still available in the latest OpenWrt stable, but has been abandoned in trunk as of Rxxxxx.

*Note* At least as of 10.3.1 stable, it is possible to build 2.6 kernel with proprietary Broadcom drivers. No precompiled images have been posted yet though. If your target is brcm47xx, it will build 2.6 kernel, no matter what the wireless drivers are. — sup 2012/05/07 11:53

brcm47xx stability issue It has been reported that brcm47xx has issues when router is under heavy load.

How to enable athdebug and debug madwifi

From package/madwifi/Makefile:

ifdef CONFIG_MADWIFI_DEBUG
  MADWIFI_APPLETS += athdebug 80211debug
endif

So first enable the "Advanced configuration options (for developers)" item, then navigate to the kmod-madwifi submenu and tick "Enable compilation of debugging features" on or add/replace "CONFIG_DEVEL=y" plus "CONFIG_MADWIFI_DEBUG=y" manually in .config

How do I compile all OpenWrt packages?

CONFIG_ALL=y + make V=99 IGNORE_ERRORS=m

What is the difference between the different image formats?

  • a factory image is one built for the bootloader flasher or stock software flasher
  • a sysupgrade image (previously named trx image) is designed to be flashed from within openwrt itself

The two have the same content, but a factory image would have extra header information or whatever the platform needs. Generally speaking, the factory image is to be used with the OEM GUI or OEM flashing utilities to convert the device to OpenWrt. After that, use the sysupgrade images.

  • a uImage is is a tagged linux image expected by the u-boot loader
  • a tftp image is XXX
  • a vmlinux.bin image is XXX
  • a vmlinux.elf "image" is XXX

Back to top

doc/faq/before.installation.txt · Last modified: 2014/09/01 06:11 by spriver