[GCC 7.2 BUILD] Optimized TP-Link Archer C7 V2 AC1750 LEDE Firmware

Great, thanks! Considering there's currently a merge being discussed over here, I'll first wait and see where that goes before working on adding this before LEDE does. We currently do have a working FP integration, so I wouldn't consider this very urgent.

I'm not sure what to say. You don't share any logs or details but "LuCI is slow". It works fine on my end, although I never considered it to be "fast", neither on this build nor on vanilla LEDE and making LuCI snappy has never been the point of this build. You usually don't use it on a daily basis or at least not heavily, so as long as WiFi, WAN and NAT are fast, I don't think this matters much. I can't tell you why it magically works faster for you now either, but I'm glad it does.

1 Like

Btw new build is up - just small changes though. I dropped ssdk, so the errors/warnings that @dacarrs pointed out won't appear anymore, while Fast Path of course still works.

I also fixed the nightly build script. It didn't create any nightlies for the past 6 days - sorry about that. It will compile a new one tomorrow.

1 Like

I had no logs other than what you told me to ignore.

I did figure out the reason though. I didn't make any changes to the Archer C7 because they were my AP, but I did make changes to my router (different devices). I had basically block off 8.8.8.8 and 8.8.4.4 with a ACL because I had a Roku that I want to prevent from geolocating itself. And both AP was configured with a DNS of 8.8.8.8 and 8.8.4.4 . No reason for it to do a lookup, but for whatever reason, the APs was doing a DNS lookup whereever I click any screen. Don't ask me why the DNS matters since it's all IP anyway, but that's causing the "slowness".

Gi

Iam want buy one Archer c7 and Neves help for chope a best HD version, for use w Lede os V2 or V3 ?

Thanks

Trying to install support for a USB Wifi Adapter using Broadcom chip. The following errors show.. Any idea whats wrong ?

Installing kmod-brcmfmac (4.4.79+2017-01-31-2) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/kmod-brcmfmac_4.4.79+2017-01-31-2_mips_24kc.ipk
Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-brcmfmac:
  • kernel (= 4.4.79-1-f1c8486316ad7ce347b6f93bcb575539) * kernel (= 4.4.79-1-f1c8486316ad7ce347b6f93bcb575539) *
  • opkg_install_cmd: Cannot install package kmod-brcmfmac.

Yeah, that was something else and doesn't happen with the latest release.

That's interesting! Wouldn't have figured that out.

Yeah, the kernel packages of the repo this build uses are always compiled for the latest kernel versions and you'll get this error if you use a slightly different kernel version. The new nightly will be up in 4 hours and 30mins. You could upgrade to that and try again. Alternatively just run opkg with --force-depends to ignore dependency errors - it should work fine despite them.

You'd want an Archer C7 v2.

1 Like

Hello, today I tried this firmware on my v2. And these are my results (I only did bandwidth internet tests), my internet plan is 300mb, but due to lede hardware-nat lack of support, I am not able to get those speeds.

Archer C7 v2 LEDE 17.01.2

WIFI 5G - 138.9 Mb/s DOWN - 120.03 Mb/s UP
WIRED - 124.77 Mb/s DOWN - 191 Mb/s UP

Archer C7 v2 LEDE optimized snapshot

WIFI 5G - 204.39 Mb/s DOWN - 225.70 Mb/s UP
WIRED - 214.64 Mb/s DOWN - 314.40 Mb/s UP

So, this is a huge speed improvement. But I had to roll back to my previous LEDE 17.01.2 version because I couldn't install some kmod's that I need in order to be able to watch the television via iptv of my internet provider.

I tried with the snapshot, and also with the lastest nightly of today. And I had the same error for both firmwares. I also tried with the --force-depends option.

root@LEDE:~# opkg install --force-depends kmod-bridge
Unknown package 'kmod-bridge'.
Collected errors:
 * opkg_install_cmd: Cannot install package kmod-bridge.

root@LEDE:~# opkg install --force-depends kmod-ipt-nathelper-rtsp
Installing kmod-ipt-nathelper-rtsp (4.4.79+2.12-1) to root...
Downloading http://downloads.lede-project.org/snapshots/targets/ar71xx/generic/packages/kmod-ipt-nathelper-rtsp_4.4.79+2.12-1_mips_24kc.ipk
Configuring kmod-ipt-nathelper-rtsp.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-ipt-nathelper-rtsp:
 *      kernel (= 4.4.79-1-f1c8486316ad7ce347b6f93bcb575539) *

