TP-Link Archer C7 inaccessible after installation/configurating LEDE

I think at this stage of the conversation it should be taken as a given, that we of course know that there should be only one default gateway in most scenarios.

A lot of people have a cable modem (virgin media, NTL) and do pass-through to the MAC of the openWRT router. In cases such as these the cable router has one WAN address and the openwrt has another WAN address. If you are segregating you home network for any reason (children, media network, home business, e.t.c) there are many use cases where you may want to specify the cable router as the gateway and not the openwrt router while still having the openwrt router on it own network segment.

I am traveling at present so I will post the contents of what you ask for.

I have a similar problem. I have a static IP address so have to setup the WAN interface as static. With LEDE this prevents me from communicating with the internet.

And you've also set your default gateway and dns too?

Of course I set the default gateway and dns

Hi, guys.

Brief description:
I also have a similar problem with Archer C7 (version 2, SN 2151***).

  1. It is working fine with stock firmware.
  2. It was working with OpenWRT until I removed the wrong interface while playing with VAN setup and bricked the router. WAN port is not working anymore after debricking using TFTP if using OpenWRT or LEDE (both are latest stable versions).
  3. Neither DHCP nor static IP leads to connected WAN.
  4. WAN status is "up": false, "pending": true if using DHCP (see below)
  5. I am able to ping router WAN address from LAN but not from WAN.
ifstatus wan DHCP
root@LEDE:~# ifstatus wan
{
        "up": false,
        "pending": true,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "proto": "dhcp",
        "device": "eth0",
        "data": {

        }
}
/etc/config/network

config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'

config globals 'globals'
option ula_prefix 'fdaa:088d:8bc1::/48'

config interface 'lan'
option type 'bridge'
option ifname 'eth1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'

config interface 'wan'
option ifname 'eth0'
option _orig_ifname 'eth0'
option _orig_bridge 'false'
option proto 'static'
option ipaddr '10.0.0.251'
option netmask '255.255.255.0'
option gateway '10.0.0.254'

config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'

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

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

config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 6'

