OpenWrt Forum Archive

Topic: [Asus][WL500gPv2] PPPoE keeps failing

The content of this topic has been archived on 21 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Could you help me find the problem with PPPoE on my Asus router? It used to work with DDWRT firmware and original ASUS firmware, but I like OpenWRT very much and I'd like to set it to work with OpenWRT. Please provide suggestions.

#cat /var/log/ppp
Plugin rp-pppoe.so loaded
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery

So what could be wrong? PPPoE was configured through LuCI GUI. From the Asus wl500gPv1 documentation in Oldwiki I see that my wan interface should be "vlan1" - is this correct/eth0:1?

/etc/config/network

config 'switch' 'eth0'
        option 'vlan0' '0 1 2 3 5*'
        option 'vlan1' '4 5'
...

config 'interface' 'lan'
        option 'type' 'bridge'
        option 'ifname' 'eth0.0'
        option 'proto' 'static'
        option 'ipaddr' '192.168.1.1'
        option 'netmask' '255.255.255.0'

config 'interface' 'wan'
        option 'proto' 'pppoe'
        option 'type' 'bridge'
        option 'keepalive' '10'
        option 'username' '********'
        option 'password' '********'
        option 'ipv6' '1'
        option 'ifname' 'eth0.1'

My router is ASUS WL500gPv2 (8MB flash, 32MB RAM)? My OpenWRT firmware is OpenWRT Kamikaze 8.09.1 svn commit r16206. Firmware filename is openwrt-brcm47xx-squashfs.trx.

UPDATE:
I updated the ppp config files to include debug options:
root@OpenWrt:~# cat /etc/ppp/options
debug
logfile /var/log/ppp.log
noaccomp
nopcomp
nocrtscts
lock
maxfail 0
lcp-echo-failure 5
lcp-echo-interval 1
root@OpenWrt:~#

/var/log/ppp.log with debugging set on:

... # the rest of the file is filled with similar messages 
Unable to complete PPPoE Discovery
Plugin rp-pppoe.so loaded.
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
using channel 1
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xce4979e5>]
Hangup (SIGHUP)
Modem hangup
Connection terminated.
Timeout waiting for PADO packets
Unable to complete PPPoE Discovery
... # the rest of the file is filled with similar messages

(Last edited by bogdanbiv on 25 Aug 2009, 11:55)

Solved! The problem was that before connecting to PPPoE there had to be some local (as in non-PPP) WAN IP address. I was connecting the WAN cable only after setting PPPoE as WAN connection and it seems that it needs to have some IP at the first PPPoE connection.

1) put the WAN cable in the router
2) Set WAN to DHCP or static IP
3) After getting a valid IP address, set WAN to PPPoE

(Last edited by bogdanbiv on 27 Aug 2009, 18:13)

The discussion might have continued from here.