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.

@jpereiran try edit file /etc/opkg/distfeeds.conf and remove # from second line.

jpereiran wrote:

I am trying to use the squid package. but...

Please don't threadjack. Start a new support thread in the support section. This isn't a developer issue, and it's not specific to this device. Also you should probably be using the LEDE forum, not the OpenWRT forum.

Heinz wrote:

Update to build: r2220+24

Thank you very much too!

Heinz,

Thanks so much for your great job! But, I would like to know if you mind sharing the config file used to build this version. please, I really would like to help with it. My router is c2600 + v1.1

p.s: I tried to use the latest version, but the my build doesn't boot!

Heinz wrote:

Update to build: r2220+24

Btw,
Below my dmesg output using the lede r2220+24

Possible issues.

1. The 5Ghz is a little bit slow than 2.4Ghz. Exist some options to boost the performance/range?
2. Some warnings during the wireless driver load.
3. Can't detect the internal sensors (i2c issue?)?

_________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
 /________/  LE  \  |____|___|___/|___|                      lede-project.org \        \   DE /
  \    LE  \    /  -----------------------------------------------------------
   \  DE    \  /    Reboot (HEAD, r2220+24)
    \________\/  
root@mulambo:~# dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.4.32 (hyniu@o2.pl) (gcc version 5.4.0 (LEDE GCC 5.4.0 r2098+1) ) #0 SMP Sat Nov 19 16:57:09 2016
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TP-Link Archer C2600
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 122880
[    0.000000] free_area_init_node: node 0, pgdat c07f1480, node_mem_map ddc39000
[    0.000000]   Normal zone: 960 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 122880 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 11 pages/cpu @ddc0f000 s13824 r8192 d23040 u45056
[    0.000000] pcpu-alloc: s13824 r8192 d23040 u45056 alloc=11*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 121920                                    
[    0.000000] Kernel command line:
[    0.000000] Bootloader command line (ignored): console=ttyHSL1,115200n8 root=mtd:rootfs rootfstype=squashfs
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)[    0.000000] Memory: 480536K/491520K available (4261K kernel code, 246K rwdata, 1548K rodata, 220K init, 228K bss, 10984K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xde800000 - 0xff800000   ( 528 MB)
                   lowmem  : 0xc0000000 - 0xde000000   ( 480 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                     .text : 0xc0208000 - 0xc07b49d8   (5811 kB)
                     .init : 0xc07b5000 - 0xc07ec000   ( 220 kB)
                     .data : 0xc07ec000 - 0xc0829980   ( 247 kB)
                      .bss : 0xc082c000 - 0xc0865080   ( 229 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000008] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000024] Switching to timer-based delay loop, resolution 160ns
[    0.000209] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000232] pid_max: default: 32768 minimum: 301
[    0.000331] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000346] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000950] CPU: Testing write buffer coherency: ok
[    0.001307] Setting up static identity map for 0x42208280 - 0x422082d8
[    0.004357] Brought up 2 CPUs
[    0.004376] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.004386] CPU: All CPU(s) started in SVC mode.
[    0.013580] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.013817] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.013961] pinctrl core: initialized pinctrl subsystem
[    0.015342] NET: Registered protocol family 16
[    0.016597] DMA: preallocated 2048 KiB pool for atomic coherent allocations
[    0.041483] cpuidle: using governor ladder
[    0.072497] cpuidle: using governor menu
[    0.084419] gpiochip_add: registered GPIOs 0 to 68 on device: 800000.pinmux
[    0.084441] GPIO chip 800000.pinmux: created GPIO range 0->68 ==> 800000.pinmux PIN 0->68
[    0.085949] qcom_rpm 108000.rpm: RPM firmware 3.0.16777342
[    0.126740] pps_core: LinuxPPS API ver. 1 registered
[    0.126756] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.126799] PTP clock support registered
[    0.127997] clocksource: Switched to clocksource dg_timer
[    0.129252] NET: Registered protocol family 2
[    0.129812] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.129855] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.129907] TCP: Hash tables configured (established 4096 bind 4096)
[    0.129952] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.129974] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.130170] NET: Registered protocol family 1
[    0.130231] PCI: CLS 0 bytes, default 64
[    0.131489] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.131587] No memory allocated for crashlog
[    0.138715] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.138741] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.141578] io scheduler noop registered
[    0.141599] io scheduler deadline registered (default)
[    0.142217] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_export/usb1_power[0]' - status (0)
[    0.142358] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_export/usb2_power[0]' - status (0)
[    0.142463] gpio-export gpio_export: 2 gpio(s) exported
[    0.142974] qcom-pcie 1b500000.pci: GPIO lookup for consumer perst
[    0.142991] qcom-pcie 1b500000.pci: using device tree for GPIO lookup
[    0.143013] of_get_named_gpiod_flags: parsed 'perst-gpios' property of node '/soc/pci@1b500000[0]' - status (0)
[    0.143099] 1b500000.pci supply vdda not found, using dummy regulator
[    0.143184] 1b500000.pci supply vdda_phy not found, using dummy regulator
[    0.143264] 1b500000.pci supply vdda_refclk not found, using dummy regulator                                               
[    0.143679] PCI host bridge /soc/pci@1b500000 ranges:
[    0.143717]    IO 0x0fe00000..0x0fefffff -> 0x0fe00000
[    0.143740]   MEM 0x08000000..0x0fdfffff -> 0x08000000
[    0.176026] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.176047] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.176066] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfe00000-0xfefffff])
[    0.176080] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff][    0.176095] pci_bus 0000:00: scanning bus
[    0.176140] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.176246] pci 0000:00:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.176300] pci 0000:00:00.0: supports D1
[    0.176316] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.176334] pci 0000:00:00.0: PME# disabled
[    0.176562] pci_bus 0000:00: fixups for bus
[    0.176587] PCI: bus0: Fast back to back transfers disabled
[    0.176605] pci 0000:00:00.0: scanning [bus 01-01] behind bridge, pass 0
[    0.176740] pci_bus 0000:01: scanning bus
[    0.176886] pci 0000:01:00.0: [168c:0040] type 00 class 0x028000
[    0.177200] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.177565] pci 0000:01:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.177943] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.177980] pci 0000:01:00.0: PME# disabled
[    0.178344] pci_bus 0000:01: fixups for bus
[    0.178416] PCI: bus1: Fast back to back transfers disabled
[    0.178431] pci_bus 0000:01: bus scan returning with max=01
[    0.178451] pci 0000:00:00.0: scanning [bus 01-01] behind bridge, pass 1
[    0.178471] pci_bus 0000:00: bus scan returning with max=01
[    0.178536] pci 0000:00:00.0: fixup irq: got 133
[    0.178549] pci 0000:00:00.0: assigning IRQ 133
[    0.178611] pci 0000:01:00.0: fixup irq: got 133
[    0.178624] pci 0000:01:00.0: assigning IRQ 133
[    0.178686] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.178709] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.178814] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.178834] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.179175] aer 0000:00:00.0:pcie02: service driver aer loaded
[    0.179423] qcom-pcie 1b700000.pci: GPIO lookup for consumer perst
[    0.179436] qcom-pcie 1b700000.pci: using device tree for GPIO lookup
[    0.179457] of_get_named_gpiod_flags: parsed 'perst-gpios' property of node '/soc/pci@1b700000[0]' - status (0)
[    0.179529] 1b700000.pci supply vdda not found, using dummy regulator
[    0.179611] 1b700000.pci supply vdda_phy not found, using dummy regulator
[    0.179691] 1b700000.pci supply vdda_refclk not found, using dummy regulator                                               
[    0.180089] PCI host bridge /soc/pci@1b700000 ranges:
[    0.180121]    IO 0x31e00000..0x31efffff -> 0x31e00000
[    0.180140]   MEM 0x2e000000..0x31dfffff -> 0x2e000000
[    0.209104] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.209124] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.209140] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff][    0.209155] pci_bus 0001:00: scanning bus
[    0.209195] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.209283] pci 0001:00:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.209329] pci 0001:00:00.0: supports D1
[    0.209344] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.209361] pci 0001:00:00.0: PME# disabled
[    0.209587] pci_bus 0001:00: fixups for bus
[    0.209608] PCI: bus0: Fast back to back transfers disabled
[    0.209624] pci 0001:00:00.0: scanning [bus 01-01] behind bridge, pass 0
[    0.209758] pci_bus 0001:01: scanning bus
[    0.209907] pci 0001:01:00.0: [168c:0040] type 00 class 0x028000
[    0.210219] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.210582] pci 0001:01:00.0: calling pci_fixup_ide_bases+0x0/0x44
[    0.210958] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.210996] pci 0001:01:00.0: PME# disabled
[    0.211291] pci_bus 0001:01: fixups for bus
[    0.211352] PCI: bus1: Fast back to back transfers disabled
[    0.211365] pci_bus 0001:01: bus scan returning with max=01
[    0.211382] pci 0001:00:00.0: scanning [bus 01-01] behind bridge, pass 1
[    0.211401] pci_bus 0001:00: bus scan returning with max=01
[    0.211446] pcieport 0000:00:00.0: fixup irq: got 133
[    0.211459] pcieport 0000:00:00.0: assigning IRQ 133
[    0.211519] pci 0000:01:00.0: fixup irq: got 133
[    0.211531] pci 0000:01:00.0: assigning IRQ 133
[    0.211598] pci 0001:00:00.0: fixup irq: got 166
[    0.211610] pci 0001:00:00.0: assigning IRQ 166
[    0.211668] pci 0001:01:00.0: fixup irq: got 166
[    0.211680] pci 0001:01:00.0: assigning IRQ 166
[    0.211732] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.211754] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.211854] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.211872] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.212192] aer 0001:00:00.0:pcie02: service driver aer loaded
[    0.214418] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.215464] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.216490] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.219388] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.219496] msm_serial 16340000.serial: uartclk = 1843200
[    0.219558] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 167, base_baud = 115200) is a MSM
[    0.219594] msm_serial: console setup on port #0
[    0.865839] console [ttyMSM0] enabled
[    0.870650] msm_serial: driver initialized
[    0.880434] loop: module loaded
[    0.881703] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    0.882456] of_get_named_gpiod_flags: parsed 'cs-gpios' property of node '/soc/gsbi@1a200000/spi@1a280000[0]' - status (0)
[    0.883733] m25p80 spi32766.0: mx25u25635f (32768 Kbytes)
[    0.889949] 25 ofpart partitions found on MTD device spi32766.0
[    0.895054] Creating 25 MTD partitions on "spi32766.0":
[    0.900879] 0x000000000000-0x000000020000 : "SBL1"
[    0.907024] 0x000000020000-0x000000040000 : "MIBIB"
[    0.911898] 0x000000040000-0x000000060000 : "SBL2"
[    0.916589] 0x000000060000-0x000000090000 : "SBL3"
[    0.921518] 0x000000090000-0x0000000a0000 : "DDRCONFIG"
[    0.926193] 0x0000000a0000-0x0000000b0000 : "SSD"
[    0.931280] 0x0000000b0000-0x0000000e0000 : "TZ"
[    0.936187] 0x0000000e0000-0x000000100000 : "RPM"
[    0.940981] 0x000000100000-0x000000170000 : "fs-uboot"
[    0.945463] 0x000000170000-0x0000001b0000 : "uboot-env"
[    0.950603] 0x0000001b0000-0x0000001f0000 : "radio"
[    0.955511] 0x0000001f0000-0x0000003f0000 : "os-image"
[    0.960606] 0x0000003f0000-0x000001ef0000 : "rootfs"
[    0.965706] mtd: device 12 (rootfs) set to be root filesystem
[    0.970168] 1 squashfs-split partitions found on MTD device rootfs
[    0.975526] 0x0000007a0000-0x000001ef0000 : "rootfs_data"
[    0.982628] 0x000001ef0000-0x000001ef0200 : "default-mac"
[    0.988028] 0x000001ef0200-0x000001ef0400 : "pin"
[    0.993391] 0x000001ef0400-0x000001f00000 : "product-info"
[    0.998136] 0x000001f00000-0x000001f10000 : "partition-table"
[    1.003370] 0x000001f10000-0x000001f20000 : "soft-version"
[    1.009516] 0x000001f20000-0x000001f30000 : "support-list"
[    1.014789] 0x000001f30000-0x000001f40000 : "profile"
[    1.020359] 0x000001f40000-0x000001f50000 : "default-config"
[    1.025401] 0x000001f50000-0x000001f90000 : "user-config"
[    1.030951] 0x000001f90000-0x000001fd0000 : "qos-db"
[    1.036223] 0x000001fd0000-0x000001fe0000 : "usb-config"
[    1.041345] 0x000001fe0000-0x000002000000 : "log"
[    1.047338] libphy: Fixed MDIO Bus: probed
[    1.050605] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/mdio[0]' - status (0)
[    1.050630] of_get_named_gpiod_flags: parsed 'gpios' property of node '/soc/mdio[1]' - status (0)
[    1.050646] of_get_named_gpiod_flags: can't parse 'gpios' property of node '/soc/mdio[2]'
[    1.050772] libphy: GPIO Bitbanged MDIO: probed
[    1.076347] switch0: Atheros AR8337 rev. 2 switch registered on gpio-0
[    1.303507] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/soc/ethernet@37200000/fixed-link[0]'
[    1.304090] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.304116]  Ring mode enabled
[    1.308112]  DMA HW capability register supported
[    1.311158]  Enhanced/Alternate descriptors
[    1.315837]  Enabled extended descriptors
[    1.319893]  RX Checksum Offload Engine supported (type 2)
[    1.324000]  TX Checksum insertion supported
[    1.329451]  Wake-Up On Lan supported
[    1.333807]  Enable RX Mitigation via HW Watchdog Timer
[    1.338387] of_get_named_gpiod_flags: can't parse 'link-gpios' property of node '/soc/ethernet@37400000/fixed-link[0]'
[    1.338880] stmmac - user ID: 0x10, Synopsys ID: 0x37
[    1.342403]  Ring mode enabled
[    1.347608]  DMA HW capability register supported
[    1.350657]  Enhanced/Alternate descriptors
[    1.355333]  Enabled extended descriptors
[    1.359412]  RX Checksum Offload Engine supported (type 2)
[    1.363497]  TX Checksum insertion supported
[    1.368939]  Wake-Up On Lan supported
[    1.373302]  Enable RX Mitigation via HW Watchdog Timer
[    1.377493] i2c /dev entries driver
[    1.387828] Speed bin: 0
[    1.387849] PVS bin: 1
[    1.389937] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    1.391628] cpuidle: enable-method property 'qcom,kpss-acc-v1' found operations
[    1.399020] sdhci: Secure Digital Host Controller Interface driver
[    1.406088] sdhci: Copyright(c) Pierre Ossman
[    1.412438] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.418750] L2 @ QSB rate. Forcing new rate.
[    1.422605] L2 @ 384000 KHz
[    1.426867] CPU0 @ 800000 KHz
[    1.429362] CPU1 @ QSB rate. Forcing new rate.
[    1.432463] CPU1 @ 384000 KHz
[    1.438413] NET: Registered protocol family 10
[    1.441015] NET: Registered protocol family 17
[    1.444183] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.448955] 8021q: 802.1Q VLAN Support v1.8
[    1.461471] Registering SWP/SWPB emulation handler
[    1.467351] cpu: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:0, -19                                   
[    1.470809] cpu: dev_pm_opp_of_cpumask_add_table: couldn't find opp table for cpu:1, -19                                   
[    1.478748] hctosys: unable to open rtc device (rtc0)
[    1.500100] VFS: Mounted root (squashfs filesystem) readonly on device 31:12.
[    1.500291] Freeing unused kernel memory: 220K (c07b5000 - c07ec000)
[    1.721952] random: nonblocking pool is initialized
[    3.159038] init: Console is alive
[    3.159193] init: - watchdog -
[    5.817096] usbcore: registered new interface driver usbfs
[    5.817169] usbcore: registered new interface driver hub
[    5.821601] usbcore: registered new device driver usb
[    5.833177] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/wifi[0]' - status (0)
[    5.833196] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/reset[0]' - status (0)
[    5.833212] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/wps[0]' - status (0)
[    5.833226] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-keys/ledgeneral[0]' - status (0)
[    5.836013] SCSI subsystem initialized
[    5.838613] libata version 3.00 loaded.
[    5.841673] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.842082] ehci-platform: EHCI generic platform driver
[    5.849690] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.852644] ohci-platform: OHCI generic platform driver
[    5.960418] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.960500] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    5.965044] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x00010010
[    5.972524] xhci-hcd xhci-hcd.0.auto: irq 169, io mem 0x11000000
[    5.982324] hub 1-0:1.0: USB hub found
[    5.987360] hub 1-0:1.0: 1 port detected
[    5.991424] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    5.994941] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    6.000557] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.008908] hub 2-0:1.0: USB hub found
[    6.016169] hub 2-0:1.0: 1 port detected
[    6.020364] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.023779] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    6.029353] xhci-hcd xhci-hcd.1.auto: hcc params 0x0228f065 hci version 0x100 quirks 0x00010010
[    6.036663] xhci-hcd xhci-hcd.1.auto: irq 170, io mem 0x10000000
[    6.046060] hub 3-0:1.0: USB hub found
[    6.051591] hub 3-0:1.0: 1 port detected
[    6.055264] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    6.059225] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    6.064542] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.072488] hub 4-0:1.0: USB hub found
[    6.080431] hub 4-0:1.0: 1 port detected
[    6.084672] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/lan[0]' - status (0)
[    6.084759] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/usb4[0]' - status (0)
[    6.084828] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/usb2[0]' - status (0)
[    6.084901] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/wps[0]' - status (0)
[    6.084967] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/wan_red[0]' - status (0)
[    6.085040] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/wan_blue[0]' - status (0)
[    6.085114] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/status[0]' - status (0)
[    6.085185] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio-leds/ledgnr[0]' - status (0)
[    6.086497] usbcore: registered new interface driver usb-storage
[    6.091901] init: - preinit -
[    6.584065] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[    6.624781] usb-storage 4-1:1.0: USB Mass Storage device detected
[    6.625194] scsi host0: usb-storage 4-1:1.0
[    7.630325] scsi 0:0:0:0: Direct-Access     Samsung  D3 Station       0202 PQ: 0 ANSI: 6
[    7.632359] sd 0:0:0:0: [sda] 732566645 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[    7.638498] sd 0:0:0:0: [sda] Write Protect is off
[    7.645226] sd 0:0:0:0: [sda] Mode Sense: 2b 00 10 08
[    7.645946] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
[    7.731446]  sda: sda1 sda2 sda3
[    7.735697] sd 0:0:0:0: [sda] Attached SCSI disk
[    9.403011] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   10.590235] mount_root: loading kmods from internal overlay
[   13.018705] jffs2: notice: (169) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   13.019494] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab[   13.161880] EXT4-fs (sda1): recovery complete
[   13.162117] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
[   13.236973] mount_root: switched to extroot
[   13.239794] urandom-seed: Seeding with /etc/urandom.seed
[   13.447740] procd: - early -
[   13.447843] procd: - watchdog -
[   14.116695] procd: - ubus -
[   14.187785] procd: - init -
[   16.111139] tun: Universal TUN/TAP device driver, 1.6
[   16.111163] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   16.123795] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   16.128483] Netfilter messages via NETLINK v0.30.
[   16.129889] ip_set: protocol 6
[   16.143928] uhci_hcd: USB Universal Host Controller Interface driver
[   16.145178] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   16.149451] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   16.174069] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   16.174150] ath10k_pci 0000:01:00.0: enabling bus mastering
[   16.174587] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   16.328618] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2     
[   16.328676] ath10k_pci 0000:01:00.0: Falling back to user helper
[   17.291933] Adding 131068k swap on /dev/sda2.  Priority:-1 extents:1 across:131068k
[   18.805607] EXT4-fs (sda3): recovery complete
[   18.806953] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts:
[   38.139856] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed                         
[   38.585854] ath10k_pci 0000:01:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   38.585889] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   38.595570] ath10k_pci 0000:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[   38.620734] ath10k_pci 0000:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0040,subsystem-vendor=168c,subsystem-device=0002 from ath10k/QCA99X0/hw2.0/board-2.bin
[   38.620933] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 7e56fd07
[   39.810314] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1
[   39.879084] ath: EEPROM regdomain: 0x0
[   39.879107] ath: EEPROM indicates default country code should be used
[   39.879124] ath: doing EEPROM country->regdmn map search
[   39.879147] ath: country maps to regdmn code: 0x3a
[   39.879166] ath: Country alpha2 being used: US
[   39.879183] ath: Regpair used: 0x3a
[   39.888459] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[   39.888600] ath10k_pci 0001:01:00.0: enabling bus mastering
[   39.889213] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   40.019897] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0001:01:00.0.bin failed with error -2     
[   40.019935] ath10k_pci 0001:01:00.0: Falling back to user helper
[   40.179308] firmware ath10k!pre-cal-pci-0001:01:00.0.bin: firmware_loading_store: map pages failed                         
[   40.180405] ath10k_pci 0001:01:00.0: qca99x0 hw2.0 target 0x01000000 chip_id 0x003b01ff sub 168c:0002
[   40.187181] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[   40.198662] ath10k_pci 0001:01:00.0: firmware ver 10.4.1.00030-1 api 5 features no-p2p crc32 d2901e01
[   40.204988] ath10k_pci 0001:01:00.0: failed to fetch board data for bus=pci,vendor=168c,device=0040,subsystem-vendor=168c,subsystem-device=0002 from ath10k/QCA99X0/hw2.0/board-2.bin
[   40.213971] ath10k_pci 0001:01:00.0: board_file api 1 bmi_id N/A crc32 7e56fd07
[   41.396776] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal file max-sta 512 raw 0 hwcrypto 1
[   41.459105] ath: EEPROM regdomain: 0x0
[   41.459130] ath: EEPROM indicates default country code should be used
[   41.459146] ath: doing EEPROM country->regdmn map search
[   41.459170] ath: country maps to regdmn code: 0x3a
[   41.459189] ath: Country alpha2 being used: US
[   41.459206] ath: Regpair used: 0x3a
[   41.477707] u32 classifier
[   41.477743]     input device check on
[   41.479449]     Actions configured
[   41.486635] Mirror/redirect action on
[   41.609451] Bridge firewalling registered
[   41.610741] ip_tables: (C) 2000-2006 Netfilter Core Team
[   41.618063] nf_conntrack version 0.5.0 (7511 buckets, 30044 max)
[   41.619261] ctnetlink v0.93: registering with nfnetlink.
[   41.735687] xt_time: kernel timezone is -0000
[   41.743367] PPP generic driver version 2.4.2
[   41.745019] NET: Registered protocol family 24
[   44.572630] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   44.580648] device eth1.3 entered promiscuous mode
[   44.580672] device eth1 entered promiscuous mode
[   44.587637] IPv6: ADDRCONF(NETDEV_UP): br-guest: link is not ready
[   44.598071] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   45.274916] ath10k_pci 0001:01:00.0: DFS region 0x0 not supported, will trigger radar for every pulse                      
[   45.274978] ath10k_pci 0000:01:00.0: DFS region 0x0 not supported, will trigger radar for every pulse                      
[   46.558395] ipq806x-gmac-dwmac 37400000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   46.608396] ipq806x-gmac-dwmac 37200000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[   47.678453] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[   47.679987] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   47.683329] br-lan: port 1(eth1) entered forwarding state
[   47.689560] br-lan: port 1(eth1) entered forwarding state
[   47.707668] device wlan1 entered promiscuous mode
[   47.884924] ath10k_pci 0001:01:00.0: no channel configured; ignoring frame(s)!                                             
[   47.973046] ath10k_pci 0001:01:00.0: no channel configured; ignoring frame(s)!                                             
[   47.977072] ath10k_pci 0001:01:00.0: no channel configured; ignoring frame(s)!                                             
[   48.026495] ath10k_pci 0001:01:00.0: no channel configured; ignoring frame(s)!                                             
[   48.029622] ath10k_pci 0001:01:00.0: no channel configured; ignoring frame(s)!                                             
[   48.144920] ath10k_pci 0001:01:00.0: no channel configured; ignoring frame(s)!                                             
[   48.343589] ath10k_pci 0001:01:00.0: no channel configured; ignoring frame(s)!                                             
[   48.972970] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   48.973245] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   48.978002] br-guest: port 1(eth1.3) entered forwarding state
[   48.984451] br-guest: port 1(eth1.3) entered forwarding state
[   48.996515] device wlan0 entered promiscuous mode
[   49.010405] IPv6: ADDRCONF(NETDEV_CHANGE): br-guest: link becomes ready
[   49.688348] br-lan: port 1(eth1) entered forwarding state
[   50.978476] br-guest: port 1(eth1.3) entered forwarding state
[   51.223270] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[   51.223438] br-lan: port 2(wlan1) entered forwarding state
[   51.228871] br-lan: port 2(wlan1) entered forwarding state
[   51.238612] device wlan1-1 entered promiscuous mode
[   51.243997] IPv6: ADDRCONF(NETDEV_UP): wlan1-1: link is not ready
[   51.244248] br-guest: port 2(wlan1-1) entered forwarding state
[   51.250609] br-guest: port 2(wlan1-1) entered forwarding state
[   51.353764] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1-1: link becomes ready
[   53.228346] br-lan: port 2(wlan1) entered forwarding state
[   53.248366] br-guest: port 2(wlan1-1) entered forwarding state
[   65.057310] device wlan0 left promiscuous mode
[   65.057569] br-lan: port 3(wlan0) entered disabled state
[   66.515121] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   66.581804] device wlan0 entered promiscuous mode
root@mulambo:~#
jpereiran wrote:

