TP-Link TL-WR841N(D), WA701N(D), WR740N(D), WR741N(D), WR743N(D), WR940N, WR941N(D) - LADUS / JULIA / Ultra Lite / VPN builds

has anybody gotten the wifi to work on the 841n ver 13 with the mediatek chip? i gave up months ago and am coming back to look and see if it works. the wifi was unstable then. the v13 is different than the rest and has 64mb ram and 8mb flash

Hi. I have a tplink801nd V1. Is there any light version of open wrt to use? I am interested in Open VPN but my router has run out of memory and I can't install anything.

Thanks

I would love to get an wr741v4 image with integrated wireguard support

https://openwrt.org/docs/guide-developer/build-system/install-buildsystem
https://openwrt.org/docs/guide-developer/build-system/use-buildsystem

.config.seed

CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_tiny=y
CONFIG_TARGET_ar71xx_tiny_DEVICE_tl-wr741nd-v4=y
# CONFIG_BUSYBOX_DEFAULT_FEATURE_IPV6 is not set
CONFIG_CLEAN_IPKG=y
# CONFIG_IPV6 is not set
CONFIG_KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_KERNEL_CC_OPTIMIZE_FOR_SIZE is not set
# CONFIG_KERNEL_CRASHLOG is not set
# CONFIG_KERNEL_DEBUG_FS is not set
# CONFIG_KERNEL_IPV6 is not set
# CONFIG_KERNEL_IP_MROUTE is not set
# CONFIG_KERNEL_MAGIC_SYSRQ is not set
# CONFIG_KERNEL_PRINTK is not set
# CONFIG_KERNEL_PRINTK_TIME is not set
CONFIG_KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE=3
CONFIG_LIBSODIUM_MINIMAL=y
CONFIG_LUCI_SRCDIET=y
# CONFIG_PACKAGE_MAC80211_DEBUGFS is not set
# CONFIG_PACKAGE_MAC80211_MESH is not set
CONFIG_PACKAGE_ip-tiny=y
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
CONFIG_PACKAGE_kmod-nls-base=y
CONFIG_PACKAGE_kmod-udptunnel4=y
CONFIG_PACKAGE_kmod-wireguard=y
# CONFIG_PACKAGE_libip6tc is not set
CONFIG_PACKAGE_libiwinfo-lua=y
CONFIG_PACKAGE_liblua=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-lua=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libsodium=y
CONFIG_PACKAGE_libubus-lua=y
CONFIG_PACKAGE_libustream-mbedtls=y
CONFIG_PACKAGE_lua=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-wireguard=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-lib-httpprotoutils=y
CONFIG_PACKAGE_luci-lib-ip=y
CONFIG_PACKAGE_luci-lib-jsonc=y
CONFIG_PACKAGE_luci-lib-nixio=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-wireguard=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
# CONFIG_PACKAGE_opkg is not set
CONFIG_PACKAGE_px5g-mbedtls=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_wireguard=y
CONFIG_PACKAGE_wireguard-tools=y
CONFIG_PACKAGE_wpad-basic=y
# CONFIG_PACKAGE_wpad-mini is not set
CONFIG_STRIP_KERNEL_EXPORTS=y
CONFIG_USE_MKLIBS=y
CONFIG_PACKAGE_libpthread=y

Folder with factory and sysupgrade image for wr741v4. LuCI over HTTPS, Wireguard app, pppoe and firewall
https://mega.nz/#F!LyZDGQpB!r9PLsgSCh62Xkhftu1y89Q

Hi All,
is there 18.06-based and stable fw for WR941N(D) with adblock (and maybe ipv6 or openvpn if it fits) included?
Or maybe someone can compile one for the community? Thanks!

@mixmax

