DSL/VDSL setup

Hi All

I'm trying to work out how to set up a BT Home Hub 5 with OpenWrt to work with my RJ11 connections

I've seen masses of instructions for help with a separate modem but nothing with a built-in DSL interface.

Is there someone that could give instructions or point me to some that will help get this working?

My ISP provides a connection via PPPoE

Many thanks

Martin

Here's my config . ISP use VLAN35 . Also there is full mtu1500 pppoe session . VDSL.bin (5.9.1.4.0.7|5.9.0.D.0.1) but my ISP don't use vectoring. I'm pushing 9db SNR to 6.1db for greater synchro . My modem is Fritzbox 7412

root@OpenWrt:~# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd1d:4e4b:b549::/48'
network.globals.packet_steering='1'
network.dsl=dsl
network.dsl.annex='a'
network.dsl.tone='av'
network.dsl.firmware='/lib/firmware/vdsl.bin'
network.dsl.xfer_mode='ptm'
network.dsl.line_more='vdsl'
network.dsl.ds_snr_offset='-29'
network.lan=interface
network.lan.type='bridge'
network.lan.ifname='eth0'
network.lan.proto='static'
network.lan.ipaddr='10.10.0.1'
network.lan.netmask='255.255.0.0'
network.lan.ip6assign='60'
network.wan=interface
network.wan.ifname='dsl0.35'
network.wan.proto='pppoe'
network.wan.username='login@isp'
network.wan.password='password'
network.wan.ipv6='0'
network.wan.pppd_options='mtu 1500 mru 1500'
network.wan_dsl0_dev=device
network.wan_dsl0_dev.name='dsl0'
network.wan_dsl0_dev.mtu='1508'

Does 1500 byte packets even work? I thought it's impossible because pppd defaults to 1492 byte packets anyway.

https://bugs.openwrt.org/index.php?do=details&task_id=2667

ADSL2+ or VDSL2?

If ADSL2+, which Annex?
If VDSL2, is your line using vectoring?

Which OpenWrt version?
Did you buy the device with OpenWrt preinstalled?

1 Like

It work for me that way . pppoe-wan has MTU1500. I can get replay in windows on command
ping openwrt.org -l 1472 -f
I had this bug without
network.wan.pppd_options='mtu 1500 mru 1500';

pppd force me in to MTU=1492 even if dsl0.35 was set to MTU=1508. pppoe MTU=1492 still exist in script somwhare look on my pppd pid

root@OpenWrt:~# cat /proc/2021/cmdline /usr/sbin/pppdnodetachipparamwanifnamepppoe-wanlcp-echo-interval1lcp-echo-failure5lcp-echo-adaptivenodefaultrouteusepeerdnsmaxfail1user****password****ip-up-script/lib/netifd/ppp-upip-down-script/lib/netifd/ppp-downmtu1492mru1492pluginrp-pppoe.sonic-dsl0.35mtu1500mru1500

Thanks for the reply nicefile but I have no idea how to use this.

Can you give me some direction, please

mpa

ADSL2+ or VDSL2? = VDSL
If ADSL2+, which Annex? = I have no idea!!!
Which OpenWrt version? = OpenWrt 18.06.4 r7808-ef686b7292
Did you buy the device with OpenWrt preinstalled? = Yes

Have I missed something, What are you talking about?

Does your line use VDSL vectoring (G.993.5)? You can find this out either by looking at the web interface of your previous VDSL modem, or by asking your ISP.

Annex does not matter for VDSL, you can ignore this question.

This version is old and contains known security vulnerabilities.
Upgrading to the latest stable release, 19.07.7, would be a good idea.

@nicefile is proposing an optimized configuration. However, it breaks connectivity for some ISPs and is not fully supported by OpenWrt either. It is certainly not something I would suggest to a beginner.

Better stay with the basic configurations behind the links I posted above.

I have already posted the solution in another thread but thought it might be worth pasting it here too

This is to connect to Plusnet in the UK you may need to contact your provider for some of the setting listed in this solution.

  1. Go to Network>interfaces- then click on "Edit" or click on the "WAN" tab
  2. In the "DSL" section enter the following settings
  3. Annex: Annex A + L + M(all)
  4. Tone: A43C + J43 + A43
  5. Encapsulation mode: PTM/EFM(Packet Transfer mode)
  6. DSL line mode: VDSL
  7. Downstream SNR offset: 0.0 dB
  8. Leave the rest as default and click on "Save and Apply"
  9. click on "Edit" or click on the "WAN" tab again
  10. Click on the "Physical settings tab"
  11. From the drop-down scroll to the bottom of the drop-down and in custom enter
  12. dsl0.101
  13. Click on save and apply
  14. click on "Edit" or click on the "WAN" tab again
  15. Select PPPoE protocol from the drop-down...
  16. at this point you may have click on switch protocols to initialise the new protocol
  17. Enter your user-name and password
  18. Click on save and apply
  19. You should now be able to access the Internet via your router
  20. You may also need to setup your wifi interface

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