Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a problem setting up pptpd. I get an input / output errorin the logs.
A torubleshooter suggestes this:
Symptom: on a PPTP server running pptpd, the following message may appear when all incoming tunnel requests fail:
pptpd: GRE: read(fd=5,buffer=804dc00,len=8196) from PTY failed: status = -1 error = Input/output error
Diagnosis: pppd was started by pptpd but was unable to operate, and so terminated quickly. pptpd tried to read data from pppd but found none. There are many reasons why pppd could have failed, but the most likely are configuration file errors.
pptpd incorrectly hides all pppd error output. This is a defect and should be fixed. It apparently doesn't even wait for and report the pppd exit status.
Solution: check the configuration files. A simple typo will cause this error. It is easy to have pppd tell you where the typo is. Here is how:
Try running pppd against the configuration files in the same way that pptpd would run it. If you strace the pptpd, you can detect the command line given to pppd (just after it says "launching pppd"), and then you can run that command manually in a shell to see what objections pppd has to the options.
When we did an strace just now, we got this line that was valuable;