OpenWrt Forum Archive

Topic: TL-WR841N V10 OpenWRT

The content of this topic has been archived between 23 Oct 2016 and 24 Apr 2018. Unfortunately there are posts – most likely complete pages – missing.

Jimmy8 wrote:

(BTW do not buy any 4MB router, there is NO room for any packages on it !!!! check "freifunk pages"
about cool router recommendations)

Can you point to the link to the freifunk pages with the router recommendations?

perfector wrote:

Thanks. I tried your build. The free space for new packages seem to be too less. Then I also did try this:
https://downloads.openwrt.org/snapshots … actory.bin
https://downloads.openwrt.org/snapshots … pgrade.bin

Almost same result again. Maybe r47894 problem?

thats normal since 4MB Flash has no space for non-SquashFS for opkg/etc.
thats why you need to use image builder to inject extra packages into bin image.

jamest42 wrote:

I have compiled a real 15.05 with the ar71xx patches from the gluon firmware project. So you can still install software and stuff after a while, which is a big problem with trunk.


md5sums
openwrt-15.05-ar71xx-generic-tl-wr841n-v10-squashfs-factory.bin
openwrt-15.05-ar71xx-generic-tl-wr841n-v10-squashfs-sysupgrade.bin
Custom fixed build 2015-11-17.zip used patches+config

You may need to shorten the filename to get the tp-link software to accept the file.

I also have not modified the source code except for the required patches.

However, there are of course no guarantees for anything.

//Update: Unfortunately, the kernel version is different from normal 15.05. So all packages that require a certain kernel version won't work. I will look into this as soon as possible.

Hello.
Have you made any progress with the kernel problem? I got on my WR841N V11 installed your version, modified by @maurer : https://forum.openwrt.org/viewtopic.php?id=61309
I have the same issue, trying to install kmod-gre package but it failes due to the kernel being different.
Thanks for your work.

(Last edited by zeoos on 23 Dec 2015, 14:16)

just upgrade to latest trunk v10 and then you'll be able to install any kmod you need

maurer wrote:

just upgrade to latest trunk v10 and then you'll be able to install any kmod you need

Trunk seems to have problems too. Especially, coova-chilli which I require is not working. But works well on 841n v9 with CC.

you only need the KMODs from trunk.
you can use other ipk packages from other versions like CC

zeoos wrote:
jamest42 wrote:

I have compiled a real 15.05 with the ar71xx patches from the gluon firmware project. So you can still install software and stuff after a while, which is a big problem with trunk.


md5sums
openwrt-15.05-ar71xx-generic-tl-wr841n-v10-squashfs-factory.bin
openwrt-15.05-ar71xx-generic-tl-wr841n-v10-squashfs-sysupgrade.bin
Custom fixed build 2015-11-17.zip used patches+config

You may need to shorten the filename to get the tp-link software to accept the file.

I also have not modified the source code except for the required patches.

However, there are of course no guarantees for anything.

//Update: Unfortunately, the kernel version is different from normal 15.05. So all packages that require a certain kernel version won't work. I will look into this as soon as possible.

Hello.
Have you made any progress with the kernel problem? I got on my WR841N V11 installed your version, modified by @maurer : https://forum.openwrt.org/viewtopic.php?id=61309
I have the same issue, trying to install kmod-gre package but it failes due to the kernel being different.
Thanks for your work.

IIRC v11 has 2 Power Amplifier for antennas, which needs special patching of driver or signal drops suddenly.

jamest42 wrote:

I have compiled a real 15.05 with the ar71xx patches from the gluon firmware project. So you can still install software and stuff after a while, which is a big problem with trunk.

Thank you for sharing this with us, much appreciated. I am trying to achieve the same with some custom files added to the firmware. First I want to be able to create the exact same firmware that you/Jamest42 created here. Usually I make use of the Image Generator, but due to the patches that you apply I think this is not possible.

Therefore, I went through OpenWrt build system – Installation and OpenWrt build system – Usage. I chose to make use of the 15.05 branch (Chaos Calmer). After that, I added the gluon patches to the directory target/linux/ar71xx/patches-3.18/ and copied your .config file to the main directory.

Unfortunately, when I run "make V=s" I get an error stating

Patch platform/0009-ar71xx-add-support-for-tp-link-wr740n-v5.0-EU.patch does not apply (enforce with -f)

Any idea what I am doing wrong? Perhaps I am making use of the wrong branch?

(Last edited by mpbuijs on 24 Dec 2015, 12:50)

New build from trunk (by me) without any space for packages tongue. (free 80kb)
Has qos and upnpd, does not have wps.
Any suggestions welcome, but this is a personal and not tested/ fresh of the compiler (img generator).


