Build for TP-Link TL-WR841N(D) [all versions]

Amazing, It is very helpful to see instructions of how you achieve the modifications and that helpful notes too. Thanks!

I have a 841nv8 router with 8M flash and 64M memory ,do you know how to build 8M image for it?

Hey guys, Im using the build posted on OP.
Can someone tell me how to enable dnscrypt? Its not enabled out of the box.

Thanks in advance.

edit- Tried to install dnscrypt-proxy but apparently im out of space.

I suggest you need extroot before

You might read this http://www.kuchikamizake.net/lede-tp-link-tl-mr3020-external-rootfs or this https://wiki.openwrt.org/doc/howto/extroot after that, install all of the package what do you want

External storage? This router doesnt even have usb port.

You need to build your own image... In that way you will be able to add desired packages and remove unwanted, this is far better in matter of space saving than opkg install...

build process it is easy, you just need a debian X86-64, can be a virtual machine too, Build is not the same as compile, it is very fast, you will be able to choice the packages that you want to add and the ones you want to remove from the .bin firmware image. Then you do a sysupgrade to that file (it is easier to do if you upload using ftp to a location and then use wget to /tmp from your Router...

Try https://lede-project.org/docs/guide-developer/quickstart-build-images Let me know if you need help.
When you get successfully the .bin images you need to follow https://lede-project.org/docs/user-guide/imagebuilder in order to customize the list of desired packages.

You could also try a community user build:

see listings: seems that LADUS and JULIA comes with DNSCrypt

This user was also trying to build his own images Build own LEDE for TL WR841N

1 Like

DNSCrypt: I recommend to build your own image

Here is the plan for the next release:

  • LEDE master instead of 17.01
  • GCC 7 instead of 6
  • Add WireGuard which offers 2x+ the performance of OpenVPN
1 Like

@braian87b, @amq: Thanks a lot guys.

1 Like

I'd recommend reading this too:
https://lede-project.org/meta/infobox/432_warning
https://lede-project.org/faq/before_installation#which_packages_can_i_safely_remove_to_save_space
https://lede-project.org/docs/guide-developer/use-buildsystem

I've never thanked you, so I will do now, thanks @amq for your work and effort, I've used your builds some time ago multiple times and they worked very great :slight_smile:

any news for support for version v13 of thewr841n?
I must urgently develop a custom firmware for this model

https://git.lede-project.org/24043a0d2e01b9843c0dc529205b3b0bc7ecbbf9

@amq

Hi, I think that this could be interesting add to your builds: How to read TP-Link factory wireless pin from flash - art

It set factory SSID and KEY, the ones from bottom-label.

hi all,

Im new and kinda also new in flashing custom firmware. I understand the basic but would like to try the new lede project. Wonder will this custom build able to use it as a repeater? I am using dd-wrt and factory firmware but it seems the wifi will not last over 3-7days before it crashes. It works fine after reboot, so I would like to try lede to see if I can make my 841 a bit more reliable.
I have a 841 V9, any advice on flashing or patching would be greatful.

Would it be possible to include dnssec at least through dnsmasq-full? Unbound wouldn't work because of lack of space I think.
Thanks.

hello,
I tried to compile the bin file for the model wr841n V12 by following this tutorial : https://www.radiusdesk.com/docuwiki/user_guide/md_on_lede#adding_the_meshdesk_package
but without result !!!! all bin files are created except for that of the model wr841n !!!! Why !!!??? Can anybody help me please.
Think's

If images are not created during compilation, the reason is oftentimes that too many packages have been selected and the resulting image is too big to fit into the flash of your device. Since TL-WR841N v12 has only 4MB flash, this happens quite easily.

Start with a standard configuration, i.e. no additional packages selected at all. After compilation, images should be present.

After this, you can start to add packages, one by one (!!!), followed by a new compile step after each newly selected package. After each successful compilation, check if the images have been created.

Suggested reading (yes, you should read them all and thoroughly.):

think you tmomas i will try now .

Howdy, Would you mind uploading the version with adblock again? the dropbox gives a 404 :frowning:

Good afternoon. I wanted to ask you a question about a new lede for a tp link 841 v 8. You get to compile the firmware for the tp link yourself, and you do not accidentally have a fresh firmware for tp link 841 v8 ??? If there is a skinte, please I'll be very grateful.

Hello. Wanted to ask You about firmware for TL-WR841N-v8. Do you happen to have fresh firmware 17.01.4 that such functions if is throw off please the reference where I could download. I would be very much grateful, and sorry for my English. Sharing a custom build I've created for my own use:

  • LEDE Reboot
  • LuCI with https
  • IPv6 and PPPoE
  • MiniUPnP
  • OpenVPN with mbed TLS
  • QoS
  • DDNS
  • Wget with https
  • Reghack (WiFi channels 12 and 13)
  • LuCI''s Minified CSS and JS
  • Compiled with GCC 6.3
  • Removed kernel debugging
  • Nothing else has been touched. Basically, it is a 'make defconfig' + profile + the mentioned above
  • Free ROM: 76 KB
  • OpenVPN AES-128-CBC speed: 12Mbs/12Mbs (measured on v8 downloading ubuntu via a torrent)