summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/base-files/etc
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-08-06 10:17:16 +0000
committerLuka Perkov <luka@openwrt.org>2013-08-06 10:17:16 +0000
commit27fa6405484077d860a0ed8c4ed9bf434aefe611 (patch)
treec7073080822c4063ada0fe304b518906a342ab94 /target/linux/lantiq/base-files/etc
parent3f351e27707786c1b2f5482070efd5930a5c7d06 (diff)
downloadmtk-20170518-27fa6405484077d860a0ed8c4ed9bf434aefe611.zip
mtk-20170518-27fa6405484077d860a0ed8c4ed9bf434aefe611.tar.gz
mtk-20170518-27fa6405484077d860a0ed8c4ed9bf434aefe611.tar.bz2
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> SVN-Revision: 37712
Diffstat (limited to 'target/linux/lantiq/base-files/etc')
-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 f5401c3..6b0093c 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"