[pptp-server] PPTP with PPPOE

Gord Belsey gord at amador.ca
Mon Dec 20 12:18:12 CST 1999


Spencer:

I just went through this last week!

I found the problem is that PPPOE and PPTPD sure different options in the
ppp options file, and they're not compatible.

What I did was take everything out of options in /etc/ppp.  Then I created
options.pppoe and options.pptp with the appropriate options for each daemon.
When I call the daemons, I include -o /etc/options.pppoe for PPPoE and -o
/etc/ppp/options.pptp.

I also set it up to start on boot.  The key ther is simply to start PPPoE
before PPTPD.  I put scripts in /etc/rc.d/rc3.d that run after the network
script.  (I run at run level 3).

Once I figured out the options file issue.  It was clear sailing.  Once you
get this up and running, I would very much (!!) appreciate your keeping in
touch about issues that come up.  I'm piloting this right now, and it's
working pretty well.  But I'm sure some issues will come up.....I'll do the
same for you:o)

Anyway, I hope this helps.

Gord Belsey
----- Original Message -----
From: Spencer Leung <leungsp at bigfoot.com>
To: PPTP <pptp-server at lists.schulte.org>
Sent: Saturday, December 18, 1999 2:22 AM
Subject: [pptp-server] PPTP with PPPOE


> Hi,
>
> Has anyone try pptp with PPPOE? I'm currently subscribed to sympatico.ca
> for their ADSL service.
> My pptp server has stopped working since they introduced PPPOE which
> uses pppd to establish a connection over ethernet.
> I'm running Redhat 6.0, pppd 2.3.10 with MPPE patch, kernel 2.2.9.
> The following is taken from the messages log.
>
> Dec 18 02:16:29 valuepoint pptpd[1002]: MGR: Manager process started
> Dec 18 02:16:34 valuepoint pptpd[1003]: CTRL: Client x.x.x.x control
> connection started
> Dec 18 02:16:34 valuepoint pptpd[1003]: CTRL: Starting call (launching
> pppd, opening GRE)
> Dec 18 02:16:34 valuepoint pptpd[1003]: GRE:
> read(fd=5,buffer=804d7e0,len=8196) from PTY failed: status = -1 error =
> Input/output error
> Dec 18 02:16:34 valuepoint pptpd[1003]: CTRL: PTY read or GRE write
> failed (pty,gre)=(5,6)
> Dec 18 02:16:34 valuepoint pptpd[1003]: CTRL: Client x.x.x.x control
> connection finished
> Dec 18 02:16:34 valuepoint pppd[1006]: pppd 2.3.10 started by root, uid
> 0
> Dec 18 02:16:34 valuepoint pppd[1006]: Using interface ppp1
> Dec 18 02:16:34 valuepoint pppd[1006]: Connect: ppp1 <--> /dev/pts/1
> Dec 18 02:16:39 valuepoint pppd[1006]: peer refused to authenticate:
> terminating link
> Dec 18 02:16:45 valuepoint pppd[1006]: Connection terminated.
> Dec 18 02:16:45 valuepoint pppoe[1007]: read (sessionReadFromPPP):
> Input/output error
> Dec 18 02:16:45 valuepoint pppd[1006]: Hangup (SIGHUP)
> Dec 18 02:16:45 valuepoint pppd[1006]: Exit.
>
> Thanks for your time.
>
> Spencer
>
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> List services provided by www.schulte.org!
>





More information about the pptp-server mailing list