Could be possible to add these two kmod's (kmod-bridge and kmod-ipt-nathelper-rtsp) for the next version? :grin:

Thank you. This is an amazing work.

EDIT: I have been researching a little bit more and I finally get it to work. It looks like kmod-bridge is not longer necessary to avoid igmp snooping (I have to check this more), but I already installed kmod-ipt-nathelper-rtsp using --nodeps.

root@LEDE:~# opkg --nodeps install kmod-ipt-nathelper-rtsp
Package kmod-ipt-nathelper-rtsp (4.4.79+2.12-1) installed in root is up to date.
1 Like

Hi, I was just wondering if there's an obvious reason this: https://lede-project.org/docs/user-guide/netatalk_configuration would cause internet problems with this build? I'm a noob to LEDE, and I've tried resetting/following the guide 3 times, but every time I do I end up with connection problems. The router is able to ping external links fine, but computers on its network can't. I've tried enabling/restarting dnscrypt-proxy, but no luck. I feel like it could be a DNS problem but I'm not sure what to do. Does anyone have any ideas? :slight_smile:

It looks like things with Fast Path/SFE have stabilized - https://github.com/lede-project/source/pull/1269

Side-note: @r00t please let us know how we can send some coffee money your way!

Actually the PR you linked to was made by dissent1.
Gwlim patches are making more changes to the firmware but on the other hand it doesn't seem like he wants to merge them with upstream. He prefers apply > build > delete and start again approach.

Does anyone here made some tests regarding the actual performance on Archer C7 with and without SQM?

@joshlacal
To understand if it's a DNS problem, for example if you can ping 8.8.8.8 but not google.com, it's likely a DNS issue.

So to clarify you're able to reach a icmp ping from google.com and 8.8.8.8 on the router when logged in via ssh, but not from other computers attached to the archer c7v2?

When you reset (by reset i assume you mean factory defaults?) are you able to ping google.com from any clients attached to the archer c7v2? Does your computer stop being able to ping google.com only after installing avahi-utils & netatalk? or is it not even able to ping google.com on a client computer even before installing avahi-utils & netatalk?

I'm not too knowledgeable on AFP Netatalk, but reading through the guide you're following maybe your problem is this guide assumes you aren't using DNScrypt, and just a standard LEDE install. The guide you linked points to the file /etc/avahi/avahi-daemon.conf, in particular publish-dns-servers=192.168.1.1 and publish-resolv-conf-dns-servers=yes caught my attention. DNScrypt runs on port #5353 and not standard port 53. So perhaps try changing that? Also keep in mind dnscrypt does away with the normal resolve-conf. So if this is too complicated, try disabling and stopping DNScrypt service and reverting to the old native LEDE dns which is outlined in this post:

1 Like

Thanks to r00t for this impressive build, has installed and work pretty well on my V2 device.:blush:

@kelpknish Ahh thanks so much! Sorry for taking so long to respond. That was an easy fix. It turns out Avahi also uses 5353, so I just had to change the DNScrypt port to 5454 and the DNS forwarding in LuCI and now everything works perfectly! Thank you!!!

Can somebody build to Archer C5? Or... help me to build :slight_smile:
I'm building LEDE but I dont know to apply patches automatically.
Regards,

Hello,
Finally reached my Archer C7 V2, I can not wait to install this vs the LEDE, but before by security and avoid what happens with another router my a C50, that brick and I had not made a backup of the entire flash chip and ended up getting Without the original MAC.

I have to help my friends how to do a backup of the original F/W to TP-LINK before installing LEDE, I tried to get into SSH but it was not possible, so I would like guidance and / or a tutorial on how to do it These procedures. Reminding me that I use a Macbook to edit these files

Thank you all for the help.

TP-Link Archer C7 v2
LEDE Reboot SNAPSHOT r4684-0b7f7606dd / LuCI Master (git-17.220.63907-bbcf73f)

Just for information, found out that with enabled sqm-qos my C2 crush down on the switch to 1/10 wan speed by nearby 100% CPU. There are threads in the TP-Link forum where the C2 seems to do the same with their firmware and sqm-qos.
So i switched to the old qos model that run a bit more friendly, have the same throughput like my backup WDR3600/Lede.

Any chance of getting this build with dissent1's sfe patch? Maybe someone has one compiled already?

How do you get access via SSH with the factory firmware, is it possible?

After flashing the factory us firmware, it looks like some packages are missing, namely the kmod-gpio-button-hotplug needed to access the failsafe and reset. I have tried installing it separately, but getting Cannot Specify Dependencies.