Support for TP-Link Archer C2 V1

NOW offical trunk version works include 5GHz, don't use this

Wiki page about this router.
https://openwrt.org/toh/tp-link/ac750

threads in https://forum.openwrt.org/viewtopic.php?id=52625
from April. copy-pasted from my rss feed cache.
https://pastebin.com/hVAq37iF

patched trunk version made by @franzflasch form forum.openwrt.org , doesn't support 5Ghz wifi
source:
https://github.com/franzflasch/openwrt/tree/archer-c2-support

patched LEDE-snapshot version made by me (imported @zaccareal's patch from here)(includes closed source mt7610 5Ghz wifi driver under /package/mediatek)
source:
https://github.com/orangepizza/openwrt-archer-c2-lede17.01
complied:
https://github.com/orangepizza/openwrt-archer-c2-lede17.01/releases

TFTP flash image for first install made by David Beinder
http://beinder.at/pub/c2_recovery.zip

4 Likes

Hi There,

Do you plan to release a version with the latest changes including kernel version upgrade? I am trying to install SQM package but cannot do it without the latest Kernel version. I am getting the following error:

Collected errors:

  • satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-sqm:
  • kernel (= 4.4.131-1-b59b55b7bceeb6ba7d5cd45a27c59465) * kernel (= 4.4.131-1-b59b55b7bceeb6ba7d5cd45a27c59465) * kernel (= 4.4.131-1-b59b55b7bceeb6ba7d5cd45a27c59465) * kernel (= 4.4.131-1-b59b55b7bceeb6ba7d5cd45a27c59465) * kernel (= 4.4.131-1-b59b55b7bceeb6ba7d5cd45a27c59465) *
  • opkg_install_cmd: Cannot install package luci-app-sqm.

I am also wondering if it would be possible to create the latest release with the "Material"style design, not the Openwrt default one.

trunk and snapshot's kernel checksum changes every commit, so it will be always invaild with non mainline change. or be good for few hours at best.
You'd have to compile your own image with source.
for material theme, install luci-theme-material and change theme at system/system.
http://192.168.1.1/cgi-bin/luci/admin/system/system
I'll make it anyway as kernel version updated (4.4.129 to 4.4.131)

Thanks for the reply. Do you mind creating a separate build with SQM and Material theme since I am not sure if I have enough knowledge to compile it? Thanks.

https://expirebox.com/download/32e3d9447fe70cd7dab0d02285bc2cf1.html
here.
sha256
27162f3a77c7d22d5c0de9034fc9a51ff01956072932a38348f40c709e3f800d *lede-ramips-mt7620-ArcherC2-squashfs-sysupgrade.bin

1 Like

Thank you very much. Will try it later :smiley:

Some questions:

  • What is the current status of the efforts to get the Archer C2 v1 supported?
    As far as I can see, there are some private builds available. What is working, what is not?
  • Is anybody working on getting this device officially supported, i.e. create a PR or thelike?
  • It would be helpful to have this information integrated into the devicepage https://openwrt.org/toh/tp-link/ac750. Who can do this?

BTW: Since this device is not yet officially supported, I will move it to the developers section.

What is the current status of the efforts to get the Archer C2 v1 supported?
As far as I can see, there are some private builds available. What is working, what is not?

As trunk version, everythink except 5ghz wifi. (and hardware nat, I guess)

Is anybody working on getting this device officially supported, i.e. create a PR or thelike?

@franzflasch made pull request yesterday, https://github.com/openwrt/openwrt/pull/951
but it doesn't look like he's active on this forum. I'll will try mail him.

It would be helpful to have this information integrated into the devicepage https://openwrt.org/toh/tp-link/ac750. Who can do this?

I'd say it already have infomation about this thread. but I can update more if we need.

1 Like

This is only for the C2, right? Is there any ongoing development on the C20 V1?

C20 is offically supported (except 5Ghz wifi) buy maybe

see https://openwrt.org/toh/tp-link/tp-link_archer_c20_1

A post was merged into an existing topic: Archer C2: Dropping frame due to full tx queue

Hi,

I have on C2 which is very reluctant to flash via TFTP (despite all the tricks). Is there any initial C2 image which can be flashed thrugh GUI in factory firmware?

Thanks!

Nevermind, I bought a Flash programmer + SPI clip and flashed it in-situ. I basically read flash from one of my existing AP's and copied it to new router.

Interestingly, WiFi MAC for 5GHz is basically hard coded in Flash and not configurable via "option" in wireless. I had to manually edit Flash dump with hex-editor to change it.

What is current status on 18.06 for C2 v1? Anything that I can test?

It just merged to trunk, but due to it's needed rtl8366-smi patch can bring regression to other routers, it's unlikely to be merged to 18.06 before release.

For installation:

2) Extract u-boot from the binary file:
     #> dd if=c2v1_stock_firmware.bin of=c2v1_uboot.bin bs=1 skip=512 count=131072

Excuse my ignorance but how do you get the input block size?

Binwalk gives me this:

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
95648         0x175A0         U-Boot version string, "U-Boot 1.1.3 (Aug 31 2015 - 16:32:16)"

Thanks for reading.

How can I install the official nightly build?

I am using a build that I compiled from @orangepizza source. When I compiled from the openwrt source I got a sysupgrade file with 4Mb instead of 8Mb from before. I wasn't sure if this is correct, so I didn't flashed. What the factory image is for?

As official nightly version wont changed boardname from c2 to c2-v1 it won't allow sysupgrade.
And don't backup and migrate settings from one to another, as switch number changed, it will screw up wired lan because it will look for wrong switch at official trunk
get oldest(2016 feb one) stock image, rollback to it,and use trunk factory image to flash it. this rollback and flash is because newer stock firmware don't allow 3rd party firmware.

Well, I managed to flash the nightly on my C2. Is it supposed to come without luci and uhttpd or did I make something wrong? Because I could only access the official nightly I downloaded via ssh. In the end, I just compiled a build myself with these packages, and it worked. Thanks for your help!!

You did nothing wrong. Nightly SNAPSHOT does not contain LuCI. Simply:

opkg update
opkg install luci

Hello, guys!

I'm currently using the April 21st build or the newer one from @orangepizza, I'm sorry, I can't remember exactly which one, but everything is fine, except that I can't mount a NTFS external HDD because it seems that the kernel doesn't have the module. When I try to install ntfs-3g or evend kmod-fs-ntfs, I end up with the following error:

Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for ntfs-3g:
 *   kernel (= 4.4.140-1-b59b55b7bceeb6ba7d5cd45a27c59465) * 
 * opkg_install_cmd: Cannot install package ntfs-3g.

I successfully mounted and shared over the network, a flash drive formatted as FAT32 and it was possible because vfat came built-in. I would try the snapshot build just to see if it has support, but I think I'll have to roll back my C2 to the stock firmware first and then do the update, but, since 5 GHz is not supported yet, I prefer orangepizza's build.

My question is, can I modify the kernel to include fuse? I suppose I'll need to build it from source, right?

Thank you for your work!

Felipe A.