[pptp-server] pptp and pppoe

George Vieira GeorgeV at citadelcomputer.com.au
Mon Aug 20 17:10:09 CDT 2001


I think your problem is the "timeout sending Config-Requests".. not the
other one.

Can you connect locally from another machine on the local LAN to check that
PPTP is working properly? It should work locally as well as over the net..
if it does work properly locally then the problem with when it over the net
and nothing (well not really) to do with PPTP.

Also, Have you turned off "Use remote as default gateway" on your Windows
machines (PPTP clients)???

thanks,
George Vieira
Network Engineer
Citadel Computer Systems P/L
PH +(61)2 9955 2644
FX +(61)2 9955 2659

-----Original Message-----
From: jpj [mailto:jpj at as-tech.fr]
Sent: Tuesday, August 21, 2001 8:16 AM
To: George Vieira
Cc: pptp-server at lists.schulte.org
Subject: Re: [pptp-server] pptp and pppoe


Hi,

I've try localip in 192.168.0.245 with remoteip in 192.168.0.26 and
I added nodefaultroute in /etc/ppp/options.pptp 

No changes, I still get:
CTRL: PTY read or GRE write failed (pty,gre)=(5,6)  

What else can I try, I'm really lost.

Thanks for your help
JPJ





On Lundi  6 Août 2001 22:02, George Vieira wrote:
> Firstly, remove the large range for "localip" and use a single IP
> (preferably the local LAN one for proxyarp to work).
>
> Then use a "remoteip" range which is in the SAME subnet as "localip" OR
> change the "localip" to be in the same subnet as "remoteip".
>
> Then get back to us if it still fails...
>
> thanks,
> George Vieira
> Network Engineer
> Citadel Computer Systems P/L
> PH +(61)2 9955 2644
> FX +(61)2 9955 2659
>
> -----Original Message-----
> From: jpj [mailto:jpj at as-tech.fr]
> Sent: Tuesday, August 07, 2001 2:01 AM
> To: George Vieira
> Cc: pptp-server at lists.schulte.org
> Subject: Re: [pptp-server] pptp and pppoe
>
>
>
> Hi,
> Yes the win9x are on other sites and connecting to the server through
> internet access.
>
> pptpd.conf:
> option /etc/ppp/options.pptp
> debug
> localip 192.168.0.234-238,192.168.0.245
> remoteip 192.168.1.234-238,192.168.1.245
>
> /etc/ppp/options.pptp:
> lock
> debug
> auth
> +chap
> proxyarp
>
> /etc/ppp/chap-secrets
> jpj     *    snoopy  *
>
> Firewall rules disabled (except masquerading)
> ipchains -A forward -s 192.6.8.0/24 -d 0.0.0.0/0 -j MASQ
>
>
> I've try several things like
> localip 192.168.200.234 and remoteip 192.168.200.224 in pptpd.conf
> ip adresse in chap-secret
> On the server side the internal adresse is 192.6.8.0/24
> On the othe site the internal adress is 192.168.0.0/24
>
> No effectcs on the connection i still get the error 650 on the win9x
> station.
> Thanks for your help
>
> On Dimanche  5 Août 2001 23:55, you wrote:
> > I'm a bit confused, "to win9x stations" are you saying that the Win9x
> > stations are outside and connecting to the ADSL server?
> >
> > Can you send me your file ie, /etc/ppp/chap-secrets pptpd.conf and
>
> anything
>
> > else that might show where the problem is...??
> >
> > -----Original Message-----
> > From: jpj [mailto:jpj at as-tech.fr]
> > Sent: Monday, August 06, 2001 11:03 AM
> > To: pptp-server at lists.schulte.org
> > Subject: [pptp-server] pptp and pppoe
> >
> >
> > Hi all,
> >
> > I have a Linux server connected to ADSL line with PPPOE and I need to
> > create VPN connections to win9x client stations.
> > For this I'm trying to use PPTPD but I always get an error 650 on the
> > client side
> >
> > Thanks
> >
> > Following is the content of the pptpd.log
> >
> > .. Aug  6 00:47:35 thor pptpd[2407]: MGR: Manager process started
> > Aug  6 00:47:45 thor pptpd[2409]: MGR: Launching
> > /usr/local/sbin/pptpctrl to handle client
> > Aug  6 00:47:45 thor pptpd[2409]: CTRL: pppd options file =
> > /etc/ppp/options.pptp
> > Aug  6 00:47:45 thor pptpd[2409]: CTRL: Client 194.183.xxx.xxx control
> > connection started
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Received PPTP Control Message
> > (type: 1)
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Made a START CTRL CONN RPLY
> > packet
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: I wrote 156 bytes to the client.
> >
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Sent packet to client
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Received PPTP Control Message
> > (type: 7)
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Set parameters to 0 maxbps, 16
> > window size
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Made a OUT CALL RPLY packet
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Starting call (launching pppd,
> > opening GRE)
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: pty_fd = 5
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: tty_fd = 6
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: I wrote 32 bytes to the client.
> > Aug  6 00:47:46 thor pptpd[2409]: CTRL: Sent packet to client
> > Aug  6 00:47:46 thor pptpd[2410]: CTRL (PPPD Launcher): Connection speed
> > = 115200
> > Aug  6 00:47:46 thor pppd[2410]: pppd 2.3.11 started by root, uid 0
> > Aug  6 00:47:46 thor pppd[2410]: Using interface ppp1
> > Aug  6 00:47:46 thor pppd[2410]: Connect: ppp1 <--> /dev/pts/8
> > Aug  6 00:47:46 thor pppd[2410]: sent [LCP ConfReq id=0x1 <mru 1492>
> > <asyncmap 0x0> <auth chap MD5> <magic 0xb6cb9c37> <pcomp>]
> > Aug  6 00:48:13 thor last message repeated 9 times
> > Aug  6 00:48:16 thor pppd[2410]: LCP: timeout sending Config-Requests
> > Aug  6 00:48:16 thor pptpd[2409]: GRE:
> > read(fd=5,buffer=804d840,len=8196) from PTY failed: status = -1 error =
> > Input/output error
> > Aug  6 00:48:16 thor pptpd[2409]: CTRL: PTY read or GRE write failed
> > (pty,gre)=(5,6)
> > Aug  6 00:48:16 thor pppd[2410]: Connection terminated.
> > Aug  6 00:48:16 thor pppd[2410]: Exit.
> > Aug  6 00:48:16 thor pptpd[2407]: MGR: Reaped child 2409
> > Aug  6 00:48:16 thor pptpd[2409]: CTRL: Client 194.183.xxx.xxx control
> > connection finished
> > Aug  6 00:48:16 thor pptpd[2409]: CTRL: Exiting now
> >
> >
> >
> > _______________________________________________
> > pptp-server maillist  -  pptp-server at lists.schulte.org
> > http://lists.schulte.org/mailman/listinfo/pptp-server
> > --- To unsubscribe, go to the url just above this line. --

-- 
AS-TECH
Ingenierie Systeme et Reseaux
Les Crozasses - 34670 St Bres -France
Tel: +33 (0)467 708 926 - Fax: +33(0)467 708 927
http://www.as-tech.fr



More information about the pptp-server mailing list