OpenWrt Forum Archive

Topic: Support for TP-Link Archer C2600

The content of this topic has been archived between 29 Mar 2018 and 6 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Thank you HomerSp. I needed quit a few boot ups. It just hanged without responding.

Now it runs with usb and led support! Very good.
But I don't see the 2.4ghz wlan adapter in luci?

Rocket wrote:

Thank you HomerSp. I needed quit a few boot ups. It just hanged without responding.

Now it runs with usb and led support! Very good.
But I don't see the 2.4ghz wlan adapter in luci?

I've noticed the same boot issues after doing a sysupgrade, not really sure what's going on there, but we may need serial access to find out why.

Haven't seen the 2.4ghz issue myself - it's working perfectly for me. Did you try doing a reset?

After a reboot the 2.4ghz seem to be working just fine. wink

Rocket wrote:

@arokh very impressive ROM, it works very well.
I'm trying to get USB working but with no luck so far. I'm not sure what the problem is. When I insert a usb stick, I don't see any new device under /dev and nothing new in dmesg.

When I call "lsusb" I get the following error:
unable to initialize libusb: -99

This error seems to happen when no USB controllers is detected.

I've added some missing modules for usb3 and led support in my latest build.

arokh wrote:

I've added some missing modules for usb3 and led support in my latest build.

Thank you for the new build, usb and the leds are working fine. wink

Cool thanks for the feedback.

Here is the output from the openssl test:

