我正在尝试在我的VPS上启动并运行PPTP。 我已经跟着各种指南,但是,我无法连接到VPN一旦安装。
我检查了我的VPS' /var/log/messages ,我发现这个:
1832 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Client 86.8.79.197 control connection started 1833 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Starting call (launching pppd, opening GRE) 1834 Dec 2 23:38:55 server9987 pppd[1471]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded. 1835 Dec 2 23:38:55 server9987 pppd[1471]: This system lacks kernel support for PPP. This could be because the PPP kernel module could not be loaded, or because PPP was not inc luded 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. 1836 Dec 2 23:38:55 server9987 pptpd[1470]: GRE: read(fd=6,buffer=8059680,len=8196) from PTY failed: status = -1 error = Input/output error, usually caused by unexpected termina tion of pppd, check option syntax and pppd logs 1837 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: PTY read or GRE write failed (pty,gre)=(6,7) 1838 Dec 2 23:38:55 server9987 pptpd[1470]: CTRL: Client 86.8.79.197 control connection finished
它说我的“系统缺乏对PPP的内核支持”。 这可能是问题的原因,如果是这样,有没有解决办法?
你几乎可以肯定地使用基于OpenVZ的VPS。 在这种情况下,主机必须启用ppp内核模块(以及任何其他您可能需要的)。 打开与您的托pipe服务提供商的支持票。
如果他们不能或不愿意为你做这个改变,买另一个不使用OpenVZ的VPS,以便你可以select你自己的内核模块。