lantiq: several a803 related fixes
[openwrt/svn-archive/archive.git] / target / linux / lantiq / base-files / etc / uci-defaults / 02_network
index db5b58e97752a42b3ed3b275fcb3ea6847544c83..f5401c3edd5f737dff6a2d0dbb8cdef980eef7ae 100755 (executable)
@@ -21,6 +21,10 @@ set network.wan.ifname='nas0'
 set network.wan.proto='pppoe'
 set network.wan.username='foo'
 set network.wan.password='bar'
+set network.wan.ipv6='1'
+set network.wan6='interface'
+set network.wan6.ifname='@wan'
+set network.wan6.proto='dhcpv6'
 EOF
 }
 
@@ -47,17 +51,17 @@ ARV4520PW)
        ucidef_add_switch_vlan "eth0" "1" "3 2 1 0 5t"
        ;;
 
-GIGASX76X)
+ACMP252|GIGASX76X)
        ucidef_set_interface_lan "eth0.1"
        ucidef_add_switch "eth0" "1" "1"
        ucidef_add_switch_vlan "eth0" "1" "4 3 2 1 5t"
        ;;
 
 # ar8316
-ARV4519PW|ARV7518PW)
+ARV4519PW|ARV7518PW|ARV752DPW22)
        ucidef_set_interface_lan "eth0.1"
-       ucidef_add_switch "eth0" "1" "1"
-       ucidef_add_switch_vlan "eth0" "1" "0t 2 3 4 5"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "0t 2 3 4 5"
        ;;
 
 WBMR)
@@ -65,6 +69,15 @@ WBMR)
        ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 4 5"
        ;;
 
+VG3503J)
+       ucidef_set_interface_lan 'eth0'
+       uci set network.lan.type='none'
+       ;;
+DGN3500*)
+       ucidef_set_interface_lan "eth0.1"
+       ucidef_add_switch "switch0" "1" "1"
+       ucidef_add_switch_vlan "switch0" "1" "3 2 1 0 5t"
+       ;;
 esac
 
 [ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"