root@OpenWrt:~# openssl speed md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /tmp/sslspeed
Doing md5 for 3s on 16 size blocks: 825954 md5's in 2.96s
Doing md5 for 3s on 64 size blocks: 764447 md5's in 2.99s
Doing md5 for 3s on 256 size blocks: 585125 md5's in 3.00s
Doing md5 for 3s on 1024 size blocks: 301181 md5's in 2.99s
Doing md5 for 3s on 8192 size blocks: 54299 md5's in 3.00s
Doing sha1 for 3s on 16 size blocks: 759748 sha1's in 3.00s
Doing sha1 for 3s on 64 size blocks: 570920 sha1's in 3.00s
Doing sha1 for 3s on 256 size blocks: 319524 sha1's in 3.00s
Doing sha1 for 3s on 1024 size blocks: 116056 sha1's in 3.00s
Doing sha1 for 3s on 8192 size blocks: 16690 sha1's in 3.00s
Doing sha256 for 3s on 16 size blocks: 1200214 sha256's in 3.00s
Doing sha256 for 3s on 64 size blocks: 743136 sha256's in 3.00s
Doing sha256 for 3s on 256 size blocks: 345392 sha256's in 3.00s
Doing sha256 for 3s on 1024 size blocks: 110575 sha256's in 3.00s
Doing sha256 for 3s on 8192 size blocks: 15013 sha256's in 3.00s
Doing sha512 for 3s on 16 size blocks: 261343 sha512's in 3.00s
Doing sha512 for 3s on 64 size blocks: 262030 sha512's in 3.00s
Doing sha512 for 3s on 256 size blocks: 94463 sha512's in 3.00s
Doing sha512 for 3s on 1024 size blocks: 32354 sha512's in 3.00s
Doing sha512 for 3s on 8192 size blocks: 4532 sha512's in 3.00s
Doing des cbc for 3s on 16 size blocks: 3479963 des cbc's in 3.00s
Doing des cbc for 3s on 64 size blocks: 903048 des cbc's in 2.99s
Doing des cbc for 3s on 256 size blocks: 227816 des cbc's in 3.00s
Doing des cbc for 3s on 1024 size blocks: 57349 des cbc's in 3.00s
Doing des cbc for 3s on 8192 size blocks: 7166 des cbc's in 3.00s
Doing des ede3 for 3s on 16 size blocks: 1292857 des ede3's in 2.99s
Doing des ede3 for 3s on 64 size blocks: 328014 des ede3's in 3.00s
Doing des ede3 for 3s on 256 size blocks: 82258 des ede3's in 3.00s
Doing des ede3 for 3s on 1024 size blocks: 20597 des ede3's in 2.99s
Doing des ede3 for 3s on 8192 size blocks: 2569 des ede3's in 3.00s
Doing aes-128 cbc for 3s on 16 size blocks: 5571483 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 64 size blocks: 1572057 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 256 size blocks: 409795 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 1024 size blocks: 103533 aes-128 cbc's in 3.00s
Doing aes-128 cbc for 3s on 8192 size blocks: 12969 aes-128 cbc's in 3.00s
Doing aes-192 cbc for 3s on 16 size blocks: 4964156 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 64 size blocks: 1373511 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 256 size blocks: 351126 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 1024 size blocks: 89463 aes-192 cbc's in 3.00s
Doing aes-192 cbc for 3s on 8192 size blocks: 11222 aes-192 cbc's in 3.00s
Doing aes-256 cbc for 3s on 16 size blocks: 4491772 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 64 size blocks: 1246000 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 256 size blocks: 322247 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 1024 size blocks: 80978 aes-256 cbc's in 3.00s
Doing aes-256 cbc for 3s on 8192 size blocks: 10141 aes-256 cbc's in 3.00s
Doing 2048 bit private rsa's for 10s: 248 2048 bit private RSA's in 10.00s
Doing 2048 bit public rsa's for 10s: 8791 2048 bit public RSA's in 10.00s
Doing 2048 bit sign dsa's for 10s: 873 2048 bit DSA signs in 10.01s
Doing 2048 bit verify dsa's for 10s: 699 2048 bit DSA verify in 10.01s
OpenSSL 1.0.2e 3 Dec 2015
built on: reproducible build, date unspecified
options:bn(64,32) rc4(ptr,char) des(idx,cisc,2,long) aes(partial) blowfish(ptr) 
compiler: arm-openwrt-linux-muslgnueabi-gcc -I. -I.. -I../include  -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -I/store/buildbot/slave/ipq806x/build/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.11_eabi/usr/include -I/store/buildbot/slave/ipq806x/build/staging_dir/target-arm_cortex-a9+neon-vfpv4_musl-1.1.11_eabi/include -I/store/buildbot/slave/ipq806x/build/staging_dir/toolchain-arm_cortex-a9+neon-vfpv4_gcc-5.2.0_musl-1.1.11_eabi/usr/include -I/store/buildbot/slave/ipq806x/build/staging_dir/toolchain-arm_cortex-a9+neon-vfpv4_gcc-5.2.0_musl-1.1.11_eabi/include/fortify -I/store/buildbot/slave/ipq806x/build/staging_dir/toolchain-arm_cortex-a9+neon-vfpv4_gcc-5.2.0_musl-1.1.11_eabi/include -znow -zrelro -DOPENSSL_SMALL_FOOTPRINT -DHAVE_CRYPTODEV -DOPENSSL_NO_ERR -DTERMIOS -Os -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=neon-vfpv4 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=soft -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -fpic -fomit-frame-pointer -Wall
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
md5               4464.62k    16362.75k    49930.67k   103146.94k   148272.47k
sha1              4051.99k    12179.63k    27266.05k    39613.78k    45574.83k
des cbc          18559.80k    19329.46k    19440.30k    19575.13k    19567.96k
des ede3          6918.30k     6997.63k     7019.35k     7053.96k     7015.08k
aes-128 cbc      29714.58k    33537.22k    34969.17k    35339.26k    35414.02k
aes-192 cbc      26475.50k    29301.57k    29962.75k    30536.70k    30643.54k
aes-256 cbc      23956.12k    26581.33k    27498.41k    27640.49k    27691.69k
sha256            6401.14k    15853.57k    29473.45k    37742.93k    40995.50k
sha512            1393.83k     5589.97k     8060.84k    11043.50k    12375.38k
                  sign    verify    sign/s verify/s
rsa 2048 bits 0.040323s 0.001138s     24.8    879.1
                  sign    verify    sign/s verify/s