Btw,
Below my dmesg output using the lede r2220+24

Possible issues.

1. The 5Ghz is a little bit slow than 2.4Ghz. Exist some options to boost the performance/range?
2. Some warnings during the wireless driver load.
3. Can't detect the internal sensors (i2c issue?)?

The wireless driver errors are normal. That's just the driver trying different methods of loading the firmware until it get to the right one (downloading the firmware from the flash storage). They've been there from the start.

Could someone help me to find the latest stable FW version?

I've noticed this page downloads.lede-project.org/snapshots/targets/ipq806x/generic/

Which version is the correct one?
lede-ipq806x-C2600-squashfs-sysupgrade
lede-ipq806x-C2600-squashfs-factory

both are dated on nov 27th.

Thanks for your help!

Use factory when flashing from stock TP-Link firmware, use sysupgrade when flashing from openwrt/LEDE

@Heinz some nice patches just landed in LEDE trunk that pertain to LEDs and buttons on the c2600. Might want to pull those in and rebuild

git.lede-project.org/?p=source.git;a=commit;h=e3caadc69d405a74f9643134bc5074607f2a999b
git.lede-project.org/?p=source.git;a=commit;h=3228c2a682f287337db3dda880bc1e35ebaa7ce9

(Last edited by npr on 28 Nov 2016, 13:50)