I think nobody has built a custom build based on OpenWrt 18.06 for routers with 4MB of Flash, because the branch 18.06 of OpenWrt is very heavy due to the updates of the LuCi interface as of the packages, someone builds one for the TP-LINK WR841 but it turned out to be very unstable; since the same creator the frame in his topic that was not used.
The best option for routers with 4MB flash is to use LEDE (it will only support until January 2019, since it is planned to launch OpenWrt 19.01) we hope that the new versions of OpenWrt take into account the small routers, I think we can only use them in a very basic if we want Adblock, OpenVPN, SQM or Wireguard we will have to acquire a minimum router of 8MB of flash

That is not true. WR841 can run latest OpenWRT and it's stable.

I have build my custom OpenWRT 18.06.1 firmware (removed ipv6, opkg, ppp; changed the blocksize to 1024; added muninlite, sqm and upnp) and it runs 24/7 flawlessly on multiple 32/4 devices: WR741v4, WR841 (v8, v9, v11), WR941v3.

@gajdipajti
Yes, I understand your custom build based on OpenWrt 18.06.1 is for basic use as I explain, but having built one that has PPPoE / IPv6 enabled, extra SQM, UPnP, mbedtls for Adblock is what users are currently requesting

@0xCrypt
OpenWrt 18.06.1 works stably in the WR841 due to the speed of its CPU 500Mhz +, what community users ask is custom builds based on the branch 18.06.1 that include the packages that I mentioned earlier for slower devices with CPU 400Mhz- like the WR740 for example

1 Like

My bad, didn't read correctly

With SQM Activated ? I think not, maybe without, it should work without problems.

Never tried with SQM. Get a second router to do the SQM if it starts lagging.

Hi 0xCrypt! Thank you very much for your special compilation for me! It was a bit tricky to install because the device said it won't work, but with sysupgrade command in CLI the sysupgrade-version worked from Lede 17.01!

Unfortunately I haven't had the possibility to test the wireguard-tunnel so far, but it was possible to create at least the interface. So after testing I will report again.

Thank you very much again and maybe it's possible to provide this image also for others who wanna use wireguard on the tplink 741 v4.21

No problem.
I believe the v4 firmware I compiled works on v4.21 as well. iirc the numbers you see after the dot usually describe the region ie EU, US, South America etc.

I configured a wireguard tunnel with an wr841v9 through a wireless transit network. I just reach around 10 MBit/s through the tunnel while the shown datarate in the overwiew page says 65 MBit/s in wr740 v4.21 and between 72 MBit/s and 130 MBit/s in wr841 v9.

CPU load is in both devices under 1. It's between 0.4 and 0.7 in both devices during max traffic.

So does anyone know the bottle-neck?

is the wireless stable now?

Hey 0xCrypt, I wanted to install your firmware also on my TP-Link WA730RE v2. If you compare the hardware it's the same AR9331-AL1A and same speed, same flash/rom Openwrt-Wiki (unfortunately not up-to-date for v2). I read also that someone flashed Gargoyle successfully with the version of WR741n Garyole flashing WA730RE v2.

Do you think we could maybe just fix the HWID on your build or would you compile me a new one with Wireguard again? It should be the same Hardware.

I installed Openwrt 15.05 Chaos Calmer from the Wiki-Page and after that I tried to flash your compiled version too like I forced my wr740 to take it, but this time no luck.

root@OpenWrt:/tmp# sysupgrade openwrt-ar71xx-tiny-tl-wr741nd-v4-squashfs-sysupgr
ade.bin 
Invalid image, hardware ID mismatch, hw:07300002 image:07410004.
Image check 'platform_check_image' failed.
root@OpenWrt:/tmp# sysupgrade openwrt-ar71xx-tiny-tl-wr741nd-v4-squashfs-sysupgr
ade.bin -F
Invalid image type.
Image check 'platform_check_image' failed.

hi mate I can't patch the firmware because I'm currently using a computer with only one core running linux and the patch program has the exe extension
please try to follow my previous post and learn to build the firmware yourself so you can stay up to date