FritzBox 7530 - DSL Connection attempt failed - Germany - Maingau-Energie

Hey there,

I am having trouble to get DSL working with OpenWRT..

So it seems it's able to connect, but under the interfaces section I am getting:


Connection attempt failed.

On my current (non OpenWRT) router I just needed the username, password and set the VLAN ID to 7, which I think I did editing the config, as there isn't an option via the UI (at least I didn't find anything)
(Here is the offical manual to setup a DSL connection Maingau)

This is what my current config on my TP-Link Router looks like:

Any help on this matter would be greatly appreciated <3

My config looks as follows:

root@OpenWrt:~# cat /etc/config/network

config interface 'loopback'
	option device 'lo'
	option proto 'static'
	option ipaddr '127.0.0.1'
	option netmask '255.0.0.0'

config globals 'globals'
	option ula_prefix 'fdb6:5d83:5e10::/48'
	option packet_steering '1'

config atm-bridge 'atm'
	option vpi '1'
	option vci '32'
	option encaps 'llc'
	option payload 'bridged'
	option nameprefix 'dsl'

config dsl 'dsl'
	option annex 'j'
	option tone 'b'
	option ds_snr_offset '0'
	option line_mode 'vdsl'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'lan1'
	list ports 'lan2'
	list ports 'lan3'
	list ports 'lan4'

config interface 'lan'
	option device 'br-lan.99'
	option proto 'static'
	option ipaddr '192.168.1.1'
	option netmask '255.255.255.0'
	option ip6assign '64'
	option delegate '0'
	option ip6hint '99'
	option ip6ifaceid '::1'

config device
	option name 'dsl0'
	option macaddr '2C:91:AB:BD:14:6E'

config interface 'wan'
	option device 'dsl0'
	option proto 'pppoe'
	option username 'USERNAME'
	option password 'PASSWORD'
	option ipv6 'auto'
	option peerdns '0'
	option vlan '7'
	list dns '9.9.9.9'
	list dns '1.1.1.1'

config interface 'wan6'
	option device '@wan'
	option proto 'dhcpv6'
	option reqaddress 'try'
	option reqprefix 'auto'
	option norelease '1'
	option peerdns '0'
	list dns '2606:4700:4700::1111'
	list dns '2606:4700:4700::1001'
	list dns '2620:fe::fe'
	list dns '2620:fe::9'

config bridge-vlan
	option device 'br-lan'
	option vlan '3'
	list ports 'lan1:t'
	list ports 'lan2:u*'

config bridge-vlan
	option device 'br-lan'
	option vlan '4'
	list ports 'lan1:t'
	list ports 'lan3:u*'

config bridge-vlan
	option device 'br-lan'
	option vlan '99'
	list ports 'lan1:t'
	list ports 'lan4:u*'

config interface 'IOT'
	option proto 'static'
	option device 'br-lan.3'
	option ipaddr '192.168.33.1'
	option netmask '255.255.255.0'
	option ip6assign '64'
	option ip6hint '33'
	option ip6ifaceid '::1'
	option defaultroute '0'
	option delegate '0'

config interface 'Guest'
	option proto 'static'
	option device 'br-lan.4'
	option ipaddr '192.168.4.1'
	option netmask '255.255.255.0'

Try this version:

config interface 'wan'
        option proto 'pppoe'
        option ipv6 'auto'
        option password 'password'
        option username 'username'
        option device 'dsl0.7'
config interface 'wan6'
        option device '@wan'
        option proto 'dhcpv6'

That's how it works with Deutsche Telekom.

1 Like

Alright so I got it working.. I changed 2 things:

  1. I changed the tone from 'b' to 'bv'
  2. I removed "option device 'dsl0'" under WAN and added "option ifname 'dsl0.7'"
    leading to luci telling me that 'ifname' is outdated and then it updated it to "option device 'dsl0.7'" but it also kept the "option vlan '7'" I added earlier

AND a second WAN6 thing appeared, which confuses me
..can someone explain to me why I got 3 WAN interfaces now?

ifname is deprecated and shouldn't be used.
option vlan 7 is not necessary (unless you need to distinguish between VLAN and VLAN ID; you don't).
wan6 is (normally) not useful for PPPoE links, IPv6 is handled as part of the PPP session (via option ipv6 auto/ 1), which auto-creates wan_6 instead.

elder_tinkerer's suggestions were spot on (apart of wan6; won't hurt, but doesn't help either).

1 Like

so do I just leave it be with 2 WAN6 interface or do I delete one of them?

EDIT:
(I knew that ifname shouldn't be used, but I tried it as the ISP docs seem to be outdated and I wanted to see what happens)

The wan6 stanza can be removed (wan_6 is doing the job).

1 Like

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