Possibly a dumb question but I run an old build from April or so, which build (factory image preferred) would you guys recommend? Definitely want luci on it, too.

@buzz if You want LEDE with LuCI use this:

http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-factory.bin
http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-sysupgrade.bin

This firmware have GUI and reboot fix.

Heinz wrote:

@buzz if You want LEDE with LuCI use this:

http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-factory.bin
http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-sysupgrade.bin

This firmware have GUI and reboot fix.

@Heinz, is this different from what is currently on your ftp site (dated nov 19 2016)?

I installed the latest LEDE from Heinz build. I tried playing around with switch settings tagged/untagged and now I can't ping my router though I still have internet. How do I reset the router settings?

I tried powering off the router, holding reset button and powering it on but it didn't reset the network settings.

I could use debricking procedure... "Set PC to fixed ip address 192.168.0.66
Download factory firmware from TP-Link and rename it to ArcherC2600_1.0_tp_recovery.bin..." but maybe there is a simplier procedure to reset the settings...? Is reset supported by LEDE?

I finally managed to reset the router by holding reset button and powering on, so it works smile

Does it support VLANS correctly? For some reason I cannot make my STB work on LAN 1.

Here is my config:

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 2 3 4 6'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 5'

config switch_vlan
        option device 'switch0'
        option vlan '6'
        option ports '1 4t'

