> ive also compiled the other ppp modules
> lsmod shows(after modprobe them):
> ppp_synctty 5824 0 (unused)
> ppp_async 7328 0 (unused)
> ppp_generic 16324 0 (autoclean) [ppp_synctty ppp_async]
> slhc 4896 0 (autoclean) [ppp_generic]
> via-rhine 12360 1
> mii 2256 0 [via-rhine]
> but it still doesnt function
Okay.
Quote:> Syslog shows the follow:
...
Quote:> Jan 7 22:26:56 sokrates pppd[9768]: This system lacks kernel support
> for PPP. This could be because the PPP kernel module could not be
> loaded, or because PPP was not included in the kernel configuration.
> If PPP was included as a module, try `/sbin/modprobe -v ppp'. If that
> fails, check that ppp.o exists in /lib/modules/`uname -r`/net. See
> README.linux file in the ppp distribution for more details.
> Jan 7 22:26:56 sokrates pptpd[9767]: CTRL: Received PPTP Control
> Message (type: 15)
> Jan 7 22:26:56 sokrates pptpd[9767]: CTRL: Got a SET LINK INFO packet
> with standard ACCMs
> Jan 7 22:26:56 sokrates pptpd[9767]: GRE:
> read(fd=5,buffer=804ec60,len=8196) from PTY failed: status = -1 error
> = Input/output error
> Jan 7 22:26:56 sokrates pptpd[9767]: CTRL: PTY read or GRE write
> failed (pty,gre)=(5,6)
Jan 7 22:26:56 sokrates pptpd[9767]: CTRL: Closing child BCrelay with
pid 0
Jan 7 22:26:56 sokrates pptpd[9767]: CTRL: Closing child ppp with pid
9768
Jan 7 22:26:56 sokrates pptpd[9767]: CTRL: Client 192.168.1.21
control connection finished
Jan 7 22:26:56 sokrates pptpd[9767]: CTRL: Exiting now
Jan 7 22:26:56 sokrates pptpd[661]: MGR: Reaped child 9767
This says pptpd couldn't read from or write a GRE packet to the pseudo-tty
(PTY) for whatever reason. This is from an old pptpd FAQ:
7.3.5. Get "pptpd[24120]: GRE: read(fd=5,buffer=804d9c0,len=8196) from
PTY failed: status = -1 error = Input/output error"
"pptpd[24120]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)"
"pptpd[24120]: CTRL: Client 12.72.37.31 control connection finished
"
errors in your log file when the pptpd program is running on a machine
behind a masq'ed firewall.
Solution: Apply the ip_masq_vpn.patch patch file to kernel.
Also, look at Linux VPN Masquerade HOWTO: Patching and configuring
kernel for VPN Masquerade support for details.
ftp://ftp.rubyriver.com/pub/jhardin/masquerade/ip_masq_vpn.html
ftp://ftp.rubyriver.com/pub/jhardin/masquerade/VPN-howto/VPN-Masquerade
.html
Sorry, but I've never used pptpd or any PPTP based daemon and this is
the best answer I have to offer.
--
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Better is the enemy of good enough. */