summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/etc/uci-defaults/02_network
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-08-06 10:17:16 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-08-06 10:17:16 +0000
commit76f02c7b527f00df8d6db3deda597f18203d08f4 (patch)
tree6ffd873d43f14dfb6988f834aa699e73b3d15972 /target/linux/lantiq/base-files/etc/uci-defaults/02_network
parent4e76c9ed9977ef0801c4027fbce3bdf46d51cab0 (diff)
lantiq: add (incomplete) support for Aztech GR7000
*) can not connect to switch chip *) only one usb port is working *) wifi is not working Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37712 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/base-files/etc/uci-defaults/02_network')
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/02_network6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/02_network b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
index f5401c3edd..6b0093c70b 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/02_network
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/02_network
@@ -73,11 +73,17 @@ 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"
;;
+
+GR7000)
+ ucidef_set_interface_wan "eth0"
+ uci set network.lan.ifname=''
+ ;;
esac
[ -z "$(ls /lib/modules/`uname -r`/ltq_atm*)" ] || set_atm_wan "$vpi" "$vci" "$encaps" "$payload"