I was trying to get ppp based vpn working on one of my servers and it wasn’t working.
I was getting the following error message:
pppd[5019]: Failed to open /dev/pts/2: No such file or directory
pptpd[5575]: GRE: read(fd=4,buffer=804de20,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
After spending a couple fo hours I finally fixed the problem. The steps I followed were as below:
- Recompiled the kernel with ppp support (The first time I forgot to add this) and GRE support
- Installed the latest stable version of PoPToP (1.1.4-b4) and PPPd (2.4.3)
- When Installing PoPToP make sure that you don’t configure ppptp to give out IP addresses. This causes dhcpd to fail when attempting to give out IP’s
- Re-started the services
- Grin like an Idiot when it actually worked.
Hope this helps someone.
– Suramya