[FS#530] The switch and vlan are wrrong port with linksys RE6500

LEDE Bugs lede-bugs at lists.infradead.org
Sat Feb 18 07:22:46 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - phoenix.xie (xseven007) 

Attached to Project - LEDE Project
Summary - The switch and vlan are wrrong port with linksys RE6500
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on
Linksys RE6500
 - Software versions of LEDE release, packages, etc.
The last commit with github,SNAPSHOT r3522-157b787
 - Steps to reproduce
In the luci->network->switch. The port is not correct . 
When I put in the LAN2(on the back hole), the LAN1 show up, and the syslog said Sat:
Feb 18 20:32:05 2017 http://kern.info  kernel: [35432.590000] mtk_soc_eth 1e100000.ethernet eth0: port 1 link up

And when I put in the LAN1, there is no one show up in the luci.. But in the syslog, it is said :
Sat Feb 18 20:36:27 2017 http://kern.info  kernel: [35432.590000] mtk_soc_eth 1e100000.ethernet eth0: port 0 link up

So I think there is some bug in the file /target/linux/ramips/base-files/etc/board.d/02_network
I see that the file has:
re6500|\ 
rp-n53) 
ucidef_add_switch "switch0" \ 
"1:lan" "2:lan" "3:lan" "4:lan" "6t at eth0"
;;
And then I modify it.:
rp-n53) 
ucidef_add_switch "switch0" \ 
"1:lan" "2:lan" "3:lan" "4:lan" "6t at eth0"
;;
re6500) 
ucidef_add_switch "switch0" \ 
"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6t at eth0"
;;

And rebuild the img,, then I works... When I put in the LAN1, the LAN1 show up in the luci->network->switch...

 

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



More information about the lede-bugs mailing list