DSL/ATM/ADSL2+ puzzle
are there "most commonly known problems" for Showtime with TC-Layer sync
state and no RX (no PPPOE
)?
- Any way to enable debug mode for ATM connection? or any command to exchange any "low level ping / test" data to verify the correctness of
ATM/dsl0.7
config? *Even with "debug" log level there's not much in the log. dsl0.7 gets initialized though. - I guess
PPPoE
doesn't even matter on this stage (Timeout waiting for PADO packets
). - there is some TX from the router, but according to provider there are no "login attempts".
- if I plug the dsl cabel from a working device (fritzos) to a non-working (openwrt) - then I get some RX right away (after a quick synchronization). So the dslam is still trying to send something and openwrt modem picks that up and shows like traffic (even still no pppoe)
clarifications
-
any dsl "advanced parameters" to learn/look into?
mtu 1500 / tx queue length 1000 -
Should
option xfer_mode 'atm'
be explicitly set (network.dsl.xfer_mode='atm'
)? -
atm device / bridge unit - empty
the stack
1. ADSL2+ link (Annex B, Profile ??, ITU Line mode G.993.5)
2. ATM (vci 32 vpi 1 LLC)
3. Ethernet with VLAN 7
4. PPPOE
logread
ppp:
pppd[21661]: Timeout waiting for PADO packets
Sat Mar 16 17:06:22 2024 daemon.err pppd[21661]: Unable to complete PPPoE Discovery
Sat Mar 16 17:06:22 2024 daemon.info pppd[21661]: Exit.
current setup
- hw: fritzbox 7412
- openwrt 23.05.2 (snapshot tried).
- dsl states "Showtime with TC-Layer sync"
- in luci DSL only shows/counts outgoing packets. NO RX (see below dsl control).
- fonial support confirms vci 32 vpi 1 LLC encapsulation.
- fonial official configuration fritzbox (german): https://www.fonial.de/hilfe/dsl/konfiguration-des-anschlusses/router-einrichten/fritzbox-einrichten/fritzbox-internet-einrichten
- fonial official configuration tp-archer: https://www.fonial.de/hilfe/dsl/konfiguration-des-anschlusses/router-einrichten/tp-link-archer-einrichten
what "works":
pppoe/internet
worked on this openwrt device with telekom + vdsl- an alternative fritzbox with the stock fritzos connects OK (internet, pppoe): annex b, tone b43 (others too).
- verified credentials in pppoe login wireshark via stock fritzos -> same as provided by the isp.
/etc/config/network
config dsl 'dsl'
option firmware '/lib/firmware/vr9-B-dsl.bin'
option tone 'bv'
#option tone 'V43'
option annex 'b2p'
#option annex 'j'
option ds_snr_offset '0'
config atm-bridge
option encaps 'llc'
option payload 'bridged'
option vci '32'
option vpi '1'
option nameprefix 'dsl'
config device
option name 'dsl0'
option macaddr 'C8:0E:14:34:BA:B8'
config interface 'wan'
option proto 'pppoe'
option device 'dsl0.7'
option username 'Y@fonial.de'
option password 'X'
option ipv6 'auto'
option delegate '0'
config interface 'wan6'
option device '@wan'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
option peerdns '0'
config device
option name 'dsl0.7'
option type '8021q'
option ifname 'dsl0'
option vid '7'
option mtu '1500'
option macaddr 'C8:0E:14:33:BA:B8'
notes
- in the configuration manual for fritzbox: "Plusnet" or "qsc.de" should be selected. Are there any other settings could be influenced by this?
- the isp stresses that hw should support annex j, but in the configuration one should select "adsl2+/vdsl". I played with all of them (A43C/J43/A43/V43)
- tried with 2 firmwares (lantiq redistributable and from the fb firmware).
Used in the research
- https://openwrt.org/toh/bt/homehub_v5a#adslvdsl_configuration_examples
- https://openwrt.org/docs/guide-user/network/wan/isp-configurations
- Fritzbox 7520 - wan (dsl0.7) device is missing - #12 by wood
/etc/init.d/dsl_control dslstat
{
"api_version": "4.17.18.6",
"firmware_version": "5.9.0.13.0.2",
"chipset": "Lantiq-VRX200",
"driver_version": "1.5.17.6",
"state": "Showtime with TC-Layer sync",
"state_num": 7,
"up": true,
"uptime": 637,
"atu_c": {
"vendor_id": [
181,
0,
66,
68,
67,
77,
147,
239
],
"vendor": "Broadcom 147.239",
"system_vendor_id": [
0,
0,
48,
48,
48,
48,
0,
0
],
"version": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"serial": [
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48,
48
]
},
"power_state": "L0 - Synchronized",
"power_state_num": 0,
"xtse": [
0,
0,
0,
0,
0,
4,
0,
0
],
"annex": "B",
"standard": "G.992.5",
"mode": "G.992.5 (ADSL2+)",
"upstream": {
"trellis": true,
"bitswap": true,
"retx": false,
"virtual_noise": false,
"ra_mode_num": 4294967295,
"interleave_delay": 500,
"inp": 0.000000,
"data_rate": 1287000,
"latn": 16.800000,
"satn": 16.600000,
"snr": 6.800000,
"actps": -38.000000,
"actatp": 12.600000,
"attndr": 1291000
},
"downstream": {
"trellis": true,
"bitswap": false,
"retx": false,
"virtual_noise": false,
"ra_mode_num": 4294967295,
"interleave_delay": 250,
"inp": 0.000000,
"data_rate": 12815000,
"latn": 20.600000,
"satn": 18.800000,
"snr": 6.700000,
"actps": -41.400000,
"actatp": 18.600000,
"attndr": 13180000
},
"olr": {
"downstream": {
"bitswap": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
},
"sra": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
},
"sos": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
}
},
"upstream": {
"bitswap": {
"requested": 2,
"executed": 1,
"rejected": 0,
"timeout": 0
},
"sra": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
},
"sos": {
"requested": 0,
"executed": 0,
"rejected": 0,
"timeout": 0
}
}
},
"errors": {
"near": {
"es": 25,
"ses": 0,
"loss": 0,
"uas": 117,
"lofs": 0,
"fecs": 0,
"cv_c": 42,
"fec_c": 0,
"hec": 231,
"ibe": 3510185699,
"crc_p": 0,
"crcp_p": 0,
"cv_p": 0,
"cvp_p": 0
},
"far": {
"es": 55506,
"ses": 27434,
"loss": 39,
"uas": 117,
"lofs": 0,
"fecs": 133496,
"cv_c": 119537,
"fec_c": 2626599,
"hec": 2451505,
"ibe": 129738364,
"crc_p": 0,
"crcp_p": 0,
"cv_p": 0,
"cvp_p": 0,
"rx_corrupted": 0,
"rx_uncorrected_protected": 0,
"rx_retransmitted": 0,
"rx_corrected": 0,
"tx_retransmitted": 0
}
}
}
any pointers / tools / settings / commands to try out are welcome. Thank you!