PPPoE Protocol Reject

I have a TP-Link TD-W8970 modem router and I have just installed the latest LEDE release. However, I am not ablo to connect through PPPoE to my ISP.

Some notes:

  • the connection is VDSL2 annex B (Italy)
  • CHAP/PAP authentication is successful but the both IPCP and IPv6 protocols get rejected.
  • I am trying to connect through the "wan_dsl" config you can see below, the "wan" one is used to communicate with an external modem and that works

Here the log:

Sun Feb 5 16:12:05 2017 daemon.info pppd[1371]: CHAP authentication succeeded
Sun Feb 5 16:12:05 2017 daemon.notice pppd[1371]: CHAP authentication succeeded
Sun Feb 5 16:12:05 2017 daemon.notice pppd[1371]: peer from calling number 2A:8A:1C:A6:A0:30 authorized
Sun Feb 5 16:12:05 2017 daemon.debug pppd[1371]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Sun Feb 5 16:12:05 2017 daemon.debug pppd[1371]: sent [IPV6CP ConfReq id=0x1 ]
Sun Feb 5 16:12:05 2017 daemon.debug pppd[1371]: rcvd [LCP ProtRej id=0xa3 80 21 03 06 00 00 00 00 81 06 00 00 00 00 83 06 00 00 00 00]
Sun Feb 5 16:12:05 2017 daemon.debug pppd[1371]: Protocol-Reject for 'Internet Protocol Control Protocol' (0x8021) received
Sun Feb 5 16:12:05 2017 daemon.debug pppd[1371]: rcvd [LCP ProtRej id=0xa4 80 57 01 0a c1 69 64 52 b7 dd 27 42]
Sun Feb 5 16:12:05 2017 daemon.debug pppd[1371]: Protocol-Reject for 'IPv6 Control Protocol' (0x8057) received

My network file:

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 'fd69:968e:07a5::/48'

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

config dsl 'dsl'
option xfer_mode 'ptm'
option annex 'b'
option line_mode 'vdsl'

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

config interface 'wan'
option _orig_ifname 'ptm0'
option _orig_bridge 'false'
option ifname 'eth0.2'
option proto 'static'
option ipaddr '192.168.1.250'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
option broadcast '192.168.1.255'
option dns '8.8.8.8 8.8.4.4'

config device 'wan_dev'
option name 'ptm0'
option macaddr 'A4:5D:A1:99:26:E3'

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 vid '1'
option ports '0 2 5 6t'

config switch_vlan
option device 'switch0'
option vlan '2'
option vid '2'
option ports '4 6t'

config interface 'wan_dsl'
option _orig_ifname 'ptm0'
option _orig_bridge 'false'
option ifname 'ptm0'
option proto 'pppoe'
option username 'XXX'
option password 'XXX'
option ipv6 'auto'
option 'pppd_options' 'debug'