I can't get PPPoE connection on my Raspberry Pi 4 router

Hello. I am a noob. I am trying to setup my Raspberry Pi 4 as router. But i couldn't set the PPPoE connection. My internet is VDSL and i know PPPoE username and password. VLAN ID is 35. I set my TP-Link VR300 router/modem in Bridge mode. LAN is working but not the PPPoE. I use Pi4's internal ethernet port as LAN and USB to Ethernet adaptor as WAN. My bridged modem's IP is 192.168.1.1. Here is my network and firewall config and logs:

cat /etc/config/network

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 '*****'

config device
	option name 'br-lan'
	option type 'bridge'
	list ports 'eth0'

config interface 'lan'
	option device 'br-lan'
	option proto 'static'
	option ipaddr '10.0.0.1'
	option netmask '255.255.255.0'
	option ip6assign '60'

config device
	option type '8021q'
	option ifname 'eth1'
	option vid '35'
	option name 'eth1.35'
	option ipv6 '0'

config interface 'WAN'
	option proto 'pppoe'
	option device 'eth1.35'
	option username '*******'
	option password '*******'
	option ipv6 'auto'

cat /etc/config/firewall

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

config defaults
	option syn_flood '1'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'

config zone
	option name 'lan'
	option input 'ACCEPT'
	option output 'ACCEPT'
	option forward 'ACCEPT'
	list network 'lan'

config zone
	option name 'wan'
	option input 'REJECT'
	option output 'ACCEPT'
	option forward 'REJECT'
	option masq '1'
	option mtu_fix '1'
	list network 'wan6'
	list network 'WAN'

config forwarding
	option src 'lan'
	option dest 'wan'

config rule
	option name 'Allow-DHCP-Renew'
	option src 'wan'
	option proto 'udp'
	option dest_port '68'
	option target 'ACCEPT'
	option family 'ipv4'

config rule
	option name 'Allow-Ping'
	option src 'wan'
	option proto 'icmp'
	option icmp_type 'echo-request'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-IGMP'
	option src 'wan'
	option proto 'igmp'
	option family 'ipv4'
	option target 'ACCEPT'

config rule
	option name 'Allow-DHCPv6'
	option src 'wan'
	option proto 'udp'
	option dest_port '546'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-MLD'
	option src 'wan'
	option proto 'icmp'
	option src_ip 'fe80::/10'
	list icmp_type '130/0'
	list icmp_type '131/0'
	list icmp_type '132/0'
	list icmp_type '143/0'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Input'
	option src 'wan'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	list icmp_type 'router-solicitation'
	list icmp_type 'neighbour-solicitation'
	list icmp_type 'router-advertisement'
	list icmp_type 'neighbour-advertisement'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-ICMPv6-Forward'
	option src 'wan'
	option dest '*'
	option proto 'icmp'
	list icmp_type 'echo-request'
	list icmp_type 'echo-reply'
	list icmp_type 'destination-unreachable'
	list icmp_type 'packet-too-big'
	list icmp_type 'time-exceeded'
	list icmp_type 'bad-header'
	list icmp_type 'unknown-header-type'
	option limit '1000/sec'
	option family 'ipv6'
	option target 'ACCEPT'

config rule
	option name 'Allow-IPSec-ESP'
	option src 'wan'
	option dest 'lan'
	option proto 'esp'
	option target 'ACCEPT'

config rule
	option name 'Allow-ISAKMP'
	option src 'wan'
	option dest 'lan'
	option dest_port '500'
	option proto 'udp'
	option target 'ACCEPT'

logs:

Mon Jul 29 21:25:57 2024 daemon.warn pppd[8075]: Timeout waiting for PADO packets
Mon Jul 29 21:25:57 2024 daemon.err pppd[8075]: Unable to complete PPPoE Discovery
Mon Jul 29 21:25:57 2024 daemon.info pppd[8075]: Exit.
Mon Jul 29 21:25:57 2024 daemon.notice netifd: Interface 'WAN' is now down
Mon Jul 29 21:25:57 2024 daemon.notice netifd: Interface 'WAN' is setting up now
Mon Jul 29 21:25:57 2024 daemon.info pppd[8178]: Plugin pppoe.so loaded.
Mon Jul 29 21:25:57 2024 daemon.info pppd[8178]: PPPoE plugin from pppd 2.4.9
Mon Jul 29 21:25:57 2024 daemon.notice pppd[8178]: pppd 2.4.9 started by root, uid 0
Mon Jul 29 21:25:58 2024 daemon.warn odhcpd[945]: No default route present, overriding ra_lifetime!
Mon Jul 29 21:26:12 2024 daemon.warn pppd[8178]: Timeout waiting for PADO packets
Mon Jul 29 21:26:12 2024 daemon.err pppd[8178]: Unable to complete PPPoE Discovery
Mon Jul 29 21:26:12 2024 daemon.info pppd[8178]: Exit.
Mon Jul 29 21:26:12 2024 daemon.notice netifd: Interface 'WAN' is now down
Mon Jul 29 21:26:12 2024 daemon.notice netifd: Interface 'WAN' is setting up now
Mon Jul 29 21:26:12 2024 daemon.info pppd[8281]: Plugin pppoe.so loaded.
Mon Jul 29 21:26:12 2024 daemon.info pppd[8281]: PPPoE plugin from pppd 2.4.9
Mon Jul 29 21:26:12 2024 daemon.notice pppd[8281]: pppd 2.4.9 started by root, uid 0
Mon Jul 29 21:26:13 2024 daemon.warn odhcpd[945]: No default route present, overriding ra_lifetime!
Mon Jul 29 21:26:27 2024 daemon.warn pppd[8281]: Timeout waiting for PADO packets
Mon Jul 29 21:26:27 2024 daemon.err pppd[8281]: Unable to complete PPPoE Discovery
Mon Jul 29 21:26:27 2024 daemon.info pppd[8281]: Exit.
Mon Jul 29 21:26:27 2024 daemon.notice netifd: Interface 'WAN' is now down
Mon Jul 29 21:26:27 2024 daemon.notice netifd: Interface 'WAN' is setting up now
Mon Jul 29 21:26:27 2024 daemon.info pppd[8384]: Plugin pppoe.so loaded.
Mon Jul 29 21:26:27 2024 daemon.info pppd[8384]: PPPoE plugin from pppd 2.4.9
Mon Jul 29 21:26:27 2024 daemon.notice pppd[8384]: pppd 2.4.9 started by root, uid 0
Mon Jul 29 21:26:28 2024 daemon.warn odhcpd[945]: No default route present, overriding ra_lifetime!

Is the vlan number correct? Or some switch outside OpenWRT untagging vlan? Bridge mode may do exactly that, or even provide dhcp. It is the way provider configured CPE.
ie power off CPE.
set wan down
then try dhcp internet
if that fails try no vlan config.

It did not receive concentrator IP.
Answer to "what is PADO"

1 Like

I solved the issue. I was creating a device with 802.11Q (whatever that is) and setting VLAN there. After all try and error, I musn't do that. All I needed to do is just setting the VLAN ID in bridged modem and not to touch anything related to VLAN in openwrt. I juset created a PPPoE WAN connection for eth1 and entered my username and password. It worked.