Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#530 - The switch and vlan are wrrong port with linksys RE6500 #5621

Closed
openwrt-bot opened this issue Feb 18, 2017 · 4 comments
Closed

FS#530 - The switch and vlan are wrrong port with linksys RE6500 #5621

openwrt-bot opened this issue Feb 18, 2017 · 4 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Feb 18, 2017

xseven007:

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@eth0"
;;
And then I modify it.:
rp-n53)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0"
;;
re6500)
ucidef_add_switch "switch0" \
"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6t@eth0"
;;

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

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 20, 2017

jow-:

Did you test all four lan ports? Sometimes the internal ports are not numerically ordered.

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 21, 2017

mkresin:

Jow, it seams to me the reported is right. Port 0 isn't mentioned for 02_network.

Phoenix.xie would you please send a fix according to https://lede-project.org/docs/guide-developer/the-source-code#submitting_patches if you already know how to fix this.

@openwrt-bot
Copy link
Author

openwrt-bot commented Feb 25, 2017

xseven007:

I don't know how to add patch, But I have already know how to fix it.
/target/linux/ramips/base-files/etc/board.d/02_network
before:
re6500|
rp-n53)
ucidef_add_switch “switch0”
“1:lan” “2:lan” “3:lan” “4:lan” “6t@eth0” ;;
after fix :
rp-n53)
ucidef_add_switch “switch0”
“1:lan” “2:lan” “3:lan” “4:lan” “6t@eth0” ;;
re6500)
ucidef_add_switch “switch0”
“0:lan:1” “1:lan:2” “2:lan:3” “3:lan:4” “6t@eth0” ;;

It is that just let the RE6500 have a different config, Because the re6500 port 0 is the LAN1, and there is no port 4, just port 3 for Lan4..

@openwrt-bot
Copy link
Author

openwrt-bot commented Mar 7, 2017

zjufrankzhang:

I have also encounter the same problem on my re6500. When I plugged in port 2, the switch page said LAN1 is up. I have tried other ports, port3 -> LAN2, port4 -> LAN3, port1 -> nothing. The reason Phoenix.xie pointed out and his fix also seems right, is anyone make the fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant