1000Mb speed on 100Mb port (WAN) on TL-WR840N v3

Hi,
acording with specs Tp-link_tl-wr840n_v3 have a Qualcomm Atheros* QCA9533 chip with 4 LAN ports 100M and 1 WAN port 100M.
but then I run swconfig the WAN port is report itself like this:

root@OpenWrt:~# swconfig dev switch0  show
Global attributes:
	enable_vlan: 1
	mirror_monitor_port: 15
Port 0:
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	pvid: 0
	link: port:0 link:up speed:1000baseT full-duplex txflow rxflow

to make sure that it was not something on my network. I create a new VLAN0 on port 4 and assign the WAN to eth0.0

swconfig dev switch0 show
.....
Port 4:
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	pvid: 0
	link: port:4 link:up speed:100baseT full-duplex auto
VLAN 0:
	vid: 0
	ports: 0t 4 
VLAN 1:
	vid: 1

Then TL-WR840N works just fin on my network. How can I fix this issue?

Port 0 is probably your CPU port, so it is correct.
WAN is connected directly to eth0.

4 Likes

I am getting a wrong message on dmesg.
[ 25.056630] eth0: link up (1000Mbps/Full duplex)
and swconfig show me the same config for switch - eth0

root@OpenWrt:~# swconfig list
Found: switch0 - eth0
root@OpenWrt:~# swconfig dev eth0 show
Global attributes:
	enable_vlan: 1
	mirror_monitor_port: 15
Port 0:
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	pvid: 0
	link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 
Port 1:
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	pvid: 1
	link: port:1 link:down
Port 2:
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	pvid: 1
	link: port:2 link:up speed:10baseT full-duplex auto
Port 3:
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	pvid: 1
	link: port:3 link:down
Port 4:
	enable_mirror_rx: 0
	enable_mirror_tx: 0
	pvid: 0
	link: port:4 link:up speed:100baseT full-duplex auto
VLAN 0:
	vid: 0
	ports: 0t 4 
VLAN 1:
	vid: 1
	ports: 0t 1 2 3 

do you think this is right?


[    1.579872] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[    2.227166] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII

I just notice that port 1 (4 with yellow color) does not work. not big problem, but seems like a problem in the way that it was defined. I can compile a new firmware, but I am searching where to test.
This is the initial commit.
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=0d9adb4832e2c9ef4303b0b7aeff86c0ed4e5d89

Yes, it is correct.

The "plugs" leading to the CPU are 1000 Mbps.

Actually, it doesn't appear to be configured properly.

Can you try the official firmware?

Sorry , I did not explain myself property
pvid:0 is normal as I created a VLAN on port4 because the WAN did not work, and as soon as I created this VLAN, I was able to get IP from the DHCP and use this device as router.

If using the oficial firmware clean. the WAN port does not behave property. I am pretty sure, that something is wrong, but I am unable to find what it is.

It's fairly common to have the hardware of one port burned out by a nearby lightning strike. This especially happens to WAN ports. If the router does not work as expected with stock firmware, it's almost certainly a hardware failure.

You are right. I just unbox a brand new tl-wr840n v3. The port 4 works fine. Somehow old unit had got damaged. So there is not point on waste your time. Thanks for you suggestion. But I am going to test a little more the problem with the WAN port with this brand new unit. I am pretty sure something is not right.

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