In the past when using pptpd I used a kernel with GRE disabled
because I read that was the thing to do.

When installing pptp-1.6.0 on a new i386 system the other day
(May 1st snapshot) I saw a note saying to enable GRE so I added
this to sysctl.conf:

net.inet.gre.allow=1

Everything was working fine for a few days. Then starting today
I can no longer establish a connection and GRE-related errors
are logged:

pptpd[9651]: CTRL: Client X.X.X.X control connection started
pptpd[9651]: CTRL: Starting call (launching pppd, opening GRE)
ppp[31649]: Phase: Using interface: tun0
ppp[31649]: Phase: deflink: Created in closed state
ppp[31649]: Phase: PPP Started (direct mode).
ppp[31649]: Phase: bundle: Establish
ppp[31649]: Phase: deflink: closed -> opening
ppp[31649]: Phase: deflink: Connected!
ppp[31649]: Phase: deflink: opening -> carrier
ppp[31649]: Phase: deflink: carrier -> lcp
ppp[31649]: Phase: deflink: Disconnected!
pptpd[9651]: GRE: read(fd=6,buffer=3c004ac0,len=8196) from PTY failed: status = 
0 error = No error
ppp[31649]: Phase: deflink: Connect time: 17 secs: 0 octets in, 295 octets out
ppp[31649]: Phase: deflink: 0 packets in, 5 packets out
ppp[31649]: Phase:  total 17 bytes/sec, peak 23 bytes/sec on Sun May  8 
13:32:39 2005
ppp[31649]: Phase: deflink: lcp -> closed
ppp[31649]: Phase: bundle: Dead
ppp[31649]: Phase: PPP Terminated (normal).
pptpd[9651]: CTRL: PTY read or GRE write failed (pty,gre)=(6,5)
pptpd[9651]: CTRL: Client X.X.X.X control connection finished

Now I'm not sure if I'm doing the right thing. Should I be using
a kernel with GRE disabled? Or is this not even the issue here?

Thanks for any advice.

Reply via email to