[FS#843] Switch port order reversed on TL-WR740N (v2.5)

LEDE Bugs lede-bugs at lists.infradead.org
Sat Jul 1 02:38:26 PDT 2017


The following task has a new comment added:

FS#843 - Switch port order reversed on TL-WR740N (v2.5)
User who did this - mikabak (mikabak)

----------
Hi Piotr,

Thanks for taking the time to fix this.

When I go to Switch menu in LuCi I get this message on the top of the page:
Switch "switch0" has an unknown topology - the VLAN settings might not be accurate.

The port labeling in LuCi is still wrong but different from before:
(to the left labels in LuCI and to the right port number on enclosure)

Port1 -> cpu
Port2 -> 1
Port3 -> 2
Port4 -> 3
Port5 -> 4
CPU (eth0) -> ?

Seem to me that this firmware image believes that this switch has more ports than it actually has. Please note that the WAN port on this device is not part of the switch.

The output from swconfig is the same as before and seems ok to me:
# swconfig dev eth0 show
Global attributes:
	enable_vlan: 1
Port 0:
	pvid: 0
	link: port:0 link:up speed:1000baseT full-duplex txflow rxflow 
Port 1:
	pvid: 2
	link: port:1 link:down
Port 2:
	pvid: 2
	link: port:2 link:down
Port 3:
	pvid: 3
	link: port:3 link:down
Port 4:
	pvid: 4
	link: port:4 link:down
VLAN 0:
	vid: 0
	ports: 0t 
VLAN 1:
	vid: 1
	ports: 0t 
VLAN 2:
	vid: 2
	ports: 0t 1 2 
VLAN 3:
	vid: 3
	ports: 0t 3 
VLAN 4:
	vid: 4
	ports: 0t 4

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=843#comment2875



More information about the lede-bugs mailing list