[OpenWrt-Devel] lenovo Y1/S port mapping

郭传鈜 gch981213 at gmail.com
Fri Dec 12 06:21:00 EST 2014


Y1S has 2 Gigabit LAN.
So I used the following:
	y1 |\
	y1s)
		ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
		ucidef_add_switch "switch0" "1" "1"
		ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 5 6t 7"
		ucidef_add_switch_vlan "switch0" "2" "4 6t"
		;;

Tested on Y1.
But I don't have a Y1S so I can't test if this is the correct config.

Ah....Sorry for my bad English:-)

2014-12-12 3:44 GMT+08:00, John Crispin <blogic at openwrt.org>:
> Hi,
>
> any lenovo Y1S users around ?
>
> while looking into this ticket ->
>
> https://dev.openwrt.org/ticket/18528
>
> i found this site ->
> http://show.smzdm.com/detail/94937
>
> looking at the picture i think the port mapping is totally broken.
>
> we currently have
> 	y1 |\
>         y1s)
>                 ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
>                 ucidef_add_switch "switch0" "1" "1"
>                 ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 5 6t"
>                 ucidef_add_switch_vlan "switch0" "2" "0 6t"
>
>
> wan on Y1 should be port 4 and wan on Y1S should be port 5 (gmac1)
>
> i think it should be
> 	y1)
>                 ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
>                 ucidef_add_switch "switch0" "1" "1"
>                 ucidef_add_switch_vlan "switch0" "1" "0 1 2 3  6t"
>                 ucidef_add_switch_vlan "switch0" "2" "4 6t
>
>         y1s)
>                 ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
>                 ucidef_add_switch "switch0" "1" "1"
>                 ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 4 6t"
>                 ucidef_add_switch_vlan "switch0" "2" "5 6t"
>
> could someone tell me if the case has WAN written on any of the ports ?
>
> 	John
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
>
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list