LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-30-2006, 03:46 AM   #1
cmrnaidu
LQ Newbie
 
Registered: Jun 2006
Posts: 15

Rep: Reputation: 0
Smile 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.
 
Old 07-12-2006, 08:54 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ldap integration with pptp vpn server saneeha Linux - Networking 1 04-09-2011 01:46 AM
Need help in establishing a pptp vpn server depam Linux - Software 1 03-31-2006 03:46 PM
PPTP VPN server - can't cross subnets Lhadatt Linux - Networking 4 12-02-2004 05:42 PM
PPTP (VPN) server: authentication options (Radiut / Chap-secrets / ldap/..) ? aa_tango Linux - Wireless Networking 0 05-27-2004 09:47 AM
VPN Server [mgetty (Dialin) + PPTP] <-> [Client WindowsXP] ingram Linux - Newbie 4 09-21-2003 12:52 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration