Ath79 builds with all kmod packages through opkg [flow offloading]

Hello
Sorry for the cross-post but I think this is the correct thread and audience
I am adding support for tl-wr841-v8 in tiny targets
Apart from the work needed for dts and etc scripts, the target have been added in tiny-tp-link.mk with this entry:

define Device/tplink_tl-wr841-v8
  $(Device/tplink-4mlzma)
  ATH_SOC := ar9341
  DEVICE_TITLE := TP-LINK TL-WR841N/ND v8
  TPLINK_HWID := 0x08410008
  SUPPORTED_DEVICES += tl-wr841-v8
endef
TARGET_DEVICES += tplink_tl-wr841-v8

doing so the image generation works, but I only get:

menion@Menionubuntu:/media/storage/das1/temp/openwrt_ath79/bin/targets/ath79/tiny$ ls -la
total 3512
drwxr-xr-x 1 menion menion     280 Oct 16 16:52 .
drwxr-xr-x 1 menion menion       8 Oct 16 15:24 ..
-rw-r--r-- 1 menion menion     824 Oct 16 17:18 config.seed
-rw-r--r-- 1 menion menion    2893 Oct 16 17:23 openwrt-ath79-tiny-device-tplink-tl-wr841-v8.manifest
-rw-r--r-- 1 menion menion 3580071 Oct 16 17:23 openwrt-ath79-tiny-tplink_tl-wr841-v8-initramfs-kernel.bin
drwxr-xr-x 1 menion menion    3220 Oct 16 17:19 packages
-rw-r--r-- 1 menion menion     323 Oct 16 17:23 sha256sums
menion@Menionubuntu:/media/storage/das1/temp/openwrt_ath79/bin/targets/ath79/tiny$

This, looking at the size, should be sysupgrade, but shouldn't I get a factory and sysupgrade image, named with these suffix? I think that for some reason it stops before generating full sysupgrade, so most probably it miss of metadata

1 Like

I figured it out: the image was too big due to the attempt to add wpad full, and the makefile ignore this errors
Anyhow reverted to wpad-mini I made the image and it works.
Basic things so far are there, except for the image default leds and switch config, that apparently is not pick up
I have modified 01_leds

diff --git a/target/linux/ath79/base-files/etc/board.d/01_leds b/target/linux/ath79/base-files/etc/board.d/01_leds
index f04eb7f5c6..e1bc34fbce 100755
--- a/target/linux/ath79/base-files/etc/board.d/01_leds
+++ b/target/linux/ath79/base-files/etc/board.d/01_leds
@@ -78,7 +78,8 @@ tplink,tl-wr941-v4)
        ;;
 tplink,tl-wr740nd-v4|\
 tplink,tl-wr741nd-v4|\
-tplink,tl-wr842n-v2)
+tplink,tl-wr842n-v2|\
+tplink,tl-wr841-v8)
        ucidef_set_led_netdev "wan" "WAN" "tp-link:green:wan" "eth0"
        ucidef_set_led_switch "lan1" "LAN1" "tp-link:green:lan1" "switch0" "0x04"
        ucidef_set_led_switch "lan2" "LAN2" "tp-link:green:lan2" "switch0" "0x08"

and 02_network

diff --git a/target/linux/ath79/base-files/etc/board.d/02_network b/target/linux/ath79/base-files/etc/board.d/02_network
index 56eb42f65c..34e94b00c6 100755
--- a/target/linux/ath79/base-files/etc/board.d/02_network
+++ b/target/linux/ath79/base-files/etc/board.d/02_network
@@ -159,7 +159,8 @@ ath79_setup_interfaces()
                ucidef_add_switch "switch0" \
                        "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
                ;;
-       tplink,tl-wr842n-v2)
+       tplink,tl-wr842n-v2|\
+       tplink,tl-wr841-v8)
                ucidef_set_interface_wan "eth0"
                ucidef_add_switch "switch0" \
                        "0@eth1" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3"

But the leds config is empty and there is no switch entry in network (and thus no switch entry in LuCI)

1 Like

Anyone else having problems with the package mirror?

# opkg update
...
Collected errors:
 * opkg_download: Failed to download http://openwrt.it-neuhauser.de/4.14.67-1-b35fbde0a7eb854da54ccd985ccb2705/ath79/generic/packages/Packages.gz, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

I was trying to debug why i can't connect to a PPTP VPN, despite having the necessary modules installed and having nf_conntrack_helper enabled.

If anyone has a hint regarding either of these issues, i would be grateful

juppin, you stopped updating this great community build for a while. Though I am happy with it with my Archer C7 v2 so far, would you please continue updating it once a while?

Anyway, I am greatly appreciated for your great effort.

1 Like

i made a simple bash script that explains the procedure for building an image

Hello,
The server is down, will it return ?

Sorry dudes for my long absence...
My tiny server wasn´t recoverable, so all old builds are lost.

Here is a new and short tested build.

2018/11/08 (4.14.79-1-43cce72c3461ef542e4e7f743325e045)

Included features / packages (build with: -O2):

default build:
  • same packages as on openwrt snapshot / trunk builds
  • luci
minimal build:
  • same packages as on openwrt snapshot / trunk builds

