Building OpenWrt for TP-Link WR840N(EU) v6.20 (Instructions)
English, Networking, Tutorials

Building OpenWrt for TP-Link WR840N(EU) v6.20 (Instructions)

DISCLAIMER: These instructions are provided in good faith, but the author does not guarantee the outcome, and is not responsible for any damage to you, your device, or anything else. The instructions were tested, but your mileage may vary.

Notice: This will build the image without LuCI, which is not supported because of the low RAM and Flash on this model. For more details see: [https://openwrt.org/supported_devices/432_warning](this page). You can log in to the router from a LAN port using ssh [email protected] with no password. Set a password with passwd root.

sudo apt update
sudo apt upgrade -y
sudo apt install -y build-essential libncurses5-dev python unzip python3-distutils
git clone https://github.com/milankragujevic/openwrt-wr840n-v620 openwrt/
cd openwrt

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

make menuconfig

Select MediaTek Ralink MIPS as Target System, MT76x8 based boards as Subtarget and TL-WR840N v6.20 as Target Profile. Choose Save then press Enter twice. Then select Exit.

To build, run these commands (replace 4 with the number of cores/threads on your computer. )

make download -j4
make -j4

In case of problems, remove -j4 and re-run make.

The output file is in ./bin/targets/ramips/mt76x8.

Author

Milan Kragujević

I’m a 19 year old programmer from Serbia. I’ve graduated the Electrotechnic School “Nikola Tesla” in Kostolac, as an “Electronics technician”, and am currently studying at Visoka škola strukovnih studija za informacione tehnologije - ITS (Information Technologies) in Belgrade, where I now live. I love programming, networking, electronics and DIY.

View Comments
Previous Post

5G ti neće "spržiti" mozak

Next Post

How to restore Original firmware on TP-Link WR840N v6.20