LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   PPTP Vpn Server (https://www.linuxquestions.org/questions/programming-9/pptp-vpn-server-459684/)

cmrnaidu 06-30-2006 03:46 AM

PPTP Vpn Server
 
Hi Everyone,

I am trying to use the poptop vpn server ans i have been struck with the error

pppd: Couldn't set tty to xxx-PPP discipline: Invalid argument

I am getting this error when the client is trying to connect server.

Please give me the solution.
Advanced Thanx.

michaelk 07-12-2006 08:54 PM

REF:
http://pptpclient.sourceforge.net/howto-diagnosis.phtml

This might be your problem.
Quote:

Couldn't set tty to PPP discipline: Invalid argument
Symptom: the following messages appear before connection is established:

Serial connection established.
Couldn't set tty to PPP discipline: Invalid argument
Hangup (SIGHUP)

Diagnosis: pppd has failed to change the pty over to run it in PPP mode. This may be because you have no ppp_async module built for your kernel. Most kernels are built with this already, but if you have customised your kernel you may not have built it.

Solution: rebuild your kernel with CONFIG_PPP_ASYNC set. While you are at it, you should set CONFIG_PPP as well, and both should be set to "m" so that they are built as modules. We've found they don't work compiled statically.


All times are GMT -5. The time now is 12:19 PM.