OpenWrt Forum Archive

Topic: Please help setting up VDSL on BT Home Hub 5a

The content of this topic has been archived on 9 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi everyone;

So i have recently installed OpenWRT onto my BT Home Hub 5a and wish to use the internal VDSL modem to connect to my (Plusnet) FTTC/VDSL internet connection.

First of all, this is my config;

config vdsl 'dsl'
        option annex 'b'
        option firmware '/lib/firmware/vdsl.bin'
        option tone 'av'
        option xfer_mode 'ptm'

config interface 'wan'
   option proto 'pppoa'
   option username 'username@plusdsl.net'
   option password '********'
   option encaps 'vc'
   option payload 'bridged'
   option atmdev '0'
   option vci '38'
   option vpi '0'
   option ipv6 '0'

A log read on this basically cycles the following;

Tue Mar  8 09:16:15 2016 daemon.info pppd[22389]: Plugin pppoatm.so loaded.
Tue Mar  8 09:16:15 2016 daemon.info pppd[22389]: PPPoATM plugin_init
Tue Mar  8 09:16:15 2016 daemon.info pppd[22389]: PPPoATM setdevname_pppoatm - SUCCESS:0.0.38
Tue Mar  8 09:16:15 2016 daemon.notice pppd[22389]: pppd 2.4.7 started by root, uid 0
Tue Mar  8 09:16:15 2016 daemon.err pppd[22389]: connect(0.0.38): No such device
Tue Mar  8 09:16:15 2016 daemon.info pppd[22389]: Exit.
Tue Mar  8 09:16:15 2016 daemon.notice netifd: Interface 'wan' is now down
Tue Mar  8 09:16:15 2016 daemon.notice netifd: Interface 'wan' is setting up now
Tue Mar  8 09:16:15 2016 daemon.info pppd[22409]: Plugin pppoatm.so loaded.
Tue Mar  8 09:16:15 2016 daemon.info pppd[22409]: PPPoATM plugin_init
Tue Mar  8 09:16:15 2016 daemon.info pppd[22409]: PPPoATM setdevname_pppoatm - SUCCESS:0.0.38
Tue Mar  8 09:16:15 2016 daemon.notice pppd[22409]: pppd 2.4.7 started by root, uid 0
Tue Mar  8 09:16:15 2016 daemon.err pppd[22409]: connect(0.0.38): No such device
Tue Mar  8 09:16:15 2016 daemon.info pppd[22409]: Exit.

And my line sync looks good;

ATU-C Vendor ID:
ATU-C System Vendor ID:
Chipset:                                  Lantiq-VRX200 Unknown
Firmware Version:                         5.7.4.3.0.6
API Version:                              4.16.6.3
XTSE Capabilities:                        0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2
Annex:                                    B
Line Mode:                                G.993.2 (VDSL2)
Profile:                                  17a
Line State:                               UP [0x801: showtime_tc_sync]
Forward Error Correction Seconds (FECS):  Near: 137 / Far: 0
Errored seconds (ES):                     Near: 0 / Far: 0
Severely Errored Seconds (SES):           Near: 0 / Far: 0
Loss of Signal Seconds (LOSS):            Near: 0 / Far: 0
Unavailable Seconds (UAS):                Near: 34 / Far: 34
Header Error Code Errors (HEC):           Near: 0 / Far: 0
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:               Down: Interleave (8.0 ms) / Up: Fast (                0.0 ms)
Data Rate:                                Down: 57.658 Mb/s / Up: 10.988 Mb/s
Line Attenuation (LATN):                  Down: 20.5dB / Up: 29.2dB
Signal Attenuation (SATN):                Down: 19.7dB / Up: 29.0dB
Noise Margin (SNR):                       Down: 6.1dB / Up: 6.1dB
Aggregate Transmit Power(ACTATP):         Down: 6.9dB / Up: 13.6dB
Max. Attainable Data Rate (ATTNDR):       Down: 66.795 Mb/s / Up: 11.064 Mb/s
Line Uptime Seconds:                      4
Line Uptime:                              4s


Out of interest, If I change 'option xfer_mode' to atm from ptm (which i assume is for ADSL lines?) I get the following;

Tue Mar  8 09:20:21 2016 daemon.notice netifd: Interface 'wan' is now down
Tue Mar  8 09:20:21 2016 daemon.notice netifd: Interface 'wan' is setting up now
Tue Mar  8 09:20:21 2016 daemon.info pppd[1336]: Plugin pppoatm.so loaded.
Tue Mar  8 09:20:21 2016 daemon.info pppd[1336]: PPPoATM plugin_init
Tue Mar  8 09:20:21 2016 daemon.info pppd[1336]: PPPoATM setdevname_pppoatm - SUCCESS:0.0.38
Tue Mar  8 09:20:21 2016 daemon.notice pppd[1336]: pppd 2.4.7 started by root, uid 0
Tue Mar  8 09:20:21 2016 kern.info kernel: [   55.144277] pppoa-wan: renamed from ppp0
Tue Mar  8 09:20:21 2016 daemon.info pppd[1336]: Using interface pppoa-wan
Tue Mar  8 09:20:21 2016 daemon.notice pppd[1336]: Connect: pppoa-wan <--> 0.0.38
Tue Mar  8 09:20:51 2016 daemon.warn pppd[1336]: LCP: timeout sending Config-Requests
Tue Mar  8 09:20:51 2016 daemon.notice pppd[1336]: Connection terminated.
Tue Mar  8 09:20:51 2016 daemon.notice pppd[1336]: Modem hangup

However with xfer_mode set to atm, the line doesn't seem to sync;

Annex:
Line Mode:
Profile:
Line State:                               DOWN [0xff: idle request]
<snip>

Please please someone help, I am ready to throw this router in the bin tongue

Thanks.

(Last edited by core2lee on 9 Mar 2016, 11:28)

Ok so I managed to figure out how to get Broadband connected, for anyone interested, this is my config;

config vdsl 'dsl'
        option annex 'b'
        option firmware '/lib/firmware/vdsl.bin'
        option tone 'av'
        option xfer_mode 'ptm'

config interface 'wan'
        option proto 'pppoe'
        option macaddr '00:20:DA:86:23:75'
        option service 'Plusnet'
        option _orig_ifname 'nas0'
        option _orig_bridge 'false'
        option ifname 'ptm0.101'
        option username 'username@plusdsl.net'
        option password '********'

The main thing here is tagging the xDSL interface with the '101' VLAN, without this it won't connect (possibly a BT thing?). more here; https://community.bt.com/t5/BT-Infinity … -p/1040540

The discussion might have continued from here.