How To Build openwrt for WR841N on linux from source codes

Posted by figo on February 24, 2016

First, setup build environment, different linux distribution use different method. ignore… Next, fetch the openwrt surce code

# git clone git://git.openwrt.org/openwrt.git

Next, install extra packages

# ./scripts/feeds update -a
# ./scripts/feeds install -a

Next, config the source codes

# make menuconfig
Target System---AR71xx/AR7240/AR913x/AR934x
Target Profile---TP-LINK WR841N/ND
LuCI—>Collections—– <*> luci

Next, build

# make V=99

outputs are under ./bin