My VLAN 6 packets come on LAN 4 from another router but when I connect STB on LAN 1, it doesn't work.

I have similar config on my R8000 and STB works without any issues...

Hi - just a quick look and noticed on vlan '1' you have port 4 (untagged) and vlan '6' you *also* include port 4 (tagged).

I googled a bit to put into words but the TL;DR is basically when a port has tagged packets coming in - you need to make sure all *incoming* packets have *some* tag.  It would be nice if your vlan '1' automagically tagged the *incoming* untagged packets to vlan '1' - but it doesn't!

Oddly, when an untagged packet only exists in one vlan it does *exactly* this /sigh... (or something like it - it probably never actually tags the traffic at all).

To get that behaviour (untagged packets becoming tagged) - you need to add:

option pvid '1'

to your vlan '1' config.

Without that option - it happily *sends* packets out tagged or untagged but will not *accept* packets *unless* they match (are tagged) vlan '1' or vlan '6' [it drops them instead of 'promoting'/accepting them].

Basically the STB (I googled and came up with "Set Top Box") won't tag it's packets by default while the router has probably been set to do so - which is why your configuration works with one and not the other.  The pvid setting will effectively "promote" the untagged packets coming in on port 4 to vlan '1' for purposes of routing and leave the outgoing port 4 untagged - actually removing the vlan '1' tag on exit (perfect for a regular, non vlan aware device)...

