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.