Supported device images:

  • D-LINK DIR-825 B1
  • NETGEAR WNDR3700
  • NETGEAR WNDR3700 V2
  • NETGEAR WNDR3800
  • Phicomm K2T
  • TP-Link Archer C7 V2
  • TP-Link RE450 V2
  • TP-Link WDR3600
  • TP-Link WDR4300
  • TP-Link WDR4900 V2
  • TP-Link WR1043 V1
  • TP-Link WR1043 V2
  • TP-Link WR1043 V3
  • TP-Link WR1043 V4
  • TP-Link WR2543 V1
  • Ubiquiti UniFi AC Pro
  • Ubiquiti UniFi AC-Mesh
  • Ubiquiti UniFi AC-Mesh Pro
  • Ubiquiti UniFi AC-Lite

Download 4.14.79 (default build)

Download 4.14.79 (minimal build)

Feel free to give feedback or post your desired devices for the next build.

5 Likes

Thanks for the new build, however I cannot access LuCi with https anymore, ssh works perfect.

Edit: Never mind, I might have forgotten that LuCi is configured to be accessed through http instead, if there's no problem for others.

Yes i removed also luci-ssl because it will save a lot of space...
If you need it, simply install luci-ssl with opkg or from Software within luci.

If i should include more packages in my default build, feel free to post your desired packages and i'll consider to add it on the next build.

1 Like

Hi @juppin
I already tested recent 4.14 snapshots from Openwrt trunk in a WDR3600 with good results. ( 800 Mb/s LAN-WAN )
I'm looking for some tests using a Ubiquiti Routerstation Pro ( AR7161@720MHz and separated WAN eth0 and LAN eth1 RAM 128MB Flash 16MB ).
Could the Routerstation Pro be included in the next build ? Thanks in advance.

Hey @juppin, great work! just updated my Archer C7 v2 from an older LEDE image, and it worked smoothly. Just had to do some tweaking on wireless interfaces and dns. Only 15 minutes of downtime! (I was dumb enough to start the update while my kids were watching netflix.. they timed it for me with minutely updates on how much I was ruining their day.. :P)

Sorry for the newbie question here.

I have an Archer C7 v2 (EU) router and would love to try Openwrt/LEDE. Just have a couple of question I would appreciate some feedback on:

  • What are the downsides when compare to stock firmware - I saw this
    ' _s: The 802.11ac WLAN↔LAN throughput of Archer C7 2.0 with OpenWrt Chaos Calmer RC3 was measured to be substantially lower than that of the native firmware. (450 to 500Mbps with OpenWrt vs. 750 to 800Mbps with native firmware' Is this still the case with this build?

  • Hardware NAT isn't support but Flow Offloading mitigates this?

BTW I have a 80Mbs Fibre Connection, so I am assuming that the Hardware NAT isn't going to be much of an issue anyway

My main priority is that the hardwired PC doesn't suffer lower connection speed and that current wireless range isn't impacted

Thanks very much for info

Hello everyone...sorry for the newwbie question. I have TPLink 2543 and connect to the internet by L2TP. What packages i need install for my l2tp connection?

1 Like

New build

Changelog

  • kernel 4.14.80
  • added build for UBNT RouterStation Pro

2018/11/13 (4.14.80-1-3f6379f96c9cbdee2d544e6019d873e7)

Included features / packages (build with: -O2):

default build:
  • same packages as on openwrt snapshot / trunk builds
  • luci
minimal build:
  • same packages as on openwrt snapshot / trunk builds

Supported device images:

  • D-LINK DIR-825 B1
  • NETGEAR WNDR3700
  • NETGEAR WNDR3700 V2
  • NETGEAR WNDR3800
  • Phicomm K2T
  • TP-Link Archer C7 V2
  • TP-Link RE450 V2
  • TP-Link WDR3600
  • TP-Link WDR4300
  • TP-Link WDR4900 V2
  • TP-Link WR1043 V1
  • TP-Link WR1043 V2
  • TP-Link WR1043 V3
  • TP-Link WR1043 V4
  • TP-Link WR2543 V1
  • Ubiquiti UniFi RouterStation Pro
  • Ubiquiti UniFi AC Pro
  • Ubiquiti UniFi AC-Mesh
  • Ubiquiti UniFi AC-Mesh Pro
  • Ubiquiti UniFi AC-Lite

Download 4.14.80 (default build)

Download 4.14.80 (minimal build)

2 Likes

Thanks @juppin for the Routerstation Pro release.
Will test it this weekend.

One little glitch when trying to download the upgrade package via wget in ssh, basically it won't download due to the url is https. I have to manually change the url to http instead.

I'm still on kernel version 4.14.54.

Are there any material gains by upgrading? How can I know if major things have changed for a specific model?

Normally i do a redirect from http to https on all my websites, but exactly for this i allow also http connections to this subdomain.

At least if you use your device as gateway/router to the internet you should consider to upgrade to the latest version due to some security fixes.

And because my all older (< 4.14.79) target specific packages are lost due to a server crash, you can't install target specific packages for this old version.

Hi Juppin.
Do your builds no longer contain support for ath9k dynack ?

i just wanted to ask the same as Szkrabula!

i would like trunk builds with only luci and ath9k dynack added.

Thank you very much for your work! :slight_smile: