TD-9980B on Vodafone Germany: PPPOE Discovery fails

Hello Community,
i'm currently struggling to get a PPP connection with my TD-9980B (with OpenWrt 19.07.0-rc1). The provider supplied router (Easybox 804) needs about 50 seconds for a pppoe discovery:

On the TD-9980B pppd only sends 3 PADI packets and gives up:
Sun Nov 17 10:07:32 2019 daemon.info pppd[3380]: Plugin rp-pppoe.so loaded.
Sun Nov 17 10:07:32 2019 daemon.info pppd[3380]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Sun Nov 17 10:07:32 2019 daemon.notice pppd[3380]: pppd 2.4.7 started by root, uid 0
Sun Nov 17 10:07:32 2019 daemon.debug pppd[3380]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Sun Nov 17 10:07:32 2019 daemon.debug pppd[3380]:  dst ff:ff:ff:ff:ff:ff  src c0:ff:ee:ba:be:c0
Sun Nov 17 10:07:32 2019 daemon.debug pppd[3380]:  [service-name] [host-uniq  00 00 0d 34]
Sun Nov 17 10:07:37 2019 daemon.debug pppd[3380]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Sun Nov 17 10:07:37 2019 daemon.debug pppd[3380]:  dst ff:ff:ff:ff:ff:ff  src c0:ff:ee:ba:be:c0
Sun Nov 17 10:07:37 2019 daemon.debug pppd[3380]:  [service-name] [host-uniq  00 00 0d 34]
Sun Nov 17 10:07:42 2019 daemon.debug pppd[3380]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Sun Nov 17 10:07:42 2019 daemon.debug pppd[3380]:  dst ff:ff:ff:ff:ff:ff  src c0:ff:ee:ba:be:c0
Sun Nov 17 10:07:42 2019 daemon.debug pppd[3380]:  [service-name] [host-uniq  00 00 0d 34]
Sun Nov 17 10:07:47 2019 daemon.warn pppd[3380]: Timeout waiting for PADO packets
Sun Nov 17 10:07:47 2019 daemon.err pppd[3380]: Unable to complete PPPoE Discovery
Sun Nov 17 10:07:47 2019 daemon.info pppd[3380]: Exit.

In the Easybox ppoe discovery some of the packets are tagged with vlan 7. I confirmed with tcpdump that the some of the PADI packets sent by pppd on the TD-9980B are also tagged with vlan 7.
Is there a configuration option for pppd to make it send more PADI packets and wait longer? Or is there something else wrong with my configuration (see below)?

DSL sync works fine (/etc/init.d/dsl_control status):

ATU-C Vendor ID:                          Infineon 178.3
ATU-C System Vendor ID:                   00,00,30,30,30,30,00,00
Chipset:                                  Lantiq-VRX200
Firmware Version:                         5.7.4.4.0.2
API Version:                              4.17.18.6
XTSE Capabilities:                        0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0
Annex:                                    J
Line Mode:                                G.992.5 (ADSL2+)
Profile:                                  
Line State:                               UP [0x801: showtime_tc_sync]
Forward Error Correction Seconds (FECS):  Near: 0 / Far: 1143
Errored seconds (ES):                     Near: 0 / Far: 24789
Severely Errored Seconds (SES):           Near: 0 / Far: 309
Loss of Signal Seconds (LOSS):            Near: 0 / Far: 286
Unavailable Seconds (UAS):                Near: 113 / Far: 113
Header Error Code Errors (HEC):           Near: 0 / Far: 53711
Non Pre-emtive CRC errors (CRC_P):        Near: 0 / Far: 0
Pre-emtive CRC errors (CRCP_P):           Near: 0 / Far: 0
Power Management Mode:                    L0 - Synchronized
Latency [Interleave Delay]:               8.0 ms [Interleave]   0.75 ms [Fast]
Data Rate:                                Down: 17.344 Mb/s / Up: 3.012 Mb/s
Line Attenuation (LATN):                  Down: 13.3 dB / Up: 5.6 dB
Signal Attenuation (SATN):                Down: 11.4 dB / Up: 5.6 dB
Noise Margin (SNR):                       Down: 6.4 dB / Up: 8.4 dB
Aggregate Transmit Power (ACTATP):        Down: 19.4 dB / Up: 11.8 dB
Max. Attainable Data Rate (ATTNDR):       Down: 17.532 Mb/s / Up: 3.103 Mb/s
Line Uptime Seconds:                      40
Line Uptime:                              40s

Here is my /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 'c0ff:eeba:bec0::/48'

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

config dsl 'dsl'
	option annex 'j'
	option tone 'bv'
	option ds_snr_offset '0'

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'

config interface 'wan'
	option ifname 'dsl0.7'
	option proto 'pppoe'
	option ipv6 '1'
	option username 'vk*******'
	option password '****'
	option keepalive '5 20'

config device 'wan_dev'
	option name 'dsl0'
	option macaddr 'c0:ff:ee:ba:be:c0'

config interface 'wan6'
	option ifname '@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'

Hello community,
today i was able to get my TD-9980B working with Vodafone Germany:
I use the firmware i extracted from this file. Extract the firmware with 7zip:

7z e DM200_V1.0.0.34.zip
7z e DM200-V1.0.0.34.img dsl_vr9_firmware_xdsl-05.07.06.0A.00.07_05.07.01.0C.00.02.bin

Vodafone requires, Annex J and bv tone. VLAN tag needs to be 7 (Telekom owned line) or 132 (Vodafone owned line). Make the following changes to /etc/config/network:

config dsl 'dsl'
        option ds_snr_offset '0'
        option annex 'j'
        option tone 'bv'
        option firmware '/lib/firmware/dsl_vr9_firmware_xdsl-05.07.06.0A.00.07_05.07.01.0C.00.02.bin'

config interface 'wan'
        option ifname 'dsl0.7'
        option device 'dsl0'
        option proto 'pppoe'
        option ipv6 '1'
        option username 'vk****'
        option password '*****'

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.