Tagged packets from vlan '6' would continue to operate on port 4 normally...

I'm sure there are *some* devices that would be able to "figure out" that you *want* the untagged packets to be promoted in the expected fashion, even with the ports existing tagged and untagged in different vlans.  Perhaps your R8000 is such a device?

For more detail here is a far better post with more detail about this:

hxxp://en.community.dell.com/support-forums/network-switches/f/866/t/18619540

(first post - not allow to link the above URL)...

Of course, I could always be wrong and OpenWrt *does* this exact thing?  In that case - good luck and sorry for the (mis)information.

Hmmm... I guess I should read more:

hxxps://wiki.openwrt.org/doc/uci/network/switch#the_config_sections

The "option pvid" would actually look like:

config 'switch_port'
    option 'port'      '4'
    option 'pvid'      '1'

which is far better setting it per port than per vlan, I suppose?

Sorry - my bad smile

nobodyspecial wrote:

Hmmm... I guess I should read more:

hxxps://wiki.openwrt.org/doc/uci/network/switch#the_config_sections

The "option pvid" would actually look like:

config 'switch_port'
    option 'port'      '4'
    option 'pvid'      '1'

which is far better setting it per port than per vlan, I suppose?

Sorry - my bad smile

Thank for your time registering a new account and just replying to my issue. Must be Santa? smile

