PPPoE failed to attempt connection even after adding right credentials

People help!

I have my Phicomm device (ST-W521IN-DUAL) and OpenWRT (24.10.4 k2g) firmware.
I had been stuck on PPPoE configuration on wan/wan6 interfaces, says in first seconds: unknown error (USER_REQUEST), then "connection attempt failed".

Here is my logs, and configuration

/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 'fd87:a5de:221b::/48'                                                                                                                                                                
    option packet_steering '1'                                                                                                                                                                             
                                                                                                                                                                                                           
config device                                                                                                                                                                                                  
    option name 'br-lan'                                                                                                                                                                                   
    option type 'bridge'                                                                                                                                                                                   
    list ports 'eth0.1'                                                                                                                                                                                    
                                                                                                                                                                                                           
config interface 'lan'                                                                                                                                                                                         
    option device 'br-lan'                                                                                                                                                                                 
    option proto 'static'                                                                                                                                                                                  
    option ipaddr '192.168.1.1'                                                                                                                                                                            
    option netmask '255.255.255.0'                                                                                                                                                                         
    option ip6assign '60'                                                                                                                                                                                  
                                                                                                                                                                                                           
config device                                                                                                                                                                                                  
    option name 'eth0.2'                                                                                                                                                                                   
    option macaddr 'addr'                                                                                                                                                                     
                                                                                                                                                                                                           
config interface 'wan'                                                                                                                                                                                         
    option device 'eth0.2'                                                                                                                                                                                 
    option proto 'pppoe'                                                                                                                                                                                   
    option username 'creds'                                                                                                                                                                        
    option password 'creds'                                                                                                                                                                             
    option ipv6 'auto'                                                                                                                                                                                     
                                                                                                                                                                                                           
config interface 'wan6'                                                                                                                                                                                        
    option device 'eth0.2'                                                                                                                                                                                 
    option proto 'dhcpv6'                                                                                                                                                                                  
                                                                                                                                                                                                           
config switch                                                                                                                                                                                                  
    option name 'switch0'                                                                                                                                                                                  
    option reset '1'                                                                                                                                                                                       
    option enable_vlan '1'                                                                                                                                                                                 
                                                                                                                                                                                                           
config switch_vlan                                                                                                                                                                                             
    option device 'switch0'                                                                                                                                                                                
    option vlan '1'                                                                                                                                                                                        
    option ports '0 1 2 3 6t'                                                                                                                                                                              
                                                                                                                                                                                                           
config switch_vlan                                                                                                                                                                                             
    option device 'switch0'                                                                                                                                                                                
    option vlan '2'                                                                                                                                                                                        
    option ports '5 6t'                                                                                                                                                                                    

Logs:

Sun Oct 19 17:05:38 2025 daemon.notice netifd: Interface 'wan' is setting up now
	Sun Oct 19 17:05:38 2025 daemon.info pppd[6572]: Plugin pppoe.so loaded.
	Sun Oct 19 17:05:38 2025 daemon.info pppd[6572]: PPPoE plugin from pppd 2.5.1
	Sun Oct 19 17:05:38 2025 daemon.notice pppd[6572]: pppd 2.5.1 started by root, uid 0
	Sun Oct 19 17:05:39 2025 daemon.warn odhcpd[1463]: No default route present, setting ra_lifetime to 0!
	Sun Oct 19 17:05:42 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
	Sun Oct 19 17:05:42 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
	Sun Oct 19 17:05:42 2025 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 2 names
	Sun Oct 19 17:05:42 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
	Sun Oct 19 17:06:13 2025 daemon.warn pppd[6572]: Timeout waiting for PADO packets
	Sun Oct 19 17:06:13 2025 daemon.err pppd[6572]: Unable to complete PPPoE Discovery phase 1
	Sun Oct 19 17:06:13 2025 daemon.info pppd[6572]: Exit.

Is this a supported model? If you are running manufacturer firmware instead of an official image from downloads.openwrt.org results may vary and we on this forum can't offer much advice.
As general advice, "Timeout waiting for PADO packets" means there is no link at all to the ISP. Perhaps you need a VLAN tag going to the modem, modem is not linked with the ISP, etc.

2 Likes

K2g is completely supported.

What version is there in
ubus call system board ?

To get more details of pppoe connection add the following line in pppoe section in /etc/config/network

option pppd_options debug

And try starting the connection again. then show us the log (you can hide last 3 parts of your MAC address)

Here it is:

root@OpenWrt:~# ubus call system board 
{
	"kernel": "6.6.110",
	"hostname": "OpenWrt",
	"system": "MediaTek MT7620A ver:2 eco:6",
	"model": "Phicomm K2G",
	"board_name": "phicomm,k2g",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "24.10.4",
		"revision": "r28959-29397011cc",
		"target": "ramips/mt7620",
		"description": "OpenWrt 24.10.4 r28959-29397011cc",
		"builddate": "1760891865"
	}
}
1 Like

Thanks for confirming :wink: What is in debug log after adding the parameter?

turns out yes supported ....

Aaaand log is here:

Mon Oct 20 13:12:33 2025 daemon.notice netifd: Interface 'wan' is now down
Mon Oct 20 13:12:33 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon Oct 20 13:12:33 2025 daemon.info pppd[6033]: Plugin pppoe.so loaded.
Mon Oct 20 13:12:33 2025 daemon.info pppd[6033]: PPPoE plugin from pppd 2.5.1
Mon Oct 20 13:12:33 2025 daemon.notice pppd[6033]: pppd 2.5.1 started by root, uid 0
Mon Oct 20 13:12:33 2025 daemon.debug pppd[6033]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Mon Oct 20 13:12:33 2025 daemon.debug pppd[6033]:  dst ff:ff:ff:ff:ff:ff  src 74:7d:24:XX:XX:XX
Mon Oct 20 13:12:33 2025 daemon.debug pppd[6033]:  [service-name] [host-uniq 91 17 00 00]
Mon Oct 20 13:12:34 2025 daemon.warn odhcpd[1463]: No default route present, setting ra_lifetime to 0!
Mon Oct 20 13:12:36 2025 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Mon Oct 20 13:12:36 2025 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 4 names
Mon Oct 20 13:12:36 2025 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 0 names
Mon Oct 20 13:12:36 2025 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Mon Oct 20 13:12:38 2025 daemon.debug pppd[6033]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Mon Oct 20 13:12:38 2025 daemon.debug pppd[6033]:  dst ff:ff:ff:ff:ff:ff  src 74:7d:24:XX:XX:XX
Mon Oct 20 13:12:38 2025 daemon.debug pppd[6033]:  [service-name] [host-uniq 91 17 00 00]
Mon Oct 20 13:12:48 2025 daemon.debug pppd[6033]: Send PPPOE Discovery V1T1 PADI session 0x0 length 12
Mon Oct 20 13:12:48 2025 daemon.debug pppd[6033]:  dst ff:ff:ff:ff:ff:ff  src 74:7d:24:XX:XX:XX
Mon Oct 20 13:12:48 2025 daemon.debug pppd[6033]:  [service-name] [host-uniq 91 17 00 00]
Mon Oct 20 13:12:50 2025 daemon.warn odhcpd[1463]: No default route present, setting ra_lifetime to 0!
Mon Oct 20 13:13:06 2025 daemon.warn odhcpd[1463]: No default route present, setting ra_lifetime to 0!
Mon Oct 20 13:13:08 2025 daemon.warn pppd[6033]: Timeout waiting for PADO packets
Mon Oct 20 13:13:08 2025 daemon.err pppd[6033]: Unable to complete PPPoE Discovery phase 1
Mon Oct 20 13:13:08 2025 daemon.info pppd[6033]: Exit.

Additional log, is also (thats going first than above):

Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.528606] 8021q: adding VLAN 0 to HW filter on device eth0
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.572821] br-lan: port 1(eth0.1) entered blocking state
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.583686] br-lan: port 1(eth0.1) entered disabled state
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.594512] eth0.1: entered allmulticast mode
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.603220] mtk_soc_eth 10100000.ethernet eth0: entered allmulticast mode
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.617146] eth0.1: entered promiscuous mode
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.625717] mtk_soc_eth 10100000.ethernet eth0: entered promiscuous mode
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.679132] br-lan: port 1(eth0.1) entered blocking state
Mon Oct 20 13:11:56 2025 kern.info kernel: [28668.689995] br-lan: port 1(eth0.1) entered forwarding state
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'lan' is enabled
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'lan' is setting up now
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'lan' is now up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: bridge 'br-lan' link is up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'lan' has link connectivity
Mon Oct 20 13:11:56 2025 daemon.notice netifd: VLAN 'eth0.1' link is up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'loopback' is enabled
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'loopback' is setting up now
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'loopback' is now up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'wan' is enabled
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'wan6' is enabled
Mon Oct 20 13:11:56 2025 daemon.notice netifd: bridge 'br-lan' link is down
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'lan' has link connectivity loss
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Network device 'eth0' link is up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: VLAN 'eth0.1' link is down
Mon Oct 20 13:11:56 2025 daemon.notice netifd: VLAN 'eth0.1' link is up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: bridge 'br-lan' link is up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'lan' has link connectivity
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Network device 'lo' link is up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'loopback' has link connectivity
Mon Oct 20 13:11:56 2025 daemon.notice netifd: VLAN 'eth0.2' link is up
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'wan' has link connectivity
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'wan' is setting up now
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'wan6' has link connectivity
Mon Oct 20 13:11:56 2025 daemon.notice netifd: Interface 'wan6' is setting up now

As already said, you have to select VLAN since pppoe concentrator discovery is not replied.

I wanna say before all, sorry for my low-leveling knowledge question

How i should to do this?

You must read the secifications of your connection at your provider, or their supplied CPE router.

1 Like

Start by asking your ISP what is needed to make a connection, often you need set a vlan tag on the interface.

If a vlan is not needed and only username/password then power down the modem and power down the router, after 5 minutes power up the modem and after 5 more minutes power up the router that sometimes helps