dsa 2048 bits 0.011466s 0.014320s     87.2     69.8
root@OpenWrt:~# echo "|" `awk 'match($0,/r[0-9]+/) {print substr($0,RSTART,RLENGTH)}' /etc/banner` `awk -v FS=": " -v ORS="" '/(Processor|BogoMIPS|Hardware|machine|cpu model|system type)/ { print "| " $2 
" " } END { print "" }' /proc/cpuinfo` `awk -v ORS="" '$1 ~ /OpenSSL/ {print "| " $2 " |"} $1 ~ /(md5|sha)/ {print "  " $5 " |"} $1 ~ /(des|aes)/ {b = b "  " $6 " |"} $1 ~ /(rsa|dsa)/ {print b "  " $6 " |
 " $7 " ";b=""} END { print "|" }' /tmp/sslspeed | sed 's/\.\(..\)k/\10/g'`
| r47961 | ARMv7 Processor rev 0 (v7l) | 21.87 | ARMv7 Processor rev 0 (v7l) | 45.57 | Qualcomm (Flattened Device Tree) | 1.0.2e | 103146940 | 39613780 | 37742930 | 11043500 | 19575130 | 7053960 | 35339260 | 30536700 | 27640490 | 24.8 | 879.1 87.2 | 69.8 |
root@OpenWrt:~# echo

root@OpenWrt:~#

Here are some results when reading/writing from a Seagate extern portable 2TB drive with ntfs-3g:

root@OpenWrt:/mnt/ExternPortable# time dd if=/dev/zero of=test bs=1M count=1024 conv=fsync
1024+0 records in
1024+0 records out
real    1m 24.51s
user    0m 0.00s
sys     0m 2.77s
root@OpenWrt:/mnt/ExternPortable# echo 3 > /proc/sys/vm/drop_caches
root@OpenWrt:/mnt/ExternPortable# time dd if=test of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
real    0m 15.48s
user    0m 0.00s
sys     0m 2.72s

So it's around 12MiB/s write speed and 80MiB/s read. Would probably get better speed using a filesystem that doesn't require fuse, but I don't have any other usb3 devices to test with.

I tried it with a USB 3.0 Stick (Transcend JF780, 64GB) with ext4:

root@OpenWrt share# time dd if=/dev/zero of=test bs=1M count=1024 conv=fsync
1024+0 records in
1024+0 records out
real    0m 30.10s
user    0m 0.02s
sys     0m 10.17s
root@OpenWrt share# echo 3 > /proc/sys/vm/drop_caches
root@OpenWrt share# time dd if=test of=/dev/null bs=1M count=1024
1024+0 records in
1024+0 records out
real    0m 11.69s
user    0m 0.02s
sys     0m 3.20s

So it is about 34MiB/s write speed and 88 MiB/s read speed.

Might be limited by the stick?

The USB Stick runs on the pc with about 140MiB/s write speed and over 200 MiB/s read speed.
I think it is the limit of the router, smallnetbuilder.com had with the tp-link firmware similar results. 38MiB/s write speed and 82MiB/s read speed.
I tried it again and got 37MiB/s write speed... ^^


I also got a litle wget problem with your current build (r48005) , otherwise it is running very good.
I can't download any https file with wget:

root@OpenWrt share# wget https://de.wikipedia.org/
Connecting to de.wikipedia.org (91.198.174.192:443)
wget: server returned error: HTTP/1.1 400 Bad Request

After installing 'ca-certificates' I can download it with curl, not sure why wget does not work...

(Last edited by Rocket on 29 Dec 2015, 17:36)

Ok, thanks for the info. It does seem kind of slow though. In the smallnetbuilder test the Linksys EA8500, which has the exact same CPU (IPQ8064) as the Archer, scores 58.7 MB/s. And that's on NTFS, which I can only assume is through FUSE.

As for wget, the busybox variant is compiled without SSL by default. I'll enable that for a future build, but as you noticed there is curl smile

Maybe it is a caching problem. When I run the dd command with 1GB it uses all the free memory (350MB) to cache the data.
If I create a file with only 300MB, I get a write speed of 46MB/s.

Do you know how I could disable the caching to test the speed?

Did you try running with a count=100 for example? Maybe a file transfer through NFS would be a better real world test.

Yes that is what I ment with the 300MB test.
Here with 100MB, is about 49MB/s:

root@OpenWrt share# time dd if=/dev/zero of=test bs=1M count=100 conv=fsync
100+0 records in
100+0 records out
real    0m 2.05s
user    0m 0.00s
sys     0m 0.95s


I tried FTP over LAN as well, I did get 40MB/s write speed with a 1.3GB file.

(Last edited by Rocket on 30 Dec 2015, 17:23)

Hi Guys,

first thanks for creating the images for the archer c2600 smile.
My Archer C2600 came today and im currently playing around with it.

I just thought about installing openwrt on the router to use the great eatures. I'm really new to openwrt, so please excuse me if some of my questions might be stupid:

1. Is there a dedicated tutorial for installing the firmware (arokh's image) on the Archer C2600?
2. Is my understanding right, that i can flash the "factory" Image directly over the stock firmware's update function?
3. What will be the ip of the router after flashing the firmware?
4. When i want to update afterwards to a new version of  arokhs mage - then i will need the sysupgrade image, right?

Thank you very much!
Regards,
powerlinemk

Hi powerlinemk, welcome to openwrt.
Yes your understanding is correct. You just download the firmware (openwrt-ipq806x-C2600-squashfs-factory.bin) and update it in the web interface.
The IP after the update is 192.168.1.1.
To update the firmware after you installed openwrt, you download the new sysupdate image (openwrt-ipq806x-C2600-squashfs-sysupgrade.bin) and update it in the web interface from openwrt.

but there is no official openwrt image?

No, the patches are not accepted yet. Give it some time, I'm sure we will see official builds soon.

Rocket wrote:

No, the patches are not accepted yet. Give it some time, I'm sure we will see official builds soon.

bendavid has been amazingly patient in constantly reworking the patches to match all the specific details the devs want before accepting them (even down to the title of the mail used to submit the patches). Super kudos to him for that.

All: thank you very much for your excellent work on the C2600 image. It is just what this excellent piece of hardware needs. It is so much faster and more reliable than the stock firmware of TP-Link (of which the latest version is more than 3 months old).  The stock firmware gave me issues with WAN not receiving an Ip address from my ISP, my Synology NAS randomly not appearing on my LG 42LA8609 television (DLNA) and no option of link aggregation. So, again: thanks a lot.

The only thing I came across is that I'm not able to set fixed IP addresses via Static Leases. I get the: "Some fields are invalid, cannot save values!" message. I left the IPv6 suffix blank. I couldn't find anything generic on this, therefore I'm wondering whether this is something specific for this build (I use arokh v48005) or whether I'm overseeing something. Sorry if this is too much a newbie question.

Edit: it appeared to be a newbie issue: I tried to use a space in the hostname. Quite stupid, of course, but the error message could have been cleared (ie: mentioning which field causes the issue, for example).

(Last edited by Videopac on 2 Jan 2016, 21:04)

Love the feature set but it does seem to have stability issues, roughly twice or three times per day my wifi briefly goes down and the router seems to reboot itself (at least uptime gets reset). Am I the only one experiencing this?

For me it is working very good.
My setup is a 5 ghz bridge to the main router and it is sending a new 2.4ghz wlan network to expand the range...
I have a updtime of over 4 days. And the restarts before that are just because I played with the config and reboted it myself...

Could you tell us about your setup? Which software did you install? Maybe you could give us a log or something to work on?

Sorry for my question:
TP-Link Archer C7 AC1750 is a well supported device. But it's also an old device. I would like to buy the Archer C2600. Question is, OpenWRT community will also find a solution to support all features of this device officially?

If you just read a few posts back you will already have the answer to your question.