I've updated my network file as suggest but it didn't work:

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 2 3 4 6'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 5'

config switch_vlan
        option device 'switch0'
        option vlan '6'
        option ports '1 4t'

config 'switch_port'
        option 'port' '4'
        option 'pvid' '1'

I own a few WDR4300, R8000 and never had to put your mentioned option.

For example this is my network file of WDR4300. It's currently connected directly to my ISP via WAN port. I can watch IPTV via STB when I connect it on Port 5.

PS I connect my secondary router either R8000 or c2600 via port 2.

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0t 2 3 4 5'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '0t 1'

config switch_vlan
    option device 'switch0'
    option vlan '6'
    option ports '0t 1t 2t 5'

This is the network file of R8000 where STB works too. I get tagged (vlan 6) and untagged packets from other router on port 0. I connect STB on Port 3.

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0 1 2 5t'

config switch_vlan
    option device 'switch0'
    option vlan '2'
    option ports '5t'

config switch_vlan
    option device 'switch0'
    option vlan '6'
    option ports '0t 3'

Not sure what to try next, maybe flash c2600 with other images. Is there an easy way to figure out how packets behave (whether they are tagged, what is vlan id etc)? Should I install tcpdump?

(Last edited by visata on 25 Dec 2016, 21:49)

VLANs are working fine not sure why it didn't behave as I expected but it's sorted out now (I had to do initial reset).

