Connect with Italian ISP Tim adsl/vdsl

Hi, i'm new of openwrt and i' m trying really hard to connect to my ISP (Tim Italia) with my fritboz 7530 openwrt 23.05.0
I install the firmware as described here, then i connect the cable to the (grey) dsl port.
After a reboot i see on the main page

DSL Status
Line State: Showtime with TC-Layer sync
Line Mode: G.993.2 (VDSL2, Profile 17a)
Line Uptime: 0h 12m 5sData Rate: 84.570 Mb/s / 21.599 Mb/s
Noise Margin: 5.9 dB / 13.3 dB

the syslog

Wed Sep 25 14:09:37 2024 kern.info kernel: [  815.564038] vrx518_tc:ptm_open: ptm open
Wed Sep 25 14:09:37 2024 daemon.notice netifd: Interface 'wan' is enabled
Wed Sep 25 14:09:37 2024 daemon.notice netifd: Interface 'wan' is setting up now
Wed Sep 25 14:09:37 2024 daemon.info pppd[7557]: Plugin pppoe.so loaded.
Wed Sep 25 14:09:37 2024 daemon.info pppd[7557]: PPPoE plugin from pppd 2.4.9
Wed Sep 25 14:09:37 2024 daemon.notice pppd[7557]: pppd 2.4.9 started by root, uid 0
Wed Sep 25 14:09:38 2024 daemon.warn odhcpd[1171]: No default route present, overriding ra_lifetime!
Wed Sep 25 14:09:52 2024 daemon.warn pppd[7557]: Timeout waiting for PADO packets
Wed Sep 25 14:09:52 2024 daemon.err pppd[7557]: Unable to complete PPPoE Discovery
Wed Sep 25 14:09:52 2024 daemon.info pppd[7557]: Exit.
Wed Sep 25 14:09:52 2024 daemon.notice netifd: Interface 'wan' is now down
Wed Sep 25 14:09:52 2024 daemon.notice netifd: Interface 'wan' is disabled
Wed Sep 25 14:09:52 2024 kern.info kernel: [  831.026672] vrx518_tc:ptm_stop: ptm stop
Wed Sep 25 14:09:52 2024 kern.info kernel: [  831.028544] vrx518_tc:ptm_set_mac_address: ptm mac address update!
Wed Sep 25 14:09:52 2024 kern.info kernel: [  831.031761] vrx518_tc:ptm_set_mac_address: ptm mac address update!
Wed Sep 25 14:09:52 2024 kern.info kernel: [  831.035911] vrx518_tc:ptm_open: ptm open
Wed Sep 25 14:09:52 2024 daemon.notice netifd: Interface 'wan' is enabled
Wed Sep 25 14:09:52 2024 daemon.notice netifd: Interface 'wan' is setting up now
Wed Sep 25 14:09:53 2024 daemon.info pppd[7660]: Plugin pppoe.so loaded.
Wed Sep 25 14:09:53 2024 daemon.info pppd[7660]: PPPoE plugin from pppd 2.4.9
Wed Sep 25 14:09:53 2024 daemon.notice pppd[7660]: pppd 2.4.9 started by root, uid 0
Wed Sep 25 14:09:53 2024 daemon.warn odhcpd[1171]: No default route present, overriding ra_lifetime!
Wed Sep 25 14:10:08 2024 daemon.warn pppd[7660]: Timeout waiting for PADO packets
Wed Sep 25 14:10:08 2024 daemon.err pppd[7660]: Unable to complete PPPoE Discovery
Wed Sep 25 14:10:08 2024 daemon.info pppd[7660]: Exit.
Wed Sep 25 14:10:08 2024 daemon.notice netifd: Interface 'wan' is now down
Wed Sep 25 14:10:08 2024 daemon.notice netifd: Interface 'wan' is disabled
Wed Sep 25 14:10:08 2024 kern.info kernel: [  846.497311] vrx518_tc:ptm_stop: ptm stop
Wed Sep 25 14:10:08 2024 kern.info kernel: [  846.498968] vrx518_tc:ptm_set_mac_address: ptm mac address update!
Wed Sep 25 14:10:08 2024 kern.info kernel: [  846.502722] vrx518_tc:ptm_set_mac_address: ptm mac address update!
Wed Sep 25 14:10:08 2024 daemon.notice netifd: Interface 'wan' is enabled
Wed Sep 25 14:10:08 2024 daemon.notice netifd: Interface 'wan' is setting up now
Wed Sep 25 14:10:08 2024 kern.info kernel: [  846.507369] vrx518_tc:ptm_open: ptm open
Wed Sep 25 14:10:08 2024 daemon.info pppd[7763]: Plugin pppoe.so loaded.
Wed Sep 25 14:10:08 2024 daemon.info pppd[7763]: PPPoE plugin from pppd 2.4.9
Wed Sep 25 14:10:08 2024 daemon.notice pppd[7763]: pppd 2.4.9 started by root, uid 0
Wed Sep 25 14:10:09 2024 daemon.warn odhcpd[1171]: No default route present, overriding ra_lifetime!

Ok, as i read here and here i understand that i have to edit the /etc/config /network file
But how?
Neither

config interface 'wan'
    option ifname 'eth0.835'
    option proto 'pppoe'
    option username '[replace with your phone number]'
    option password 'timadsl'
    option ipv6 'auto'

nor

config device
	option type '8021q'
	option ifname 'wan'
	option vid '835'
	option name 'eth0.835'

are working. My unmodified file

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 'fd51:0dxxxxxxxxxx'

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'

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'
	option proto 'static'
	option ipaddr '192.168.63.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

config device
	option name 'dsl0'
	option macaddr '44:4E:6D:xx:xx:xx'

config interface 'wan'
	option device 'dsl0'
	option proto 'pppoe'
	option username 'username'
	option password 'password'
	option ipv6 '1'

config interface 'wan6'
	option device '@wan'
	option proto 'dhcpv6'

Any help would be greatly appreciated

This must be dsl0.835

1 Like

Thanks a lot, it works!!! So the config is

config interface 'wan'
	option device 'dsl0.835'
	option proto 'pppoe'
	option peerdns '0'
	option username '0332xxxxxx'
	option password 'timadsl'
    option ipv6 '0'

now i see the syslog

Wed Sep 25 15:21:00 2024 daemon.err odhcp6c[2606]: Failed to send RS (Network unreachable)
Wed Sep 25 15:21:00 2024 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
Wed Sep 25 15:21:01 2024 daemon.err odhcp6c[2606]: Failed to send SOLICIT message to ff02::1:2 (Network unreachable)
Wed Sep 25 15:21:01 2024 daemon.warn odhcpd[1168]: No default route present, overriding ra_lifetime!
Wed Sep 25 15:21:02 2024 daemon.err odhcp6c[2606]: Failed to send SOLICIT message to ff02::1:2 (Network unreachable)
Wed Sep 25 15:21:04 2024 daemon.err odhcp6c[2606]: Failed to send SOLICIT message to ff02::1:2 (Network unreachable)
Wed Sep 25 15:21:04 2024 daemon.err odhcp6c[2606]: Failed to send RS (Network unreachable)
Wed Sep 25 15:21:08 2024 daemon.err odhcp6c[2606]: Failed to send RS (Network unreachable)

is related to ipv6? Can i disable?

That comes from wan6 that likely needs to be relocated to pppoe-wan as backing device, or rather disabled if no ip6 support is expected.

Thanks, i comment the wan6 part

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