Hello,
with current target/linux/ramips/base-files/etc/uci-defaults/02_network
the dlink dir-615 h1 does not set eth0.2 correct for wan (entry missing from
/etc/config/network) and does not seem to work even after manually added.

I tested the little patch below and the dir-615 h1 works right away with
all necessary entries in /etc/config/network !

Signed-off-by: Daniel Petre <d...@ip6.ro>

Index: target/linux/ramips/base-files/etc/uci-defaults/02_network
===================================================================
--- target/linux/ramips/base-files/etc/uci-defaults/02_network  (revision 36195)
+++ target/linux/ramips/base-files/etc/uci-defaults/02_network  (working copy)
@@ -46,7 +46,12 @@
                ucidef_set_interface_lan "eth0"
                ;;
 
-       dir-615-h1 | \
+       dir-615-h1)
+               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"
+               ;;
        3g-6200nl | \
        wl-330n)
                ucidef_set_interface_lan "eth0.1"
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to