I set c2600 as my main router but WAN performance is very poor. I didn't do scientific tests but the download speed from OOKLA is only around 110Mbps and upload 150Mbps (my ISP provides me with 600Mbps). My WDR4300 performed way better with optimized build.

I tried some build a while ago on c2600 and I remember getting 500Mbps download speed.

Is there a way how I can increase it? I'm using the latest Heinz build. Should I try some other build?

Is it safe to buy this router? I've seen a couple reports of tp link locking them down?

Bluenote wrote:

Is it safe to buy this router? I've seen a couple reports of tp link locking them down?

Best router I've ever owned. Note: I guess I'm happy with the OEM software because  I haven't upgraded it to OpenWrt. I purchased the C2600 because of positive posts in this thread.

Bluenote wrote:

Is it safe to buy this router? I've seen a couple reports of tp link locking them down?

This router is only partially locked down. You can flash openWRT/LEDE without any issues.

The only "lock down" type issues are that if you flash a US-based ROM, it firmware locks the router to that region and they removed the serial console support hardware. If you want to access that, you need to do some soldering and add a chip back in. That being said, unless you're developing the boot sequence, that's not really that much of an issue since you can rescue from a brick with TFTP mode.

This was the last router done by TP-Link, AFAIK, before that FCC rule came into effect, so it's not locked down entirely. And they got in trouble for their method and fined anyway, so even though routers are probably more open by now.

