Message ID | 632289031.913.1437989861829.JavaMail.open-xchange@cc-app3.netcologne.de |
---|---|
State | Superseded |
Headers | show |
2015-07-27 11:37 GMT+02:00 Michael Bastian <mbastian@netcologne.de>: >> diff --git a/target/linux/ramips/base-files/etc/board.d/02_network >> b/target/linux/ramips/base-files/etc/board.d/02_network >> index 334e889..a781f46 100755 > [...] >> + re6500) >> + ucidef_set_interface_lan "eth0.1" >> + ucidef_add_switch "switch0" "1" "1" >> + ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t" >> + ;; > > The four physical lan ports on the Linksys RE6500 are connected to switchport 0-3 so it must read: > > + ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t" So it's a mistake, but that's not the aspect of my patch. I just removed wrong indentation and reordered boards, without touching configuration. Cheers, Piotr
> >> diff --git a/target/linux/ramips/base-files/etc/board.d/02_network > >> b/target/linux/ramips/base-files/etc/board.d/02_network > >> index 334e889..a781f46 100755 > > [...] > >> + re6500) > >> + ucidef_set_interface_lan "eth0.1" > >> + ucidef_add_switch "switch0" "1" "1" > >> + ucidef_add_switch_vlan "switch0" "1" "1 2 3 4 6t" > >> + ;; > > > > The four physical lan ports on the Linksys RE6500 are connected to switchport 0-3 so it must read: > > > > + ucidef_add_switch_vlan "switch0" "1" "0 1 2 3 6t" > > So it's a mistake, but that's not the aspect of my patch. > I just removed wrong indentation and reordered boards, without > touching configuration. Apologies, I misinterpreted your patch. I'll come back to this issue to a separate thread. Michael
--- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -104,7 +104,13 @@ ramips_setup_interfaces() ucidef_add_switch_vlan "switch0" "2" "0 9t" ;; - re6500 | \ + re6500) + ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" + ucidef_add_switch "switch0" "1" "1" + ucidef_add_switch_vlan "switch0" "1" "1 2 3 6t" + ucidef_add_switch_vlan "switch0" "2" "0 6t" + ;; + _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org