Register a domain and help support LQ
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 06-30-2006, 03:46 AM   #1
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
Registered: Aug 2002
Posts: 14,763

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484

This might be your problem.
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

All times are GMT -5. The time now is 03:24 PM.

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