(Last edited by TeutonJon78 on 3 Jan 2017, 02:05)

Heinz wrote:

@buzz if You want LEDE with LuCI use this:

http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-factory.bin
http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-sysupgrade.bin

This firmware have GUI and reboot fix.

Thanks a lot, installed the Dec 20 build, works perfectly (except the LEDs but I really don´t care about those)

Has the reboot patch been added to LEDE yet? For our wonderful devs, it might be good to push that in, as it seems they are gearing up for an actual release soon.

And has anyone tried an update keeping setting lately? Did it work correctly, or is that still an issue.

I just want to keep my known issue list up to date as possible.

(Last edited by TeutonJon78 on 5 Jan 2017, 19:36)

How would you describe your setup? Pretty barebones or did you add lots of packages?

buz2 wrote:
Heinz wrote:

@buzz if You want LEDE with LuCI use this:

http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-factory.bin
http://dl.eko.one.pl/luci/lede/snapshots/targets/ipq806x/generic/luci-ipq806x-C2600-squashfs-sysupgrade.bin

This firmware have GUI and reboot fix.

Thanks a lot, installed the Dec 20 build, works perfectly (except the LEDs but I really don´t care about those)

TeutonJon78 wrote:

Has the reboot patch been added to LEDE yet?

I don't know about LEDE but its in Heinz's build dated nov 19, 2016.