logread
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.000000] Linux version 4.4.71 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Wed Jun 7 19:24:41 2017
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000] MyLoader: sysp=04030000, boardp=a0030000, parts=e4df0000
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] bootconsole [early0] enabled
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] SoC: Qualcomm Atheros QCA9558 ver 1 rev 0
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Determined physical RAM map:
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000]  memory: 08000000 @ 00000000 (usable)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.000000] No valid device tree found, continuing without
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Zone ranges:
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Movable zone start for each node
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Early memory node ranges
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000] On node 0 totalpages: 32768
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 803d04d0, node_mem_map 81000000
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000]   Normal zone: 256 pages used for memmap
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000]   Normal zone: 32768 pages, LIFO batch:7
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.000000] Kernel command line:  board=ARCHER-C7-V2  console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Memory: 125328K/131072K available (3073K kernel code, 163K rwdata, 412K rodata, 312K init, 205K bss, 5744K reserved, 0K cma-reserved)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] NR_IRQS:51
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] Clocks: CPU:720.000MHz, DDR:600.000MHz, AHB:200.000MHz, Ref:40.000MHz
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5309056796 ns
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.000007] sched_clock: 32 bits at 360MHz, resolution 2ns, wraps every 5965232126ns
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.008281] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.071186] pid_max: default: 32768 minimum: 301
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.076191] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.083239] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.092541] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.103040] futex hash table entries: 256 (order: -1, 3072 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.110394] NET: Registered protocol family 16
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.116130] MIPS: machine is TP-LINK Archer C7
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.123949] ar724x-pci ar724x-pci.0: PCIe link is down
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.129448] registering PCI controller with io_map_base unset
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.135662] registering PCI controller with io_map_base unset
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.582313] Can't analyze schedule() prologue at 800670bc
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.595029] PCI host bridge to bus 0000:00
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.599399] pci_bus 0000:00: root bus resource [mem 0x10000000-0x11ffffff]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.606745] pci_bus 0000:00: root bus resource [io  0x0000]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.612672] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.619897] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.628331] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.628450] PCI host bridge to bus 0000:01
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.632830] pci_bus 0000:01: root bus resource [mem 0x12000000-0x13ffffff]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.640139] pci_bus 0000:01: root bus resource [io  0x0001]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.646070] pci_bus 0000:01: root bus resource [??? 0x00000000 flags 0x0]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.653286] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.661744] pci 0000:01:00.0: [168c:003c] type 00 class 0x028000
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.661800] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.661853] pci 0000:01:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.661911] pci 0000:01:00.0: supports D1 D2
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.662094] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.662124] pci 0000:01:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.669910] pci 0000:01:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.677619] pci 0000:01:00.0: using irq 41 for pin 1
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.683454] clocksource: Switched to clocksource MIPS
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.689694] NET: Registered protocol family 2
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.695060] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.702481] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.709287] TCP: Hash tables configured (established 1024 bind 1024)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.716120] UDP hash table entries: 256 (order: 0, 4096 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.722342] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.729230] NET: Registered protocol family 1
Thu Jun  8 21:11:00 2017 kern.debug kernel: [    0.733934] PCI: CLS 0 bytes, default 32
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.737436] Crashlog allocated RAM at address 0x3f00000
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.754173] squashfs: version 4.0 (2009/01/31) Phillip Lougher
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.760373] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.772730] io scheduler noop registered
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.776940] io scheduler deadline registered (default)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.782583] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.791545] console [ttyS0] disabled
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.815425] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.824607] console [ttyS0] enabled
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.832015] bootconsole [early0] disabled
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    0.844330] m25p80 spi0.0: found w25q128, expected m25p80
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.849815] m25p80 spi0.0: w25q128 (16384 Kbytes)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.855713] 5 tp-link partitions found on MTD device spi0.0
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.861364] Creating 5 MTD partitions on "spi0.0":
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.866260] 0x000000000000-0x000000020000 : "u-boot"
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.872378] 0x000000020000-0x000000152fbc : "kernel"
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.878691] 0x000000152fbc-0x000000ff0000 : "rootfs"
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.884993] mtd: device 2 (rootfs) set to be root filesystem
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.890794] 1 squashfs-split partitions found on MTD device rootfs
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.897109] 0x0000003d0000-0x000000ff0000 : "rootfs_data"
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.903882] 0x000000ff0000-0x000001000000 : "art"
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    0.909918] 0x000000020000-0x000000ff0000 : "firmware"
Thu Jun  8 21:11:00 2017 kern.info kernel: [    0.925546] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
Thu Jun  8 21:11:00 2017 kern.info kernel: [    1.561787] libphy: ag71xx_mdio: probed
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.154961] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.166265] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.755040] eth1: Atheros AG71xx at 0xba000000, irq 5, mode:SGMII
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.762925] NET: Registered protocol family 10
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.770828] NET: Registered protocol family 17
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.775433] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.788314] 8021q: 802.1Q VLAN Support v1.8
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.799286] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Thu Jun  8 21:11:00 2017 kern.info kernel: [    2.807614] Freeing unused kernel memory: 312K (803f2000 - 80440000)
Thu Jun  8 21:11:00 2017 user.info kernel: [    3.778494] init: Console is alive
Thu Jun  8 21:11:00 2017 user.info kernel: [    3.782104] init: - watchdog -
Thu Jun  8 21:11:00 2017 user.info kernel: [    4.815318] kmodloader: loading kernel modules from /etc/modules-boot.d/*
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.843970] usbcore: registered new interface driver usbfs
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.849622] usbcore: registered new interface driver hub
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.855109] usbcore: registered new device driver usb
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.864290] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.872067] ehci-platform: EHCI generic platform driver
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.877490] ehci-platform ehci-platform.0: EHCI Host Controller
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.883538] ehci-platform ehci-platform.0: new USB bus registered, assigned bus number 1
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.893810] ehci-platform ehci-platform.0: TX-TX IDP fix enabled
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.899910] ehci-platform ehci-platform.0: irq 48, io mem 0x1b000000
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.923487] ehci-platform ehci-platform.0: USB 2.0 started, EHCI 1.00
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.930732] hub 1-0:1.0: USB hub found
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.934824] hub 1-0:1.0: 1 port detected
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.939108] ehci-platform ehci-platform.1: EHCI Host Controller
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.945179] ehci-platform ehci-platform.1: new USB bus registered, assigned bus number 2
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.955465] ehci-platform ehci-platform.1: TX-TX IDP fix enabled
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.961571] ehci-platform ehci-platform.1: irq 49, io mem 0x1b400000
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.983478] ehci-platform ehci-platform.1: USB 2.0 started, EHCI 1.00
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.990729] hub 2-0:1.0: USB hub found
Thu Jun  8 21:11:00 2017 kern.info kernel: [    4.994834] hub 2-0:1.0: 1 port detected
Thu Jun  8 21:11:00 2017 user.info kernel: [    4.999425] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
Thu Jun  8 21:11:00 2017 user.info kernel: [    5.017123] init: - preinit -
Thu Jun  8 21:11:00 2017 kern.info kernel: [    6.007034] eth1: link up (1000Mbps/Full duplex)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    6.028214] random: procd: uninitialized urandom read (4 bytes read, 9 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    8.319431] jffs2: notice: (416) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
Thu Jun  8 21:11:00 2017 user.info kernel: [    8.337064] mount_root: switching to jffs2 overlay
Thu Jun  8 21:11:00 2017 user.warn kernel: [    8.349981] urandom-seed: Seeding with /etc/urandom.seed
Thu Jun  8 21:11:00 2017 kern.info kernel: [    8.455790] eth1: link down
Thu Jun  8 21:11:00 2017 user.info kernel: [    8.467548] procd: - early -
Thu Jun  8 21:11:00 2017 user.info kernel: [    8.470547] procd: - watchdog -
Thu Jun  8 21:11:00 2017 user.info kernel: [    9.078473] procd: - ubus -
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.190287] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.200906] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.210415] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.219574] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.229015] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.238176] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.247877] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 kern.notice kernel: [    9.257162] random: ubusd: uninitialized urandom read (4 bytes read, 15 bits of entropy available)
Thu Jun  8 21:11:00 2017 user.info kernel: [    9.266600] procd: - init -
Thu Jun  8 21:11:00 2017 user.info kernel: [    9.603684] kmodloader: loading kernel modules from /etc/modules.d/*
Thu Jun  8 21:11:00 2017 kern.info kernel: [    9.626987] ip6_tables: (C) 2000-2006 Netfilter Core Team
Thu Jun  8 21:11:00 2017 kern.info kernel: [    9.641106] Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
Thu Jun  8 21:11:00 2017 kern.info kernel: [    9.649274] Backport generated by backports.git backports-20160324-13-g24da7d3c
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    9.703605] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
Thu Jun  8 21:11:00 2017 kern.info kernel: [    9.709497] ath10k_pci 0000:01:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
Thu Jun  8 21:11:00 2017 kern.warn kernel: [    9.937274] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
Thu Jun  8 21:11:01 2017 kern.warn kernel: [    9.948155] ath10k_pci 0000:01:00.0: Falling back to user helper
Thu Jun  8 21:11:01 2017 kern.err kernel: [   10.138955] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
Thu Jun  8 21:11:01 2017 kern.info kernel: [   10.348541] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
Thu Jun  8 21:11:01 2017 kern.info kernel: [   10.357945] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
Thu Jun  8 21:11:01 2017 kern.info kernel: [   10.371024] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00016 api 5 features no-p2p,raw-mode,mfp crc32 0c5668f8
Thu Jun  8 21:11:01 2017 kern.warn kernel: [   10.381808] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
Thu Jun  8 21:11:01 2017 kern.warn kernel: [   10.392411] ath10k_pci 0000:01:00.0: Falling back to user helper
Thu Jun  8 21:11:01 2017 kern.err kernel: [   10.472957] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
Thu Jun  8 21:11:01 2017 kern.info kernel: [   10.494699] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
Thu Jun  8 21:11:01 2017 kern.info kernel: [   11.604347] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   11.716601] ath: EEPROM regdomain: 0x0
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   11.716617] ath: EEPROM indicates default country code should be used
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   11.716624] ath: doing EEPROM country->regdmn map search
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   11.716640] ath: country maps to regdmn code: 0x3a
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   11.716649] ath: Country alpha2 being used: US
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   11.716657] ath: Regpair used: 0x3a
Thu Jun  8 21:11:01 2017 kern.info kernel: [   11.808390] ip_tables: (C) 2000-2006 Netfilter Core Team
Thu Jun  8 21:11:01 2017 kern.info kernel: [   11.867693] nf_conntrack version 0.5.0 (1963 buckets, 7852 max)
Thu Jun  8 21:11:01 2017 kern.info kernel: [   11.899661] xt_time: kernel timezone is -0000
Thu Jun  8 21:11:01 2017 kern.info kernel: [   11.935656] PPP generic driver version 2.4.2
Thu Jun  8 21:11:01 2017 kern.info kernel: [   11.997157] NET: Registered protocol family 24
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   12.017094] ath: EEPROM regdomain: 0x0
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   12.017111] ath: EEPROM indicates default country code should be used
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   12.017118] ath: doing EEPROM country->regdmn map search
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   12.017135] ath: country maps to regdmn code: 0x3a
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   12.017144] ath: Country alpha2 being used: US
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   12.017152] ath: Regpair used: 0x3a
Thu Jun  8 21:11:01 2017 kern.debug kernel: [   12.033117] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
Thu Jun  8 21:11:01 2017 kern.info kernel: [   12.037153] ieee80211 phy1: Atheros AR9550 Rev:0 mem=0xb8100000, irq=47
Thu Jun  8 21:11:01 2017 user.info kernel: [   12.050212] kmodloader: done loading kernel modules from /etc/modules.d/*
Thu Jun  8 21:11:01 2017 kern.notice kernel: [   13.036988] random: jshn: uninitialized urandom read (4 bytes read, 21 bits of entropy available)
Thu Jun  8 21:11:02 2017 user.notice : Added device handler type: 8021ad
Thu Jun  8 21:11:02 2017 user.notice : Added device handler type: 8021q
Thu Jun  8 21:11:02 2017 user.notice : Added device handler type: macvlan
Thu Jun  8 21:11:02 2017 user.notice : Added device handler type: bridge
Thu Jun  8 21:11:02 2017 user.notice : Added device handler type: Network device
Thu Jun  8 21:11:02 2017 user.notice : Added device handler type: tunnel
Thu Jun  8 21:11:03 2017 user.notice : 'radio0' is disabled
Thu Jun  8 21:11:03 2017 user.notice : 'radio1' is disabled
Thu Jun  8 21:11:03 2017 user.notice : 'radio0' is disabled
Thu Jun  8 21:11:03 2017 user.notice : 'radio1' is disabled
Thu Jun  8 21:11:04 2017 authpriv.info dropbear[860]: Not backgrounding
Thu Jun  8 21:11:05 2017 user.notice : setting up led USB1
Thu Jun  8 21:11:05 2017 user.notice : setting up led USB2
Thu Jun  8 21:11:05 2017 user.notice : setting up led WLAN2G
Thu Jun  8 21:11:05 2017 user.notice : setting up led WLAN5G
Thu Jun  8 21:11:06 2017 kern.info kernel: [   18.862503] eth1: link up (1000Mbps/Full duplex)
Thu Jun  8 21:11:06 2017 kern.info kernel: [   18.880535] device eth1 entered promiscuous mode
Thu Jun  8 21:11:06 2017 kern.info kernel: [   18.889420] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'lan' is enabled
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'lan' is setting up now
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'lan' is now up
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'loopback' is enabled
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'loopback' is now up
Thu Jun  8 21:11:06 2017 kern.info kernel: [   18.933036] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'wan' is enabled
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'wan6' is enabled
Thu Jun  8 21:11:06 2017 daemon.info odhcpd[824]: Raising SIGUSR1 due to address change on br-lan
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Network device 'eth1' link is up
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Network device 'lo' link is up
Thu Jun  8 21:11:06 2017 daemon.notice netifd: Interface 'loopback' has link connectivity 
Thu Jun  8 21:11:06 2017 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Thu Jun  8 21:11:07 2017 daemon.info procd: - init complete -
Thu Jun  8 21:11:07 2017 kern.info kernel: [   19.853539] br-lan: port 1(eth1) entered forwarding state
Thu Jun  8 21:11:07 2017 kern.info kernel: [   19.859063] br-lan: port 1(eth1) entered forwarding state
Thu Jun  8 21:11:07 2017 daemon.notice netifd: bridge 'br-lan' link is up
Thu Jun  8 21:11:07 2017 daemon.notice netifd: Interface 'lan' has link connectivity 
Thu Jun  8 21:11:07 2017 kern.info kernel: [   19.873888] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Thu Jun  8 21:11:08 2017 kern.info kernel: [   20.664886] eth0: link up (1000Mbps/Full duplex)
Thu Jun  8 21:11:08 2017 kern.info kernel: [   20.669704] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Thu Jun  8 21:11:08 2017 daemon.notice netifd: Network device 'eth0' link is up
Thu Jun  8 21:11:08 2017 daemon.notice netifd: Interface 'wan' has link connectivity 
Thu Jun  8 21:11:08 2017 daemon.notice netifd: Interface 'wan' is setting up now
Thu Jun  8 21:11:08 2017 daemon.notice netifd: Interface 'wan6' has link connectivity 
Thu Jun  8 21:11:08 2017 daemon.notice netifd: Interface 'wan6' is setting up now
Thu Jun  8 21:11:08 2017 daemon.info odhcpd[824]: Using a RA lifetime of 0 seconds on br-lan
Thu Jun  8 21:11:08 2017 daemon.notice odhcpd[824]: Failed to send to ff02::1%br-lan (Address not available)
Thu Jun  8 21:11:08 2017 daemon.notice netifd: wan (1020): udhcpc: started, v1.25.1
Thu Jun  8 21:11:08 2017 daemon.notice netifd: wan (1020): udhcpc: sending discover
Thu Jun  8 21:11:09 2017 kern.info kernel: [   21.853460] br-lan: port 1(eth1) entered forwarding state
Thu Jun  8 21:11:09 2017 daemon.err odhcp6c[1019]: Failed to send DHCPV6 message to ff02::1:2 (Address not available)
Thu Jun  8 21:11:11 2017 daemon.notice netifd: wan (1020): udhcpc: sending discover
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq[1099]: started, version 2.77 cachesize 150
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq[1099]: DNS service limited to local subnets
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq[1099]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC no-ID loop-detect inotify
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq-dhcp[1099]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq[1099]: using local addresses only for domain lan
Thu Jun  8 21:11:12 2017 daemon.warn dnsmasq[1099]: no servers found in /tmp/resolv.conf.auto, will retry
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq[1099]: read /etc/hosts - 4 addresses
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq[1099]: read /tmp/hosts/odhcpd - 0 addresses
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq[1099]: read /tmp/hosts/dhcp.cfg02411c - 1 addresses
Thu Jun  8 21:11:12 2017 daemon.info dnsmasq-dhcp[1099]: read /etc/ethers - 0 addresses
Thu Jun  8 21:11:14 2017 daemon.notice netifd: wan (1020): udhcpc: sending discover
Thu Jun  8 21:11:53 2017 authpriv.info dropbear[1102]: Child connection from 192.168.1.10:49839
Thu Jun  8 21:11:56 2017 authpriv.notice dropbear[1102]: Password auth succeeded for 'root' from 192.168.1.10:49839
Thu Jun  8 21:12:01 2017 kern.notice kernel: [   74.453474] random: nonblocking pool is initialized

Can be related to the issue:
https://dev.openwrt.org/ticket/18680
https://www.gargoyle-router.com/phpbb/viewtopic.php?f=11&t=8356

What could be the next steps? I am going to help as much as I can to solve this problem, but I am a bit newbie in LEDE.

What I'm proposing to you is to soft reset LEDE to get it started as if you would have just installed it; unless you have anything special about your configuration (extroot or stuff like that).

To do that, ensure that you have a backup of your configurations handy. You can take one using Luci.

Reset the configurations using the SSH CLI command:

firstboot

Reboot your Archer and this should take you at the first steps, as if you did a fresh installation. Before you attempt to play with VLANs again, ensure your WAN is working fine.

@DjiPi thank you. I agree that WAN should be working before playing with VLANs, but WAN is not functioning just after fresh OpenWRT or LEDE install. Here are my last steps:

  1. Check if WAN is working on fresh OpenWRT install. WAN is not working.
  2. Install stock firmware. Check if WAN is working. WAN is working.
  3. Install LEDE. Check if WAN is working. WAN is not working.

Here is some news.

  1. I configured WAN port to use eth1 instead of eth0 using VLAN, router acquired the address correctly, so I decided this can be a hardware problem.
  2. After opening case I have noticed some flow marks on the mainboard.
  3. After cleaning mainboard and flashing LEDE WAN port acquired the address from ISP. I am not sure if cleaning really helped because WAN port was working fine with a stock firmware.
  4. I removed WAN6 interface from /etc/config/network and restarted router. Router has not acquired the address from ISP. After reflashing the situation remains the same.
  5. Router was not acquiring the address both from ISP and another router before cleaning, but after cleaning it acquires the address from another router without any problem, but not from ISP. Stock firmware is working fine.
  6. Now I am using eth1 both for LAN and WAN and I wonder where is the root of evil.

What can be the next steps for debugging?

The image that you installed and gave you problems; was it compiled by yourself or did you grab it from the wiki/repo.

I have downloaded it.from the repo
lede-17.01.2-ar71xx-generic-archer-c7-v2-squashfs-factory.bin
SHA-512: 398b3f4f2532ec484591c334e729632c306ee0f30c7e293db26b5bc5aa4332177b7ee948a7fa43e02ff7e345ac6fe8dbc37481cd0c781abdb02d334eb72734cb

Tag CPU Ports 0 & 6 / option force_link

config interface 'wan'
    option ifname 'eth0'
	option proto 'static'
	option auto '1'
	option force_link '1'
	option ipaddr '10.0.0.251'
	option netmask '255.255.255.0'
	option gateway '10.0.0.254'

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

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

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

Did anyone get this to actually work on the TP-Link Archer C7 ?

This was 2 years ago. Which Archer C7 do you have? The V2, V4 and V5 versions are popular models for OpenWrt with good support and no major problems.

When you static IP the WAN you also have to explicitly set the WAN gateway according to your ISP and the WAN DNS to either the ISP's server or a third party.

1 Like

I have an Archer C7 V3.
I flashed it with the latest stable today and have the same problem as before.
It has the the correct static IP for the WAN and the correct gateway address for the WAN. It has the correct DNS server addresses. Exactly the same addresses as I had previously.

If I use the tp-link firmware it works OK.

I finally got it working.
Reset everything to defaults with firstboot.
Then I just configured the lan and wlan fixed IPs etc.
Checked that I got internet connection.
Then I added wireless configuration
All works now

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.