Onedrive dir

Built with:
GES:=luci luci-app-qos luci-app-firewall luci-base luci-lib-ip luci-lib-nixio luci-mod-admin-full luci-proto-ipv6  luci-theme-bootstrap miniupnpd qos-scripts base-files busybox dnsmasq dropbear firewall fstools hostapd-common ip6tables iptables iw jshn jsonfilter kernel kmod-ath kmod-ath9k kmod-ath9k-common kmod-cfg80211 kmod-gpio-button-hotplug kmod-ip6tables kmod-ipt-conntrack kmod-ipt-core kmod-ipt-nat kmod-lib-crc-ccitt kmod-mac80211 kmod-nf-conntrack kmod-nf-conntrack6 kmod-nf-ipt kmod-nf-ipt6 kmod-nf-nat kmod-ppp kmod-pppoe kmod-pppox kmod-slhc libblobmsg-json libc libgcc libip4tc libip6tc libjson-c libjson-script libnl-tiny libubox libubus libuci libxtables mtd netifd odhcp6c odhcpd opkg ppp ppp-mod-pppoe procd swconfig uboot-envtools ubox ubus ubusd uci usign wpad-mini

(Last edited by nicman23 on 2 Jan 2016, 16:20)

Hi

I am building images of 841N V10 using chaos_chamer. (Build System)
I want to know how to install patch of WiFi fix?

This is the tree structure:

vikas@OpenWRT-Firmware:~/jj/chaos_calmer$ ls target/linux/ar71xx/patches-3.18/
0025-ar71xx-add-support-for-TP-LINK-TL-WR841N-ND-v10.patch
0031-ar71xx-fix-ath79_soc_rev-value-for-QCA9531-ver.-2.patch
102-MIPS-ath79-Avoid-using-unitialized-reg-variable.patch
206-spi-ath79-make-chipselect-logic-more-flexible.patch
213-MIPS-ath79-fix-ar933x-wmac-reset.patch
220-add_cpu_feature_overrides.patch
300-MIPS-add-MIPS_MACHINE_NONAME-macro.patch
310-lib-add-rle-decompression.patch
401-mtd-physmap-add-lock-unlock.patch
402-mtd-SST39VF6401B-support.patch
403-mtd_fix_cfi_cmdset_0002_status_check.patch
404-mtd-cybertan-trx-parser.patch
405-mtd-tp-link-partition-parser.patch
407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch
408-mtd-redboot_partition_scan.patch
409-mtd-rb4xx_nand_driver.patch
410-mtd-rb750-nand-driver.patch
411-mtd-cfi_cmdset_0002-force-word-write.patch
412-mtd-m25p80-zero-partition-parser-data.patch
413-mtd-ar934x-nand-driver.patch
414-mtd-rb91x-nand-driver.patch
420-net-ar71xx_mac_driver.patch
422-dsa-trailer-tag-validation-fix.patch
423-dsa-add-88e6063-driver.patch
425-net-phy-at803x-allow-to-configure-via-pdata.patch
430-drivers-link-spi-before-mtd.patch
431-spi-add-various-flags.patch
432-spi-rb4xx-spi-driver.patch
433-spi-rb4xx-cpld-driver.patch
434-spi-ap83_spi_controller.patch
435-spi-vsc7385_driver.patch
440-leds-wndr3700-usb-led-driver.patch
441-leds-rb750-led-driver.patch
450-gpio-nxp-74hc153-gpio-chip-driver.patch
451-gpio-74x164-improve-platform-device-support.patch
452-gpio-add-gpio-latch-driver.patch
460-spi-bitbang-export-spi_bitbang_bufs.patch
461-spi-add-type-field-to-spi_transfer.patch
462-mtd-m25p80-set-spi-transfer-type.patch
463-spi-ath79-add-fast-flash-read.patch
464-spi-ath79-fix-fast-flash-read.patch
470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch
480-ar913x_wmac_external_reset.patch
490-usb-ehci-add-quirks-for-qca-socs.patch
500-MIPS-fw-myloader.patch
501-MIPS-ath79-add-mac-argument-to-ath79_register_wmac.patch
502-MIPS-ath79-export-ath79_gpio_base.patch
503-MIPS-ath79-add-flash-acquire-release.patch
504-MIPS-ath79-add-ath79_device_reset_get.patch
505-MIPS-ath79-add-ath79_gpio_function_select.patch
506-MIPS-ath79-prom-parse-redboot-args.patch
507-MIPS-ath79-prom-add-myloader-support.patch
508-MIPS-ath79-prom-image-command-line-hack.patch
509-MIPS-ath79-process-board-kernel-option.patch
510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch
520-MIPS-ath79-enable-UART-function.patch
521-MIPS-ath79-enable-UART-for-early_serial.patch
522-MIPS-ath79-add-ath79_wmac_register_simple-helper.patch
523-MIPS-ath79-OTP-support.patch
524-MIPS-ath79-add-ath79_wmac_disable_25ghz-helpers.patch
525-MIPS-ath79-enable-qca-usb-quirks.patch
601-MIPS-ath79-add-more-register-defines.patch
602-MIPS-ath79-add-openwrt-stuff.patch
603-MIPS-ath79-ap121-fixes.patch
604-MIPS-ath79-ap81-fixes.patch
605-MIPS-ath79-db120-fixes.patch
606-MIPS-ath79-pb44-fixes.patch
607-MIPS-ath79-ubnt-xm-fixes.patch
608-MIPS-ath79-ubnt-xm-add-more-boards.patch
609-MIPS-ath79-ap136-fixes.patch
610-MIPS-ath79-openwrt-machines.patch
611-MIPS-ath79-wdt-timeout.patch
612-MIPS-ath79-set-buffalo-txgain.patch
613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch
615-MIPS-ath79-ap83-remove-mtd-partitions.patch
707-MIPS-ath79-add-support-for-QCA953x-SoC.patch
718-MIPS-ath79-add-EPG5000-support.patch
727-MIPS-ath79-ar934x-wmac-revision.patch
728-MIPS-ath79-fix-restart.patch
735-MIPS-ath79-add-support-for-QCA956x-SoC.patch
736-MIPS-ath79-add-MC-MAC1200R-support.patch
736-MIPS-ath79-fix-chained-irq-disable.patch
737-MIPS-ath79-add-om5p-an-support.patch
738-MIPS-ath79-add-meraki-mr12-mr16-support.patch
799-MIPS-ath79-add-minibox-v1-support.patch
800-MIPS-ath79-add-RB922GS-support.patch
901-mdio_bitbang_ignore_ta_value.patch
902-unaligned_access_hacks.patch
903-MIPS-ath79-ubnt-rocket-m-xw-support.patch
904-MIPS-ath79-bitmain-antminer-s1-support.patch
904-phy-mdio-bitbang-prevent-rescheduling-during-command.patch
905-MIPS-ath79-bitmain-antminer-s3-support.patch
906-MIPS-ath79-add-blackswift.patch


