[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PPPOE setup problems



Jeronimo Pellegrini, 2001-Nov-20 08:23 -0200:
> >   This was the output from plog:
> > 
> > # plog
> > Nov 19 09:18:49 gateway pppd[402]: Serial connection established.
> > Nov 19 09:18:49 gateway pppd[402]: Using interface ppp0
> > Nov 19 09:18:49 gateway pppd[402]: Connect: ppp0 <--> /dev/pts/0
> > 
> >   In the docs, it says a succesfull connection should be:
> >   ppp0 <--> eth0     (not /dev/pst/0)
> 
> Same here when I connect.
> 
> >   It doesn't seem to make a difference whether I load the pppoe module or
> >   not.
> 
> Well, if you're using th pppoe package, you don't need the pppoe module
> in the kernel.
> 
> I couldn't make it work, so I downloaded the original (upstream) package 
> (Roaring Penguin).
> 
> >   Also, I'm not sure what I should have defined in my 
> >   /etc/networking/interfaces file for eth0 (the interface for the DSL),
> >   so I commented out it's entry so it does not come up otherwise. Is
> >   this correct?
> 
> I was also confused when I was trying to configure pppoe here... Both
> approaches sem to work!
> 
> Now... You didn't say if your connection did work properly or not. Mine
> does, and this is what I get in syslog:
> 
> Nov 19 11:19:45 localhost pppd[7363]: pppd 2.4.1 started by root, uid 0
> Nov 19 11:19:45 localhost pppd[7363]: Using interface ppp0
> Nov 19 11:19:45 localhost pppd[7363]: Connect: ppp0 <--> /dev/pts/0
> Nov 19 11:19:45 localhost pppoe[7365]: PADS: Service-Name: ''
> Nov 19 11:19:45 localhost pppoe[7365]: PPP session is 47266
> Nov 19 11:19:45 localhost pppd[7363]: kernel does not support PPP
> filtering
> Nov 19 11:19:45 localhost pppd[7363]: local  IP address xxx.xxx.xxx.xxx
> Nov 19 11:19:45 localhost pppd[7363]: remote IP address xxx.xxx.xxx.xxx
> 
> 
> J.

You need PPP compile into the kernel or as a module.  I usually
set it up as a module since I don't use PPP all the time.  With
the PPPoE package, I use the following string to make a
connection:

# /usr/sbin/pppd pty 'pppoe' noauth defaultroute user $USER mtu $MTU

$USER is my username and I don't always set an mtu, try without
it first.  noauth sets it so you don't need to authenticate your
peer and defaultroute sets the assigned IP address as your
default route.  Be sure that your password is listed in
/etc/ppp/pap-secrets and/or /etc/ppp/chap-secrets

jc

-- 
Jeff Coppock		Systems Engineer
Diggin' Debian		Admin and User



Reply to: