Need help configuring PPPoE connection

Hello! I just got an Asus RT-AX53U router. I flashed it with the newest Openwrt version: 24.10.1
I cannot connect to my ISP. It's using PPPoE and I don't know what I did wrong. Here is my network configuration:

config globals 'globals'
	option packet_steering '1'

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

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

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '192.168.0.1'
	option netmask '255.255.255.0'

config interface 'wan'
	option device 'wan'
	option proto 'pppoe'
	option username 'xxx'
	option password 'xxx'
	option macaddr '00:24:8c:a3:0d:76'
	option pppd_options 'debug'

I cloned MAC that was in use by router that was previously connected in case my ISP uses mac filter. Unfortunately I cannot check configuration of the old router as I don't have password.
My log:

Fri Jun 20 22:31:21 2025 daemon.notice netifd: Network device 'wan' link is up
Fri Jun 20 22:31:21 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Fri Jun 20 22:31:21 2025 daemon.notice netifd: Interface 'wan' is setting up now
Fri Jun 20 22:31:21 2025 kern.info kernel: [ 2643.093279] mtk_soc_eth 1e100000.ethernet wan: Link is Up - 1Gbps/Full - flow control off
Fri Jun 20 22:31:21 2025 daemon.info pppd[3825]: Plugin pppoe.so loaded.
Fri Jun 20 22:31:21 2025 daemon.info pppd[3825]: PPPoE plugin from pppd 2.5.1
Fri Jun 20 22:31:21 2025 daemon.notice pppd[3825]: pppd 2.5.1 started by root, uid 0
Fri Jun 20 22:31:21 2025 daemon.debug pppd[3825]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Fri Jun 20 22:31:21 2025 daemon.debug pppd[3825]:  dst ff:ff:ff:ff:ff:ff  src 00:24:8c:a3:0d:76
Fri Jun 20 22:31:21 2025 daemon.debug pppd[3825]:  [service-name] [host-uniq f1 0e 00 00]
Fri Jun 20 22:31:26 2025 daemon.debug pppd[3825]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Fri Jun 20 22:31:26 2025 daemon.debug pppd[3825]:  dst ff:ff:ff:ff:ff:ff  src 00:24:8c:a3:0d:76
Fri Jun 20 22:31:26 2025 daemon.debug pppd[3825]:  [service-name] [host-uniq f1 0e 00 00]
Fri Jun 20 22:31:36 2025 daemon.debug pppd[3825]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Fri Jun 20 22:31:36 2025 daemon.debug pppd[3825]:  dst ff:ff:ff:ff:ff:ff  src 00:24:8c:a3:0d:76
Fri Jun 20 22:31:36 2025 daemon.debug pppd[3825]:  [service-name] [host-uniq f1 0e 00 00]
Fri Jun 20 22:31:56 2025 daemon.warn pppd[3825]: Timeout waiting for PADO packets
Fri Jun 20 22:31:57 2025 daemon.err pppd[3825]: Unable to complete PPPoE Discovery phase 1
Fri Jun 20 22:31:57 2025 daemon.info pppd[3825]: Exit.
Fri Jun 20 22:31:57 2025 daemon.notice netifd: Interface 'wan' is now down

Could you give us any information about your ISP and are there any details what he requires for a successful login?

Yes, it's Fiberlink, a local internet provider. https://fiberlink.pl/
All they gave me was username and password.

Maybe it needs a VLAN ID. Set option device 'wan.XX' instead of option device 'wan'. But you need to know the proper ID number. For instance, Orange in Poland is using 35, so option device 'wan.35'.

I guess, you already tried this:
(Translated quote from https://fiberlink.pl/pomoc-pytania-i-odpowiedzi/)


Fiber optic internet

In the case of fiber optic internet, replacing the router with another one may additionally require the configuration of the internet connection data. To obtain the necessary data, contact the Customer Service via the Customer Panel or by phone.


You mean like that:

uci add network device
uci set network.@device[-1].type='8021q'
uci set network.@device[-1].ifname='wan'
uci set network.@device[-1].vid='35'
uci set network.@device[-1].name='wan.35'
uci set network.wan.device='wan.35'

It didn't work.

Today I called customer service. I spoke with technical person. They do not need VLAN ID. They don't use neither mac filters nor host-uniq tags. Only username and password.

I connected directly my laptop (with network manager on Debian) and PC (with pppoeconf on Artix). Both connect without issues.

Then I connected router and laptop to PC and recorded their outgoing traffic with wireshark. Both broadcast quite identical PADI packets. I don't have a clue why one gets a response and the other doesn't.

I tried with firewall turned off (just in case). No effect.

I will try to downgrade Openwrt. Maybe it's a bug in current version.

My ISP uses pppoe with no VLAN ID. I use an ER605 running 24.10.1 and it works fine.
extract from WAN config below if it helps

config interface 'wan'
option device 'wan1'
option proto 'pppoe'
option username 'xxx'
option password 'xxx'

Note that my WAN device is wan1 whereas I believe on the AX53 yours is wan.
I've never tried (or needed) any pppd options

Snap - I wonder why the OP does or is he aware of them?
Presumably it just varies by router model but my Flint 2 says eth 1 for Wan device.

I'm not an expert but I believe the network device names are defined in the dts file for the router model

I finally found out where the problem is.

After downgrading OpenWrt to 24.10.0 an issue still persists.
But in OpenWrt 23.05.5 everything works flawlessly as it should.

I analised ppp protocol related packages in theese three latest versions. It appears that 24.10.1 and 24.10.0 both use the same version of ppp and ppp-mod-pppoe i.e. 2.5.1-r1, while 23.05.5 uses earlier version. It must be a bug in one of theese two packages.

Is https://github.com/openwrt/packages/issues the right place to fill a bug report on this?
I don't see theese packages are maintained there.

May be gro/gso related like https://github.com/openwrt/openwrt/issues/17855

I cannot setup pppoe too on 24.10

Strange...

Here in Brazil, I´m using Vivo ISP (Telefonica group), with pppoe with username and password...
It works perfectly, in 24.10.1 and 24.10.2...

Yes, it works under various vlans, but this, is configured in my ONU, totally transparent and the router makes only autentication...

Good Luck !!