On Sat, 19 Jun 2004, Stefan Viljoen <rylan@-deletethis-intekom.co.za> wrote:
> Hi all
>
> I get the above error message in var/log/messages after using the adsl-setup
> script on Rh9 Linux:
>
> Jun 19 01:26:45 StefanLinux pppd[3637]: pppd 2.4.1 started by root, uid 0
> Jun 19 01:26:45 StefanLinux pppd[3637]: Using interface ppp0
> Jun 19 01:26:45 StefanLinux pppd[3637]: Connect: ppp0 <--> /dev/pts/4
> Jun 19 01:26:45 StefanLinux /etc/hotplug/net.agent: assuming ppp0 is already
> up
> Jun 19 01:27:16 StefanLinux pppd[3637]: LCP: timeout sending Config-Requests
> Jun 19 01:27:16 StefanLinux pppd[3637]: Connection terminated.
> Jun 19 01:27:16 StefanLinux /etc/hotplug/net.agent: NET unregister event not
> supported
> Jun 19 01:27:20 StefanLinux pppoe[3638]: Timeout waiting for PADO packets
> Jun 19 01:27:20 StefanLinux pppd[3637]: Exit.
> Jun 19 01:27:20 StefanLinux adsl-connect: ADSL connection lost; attempting
> re-connection.
>
> My ADSL modem works fine in Windows - what is the "PAD0" packets error? How
> can I fix it?
A web search for 'rfc pppoe' might explain this more completely. But I
believe that your PC would first send a PADI request, would receive PADO
and then supply authentication information using what it got from the PADO
response. Although I am using demand kernel pppoe (instead of rp-pppoe)
either uses pppd (my pppd is also 2.4.1). Mine first sets up a dummy
route for the demand connection and when it gets traffic initiating a
connection, that part goes something like this:
May 25 22:15:25 realhost pppd[940]: Starting link
May 25 22:15:25 realhost pppd[940]: Sending PADI
May 25 22:15:25 realhost pppd[940]: HOST_UNIQ successful match
May 25 22:15:25 realhost pppd[940]: HOST_UNIQ successful match
May 25 22:15:25 realhost pppd[940]: Got connection: 191f
May 25 22:15:25 realhost pppd[940]: Connecting PPPoE socket:
00:10:67:00:f9:18 1f19 eth1 0x808a630
May 25 22:15:25 realhost pppd[940]: Connect: ppp0 <--> eth1
May 25 22:15:25 realhost pppd[940]: Setting MTU to 1492.
May 25 22:15:25 realhost pppd[940]: Couldn't increase MRU to 1500
May 25 22:15:25 realhost pppd[940]: Setting MTU to 1492.
May 25 22:15:27 realhost pppd[940]: Local IP address changed to
68.20.x.226
May 25 22:15:27 realhost pppd[940]: Remote IP address changed to
68.20.y.254
Notice that mine shows Connect: ppp0 <--> eth1 (the ethernet to my pppoe
modem) and yours shows Connect: ppp0 <--> /dev/pts/4, but /dev/pts usually
refers to terminals. So I wonder if pppd is attempting to use your
terminal instead of ethernet to modem. Or maybe rp-pppoe does it
differently through a psuedo terminal for interactive hooks to monitor
things (like pppoe transmission speeds).
Whatever the case, whatever interface pppd is attempting to use is not
returning a PADO response or responding to LCP requests for pppoe.
--
David Efflandt - All spam ignored
http://www.de-srv.com/