[SOLVED] LEDE install TD-W8970 for Vdsl2

It works very well. Thanks.

here is my config file

root@LEDE:~# cat /etc/config/network 

config interface 'loopback'
	option ifname 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix '****************'

config atm-bridge 'atm'
	option encaps 'llc'
	option payload 'bridged'
	option vci '35'
	option vpi '8'

config dsl 'dsl'
	option annex 'b'
	option tone 'av'
	option xfer_mode 'ptm'

config interface 'lan'
	option type 'bridge'
	option ifname 'eth0.1'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '60'
	option dns '208.67.222.222'

config interface 'wan'
	option ifname 'ptm0.35'
	option proto 'pppoe'
	option ipv6 'auto'
	option username '***********'
	option password '***********'

config device 'wan_dev'
	option name 'ptm0'
	option macaddr '**************'

config interface 'wan6'
	option ifname 'pppoe-wan'
	option proto 'dhcpv6'

config switch
	option name 'switch0'
	option reset '1'
	option enable_vlan '1'

config switch_vlan
	option device 'switch0'
	option vlan '1'
	option ports '0 2 4 5 6t'
1 Like