I am using make V=99 and it is giving me error:
PunBB bbcode test

Hi

Just found that they have already incorporated all patches in chaos. So no need to do anything. Just build straight away.

Thanks!

Hello
Can anyone tell if there is a built for v10 which supports packages? specifically I'm interested in nodogsplash (NDS)
I've tried all previous builds - they have the kernel problem
Or am I missing something?

(Last edited by common.evonet on 6 Jan 2016, 22:25)

https://wiki.openwrt.org/toh/views/toh_fwdownload?dataflt[Model*~]=841&dataflt[Versions*~]=10

how to install update : Custom fixed build 2015-11-17.zip used patches+config ?

thank's

Did anyone revert back to stock firmware? TP-Link only offers "[...]boot[...]"-images so they have to be cut. Has anyone cut them correctly and reverted to stock firmware successfully?
If so - would he/she kindly share his/her image?

perfector wrote:
maurer wrote:

just upgrade to latest trunk v10 and then you'll be able to install any kmod you need

Trunk seems to have problems too. Especially, coova-chilli which I require is not working. But works well on 841n v9 with CC.


Has anyone been able to install coova chilli package? If so with what image?

Hello everybody.
I've just bought a WR841N (v10) to use as an OpenVPN client, but after flashing DD-WRT I found out it would only support PPTP.
My bad, I should have checked before buying (and flashing).

Now I've read that OpenWRT would support OpenVPN.
Since I cannot find any way to revert to stock firmware, is it possible to install OpenWRT directly on my "DD-WRTed" router?

Also, is there anyone out there willing to build a working image with openvpn support for me?
I've read all this thread but I did not understand much. sad

Thanks

sciamano72 wrote:

Hello everybody.
I've just bought a WR841N (v10) to use as an OpenVPN client, but after flashing DD-WRT I found out it would only support PPTP.
My bad, I should have checked before buying (and flashing).

Now I've read that OpenWRT would support OpenVPN.
Since I cannot find any way to revert to stock firmware, is it possible to install OpenWRT directly on my "DD-WRTed" router?

Also, is there anyone out there willing to build a working image with openvpn support for me?
I've read all this thread but I did not understand much. sad

Thanks

You can use this youtube guide, to revert to Original Tp Link Firmware, and then install the latest trunk image. (don´t know if it supports VPN, but you can try).

https://www.youtube.com/watch?v=0k1sxwX5pMk

You can use this youtube guide, to revert to Original Tp Link Firmware, and then install the latest trunk image. (don´t know if it supports VPN, but you can try).

https://www.youtube.com/watch?v=0k1sxwX5pMk

Thanks, this method worked! Easy!

Now I only need to install OpenWRT with OpenVPN support.
I think there are two paths:
1) install a "standard" version of OpenWRT and then follow this tutorial to install OpenVPN support every time the router boots or
2) build/compile an OpenWRT build with the OpenVPN packages included.

The second seems the right/best way to go, but also the more complicated one (probably) for my knowledge/resources.

I still might try but before I do, I need a few clarifications because even though I've read the entire thread there are a few things that are still unclear to me. For example:
- it's not clear whether patches are still needed or not.
- what packages should I add to get openvpn support (to make this router an openvpn client)

Thanks!!

(Last edited by sciamano72 on 20 Jan 2016, 16:22)

sciamano72 wrote:

Now I only need to install OpenWRT with OpenVPN support.
I think there are two paths:
1) install a "standard" version of OpenWRT and then follow this tutorial to install OpenVPN support every time the router boots or
2) build/compile an OpenWRT build with the OpenVPN packages included.

Thanks!!

  I use openvpn with v10 using this openwrt firmware that has openvpn already installed  https://forum.openwrt.org/viewtopic.php?id=54604           . The v10 versión is still experimental but after one month using it with PIA vpn  works perfect for me. Just go to dropbox downloads, then at the botton are the experimental ones.

tagore wrote:

  I use openvpn with v10 using this openwrt firmware that has openvpn already installed  https://forum.openwrt.org/viewtopic.php?id=54604           . The v10 versión is still experimental but after one month using it with PIA vpn  works perfect for me. Just go to dropbox downloads, then at the botton are the experimental ones.

Thank you so much! I'll try this!

Hy,

I'm making a image for WR841ND v10 and I have a few questions for you guys.
All I really need on my router are:

  • base router functionalities (WiFI included ofc)

  • wpa-supplicant

  • web interface (that would be LuCI afaik) with bootstrap theme

I make image following this tutorial, with ImageGenerator from this link
My repositories.conf file looks like this:

## Place your custom repositories here, they must match the architecture and version.
# src/gz designated_driver http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages
# src custom file:///usr/src/openwrt/bin/ar71xx/packages

src/gz chaos_calmer_base http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base
src/gz chaos_calmer_luci http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/luci
src/gz chaos_calmer_management http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/management
src/gz chaos_calmer_packages http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages
src/gz chaos_calmer_routing http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/routing
src/gz chaos_calmer_telephony http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/telephony

## This is the local package repository, do not remove!
src imagebuilder file:packages

for build my image I used:

make image PROFILE="TLWR841" PACKAGES="base-files busybox dnsmasq dropbear firewall fstools hostapd-common iptables ip6tables iw kernel kmod-ath kmod-ath9k kmod-ath9k-common kmod-cfg80211 kmod-gpio-button-hotplug kmod-ip6tables kmod-ipt-conntrack kmod-ipt-core kmod-ipt-nat kmod-lib-crc-ccitt kmod-mac80211 kmod-nf-conntrack kmod-nf-conntrack6 kmod-nf-ipt kmod-nf-ipt6 kmod-nf-nat kmod-ppp kmod-pppoe kmod-pppox kmod-slhc libblobmsg-json libc libgcc libip6tc libip4tc libiwinfo libjson-c libjson-script liblua libnl-tiny libubox libubus libubus-lua libuci libuci-lua libxtables lua luci luci-app-firewall luci-base luci-lib-ip luci-lib-nixio luci-mod-admin-full luci-proto-ipv6 luci-proto-ppp luci-theme-bootstrap mtd netifd odhcp6c odhcpd opkg ppp ppp-mod-pppoe procd rpcd swconfig uboot-envtools ubox ubus ubusd uci uhttpd uhttpd-mod-ubus usign wpa-supplicant wpa-cli"

The ouptut image size is 3932160bytes. And I have few concerns:

  1. Is the image to big for my router with 4MB flash?

  2. Do I need to include any patch? If yes, how do I do this?

  3. I think there are a lot of packages that I do not need, but don't know witch one are those packages?

  4. Is chaos calmer stable on wr841nd?

I really appreciate any reply!

(Last edited by mrk09 on 22 Jan 2016, 15:32)