LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-21-2005, 02:51 AM   #1
kocu
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Rep: Reputation: 0
problem of PPTP VPN connection.


I am using redhat 9.0 as a server, and PPTP has been installed. when I use WIN2000 to connect the server (VPN), there is an error:

error 734: The PPP link control protocol was terminated.

what is the problem?
 
Old 09-21-2005, 08:17 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,816

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
It could be one of many problems. Post your /etc/ppp/options.pptp file.

http://www.microsoft.com/technet/pro...79df2990d.mspx

 
Old 09-21-2005, 11:57 PM   #3
kocu
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
#file: options.pptpd

name pptpd

# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use.)


# BSD licensed ppp-2.4.2 upstream with MPPE only, kernel module ppp_mppe.o
# {{{
refuse-pap
refuse-chap
refuse-mschap
# Require the peer to authenticate itself using MS-CHAPv2 [Microsoft
# Challenge Handshake Authentication Protocol, Version 2] authentication.
require-mschap-v2
# Require MPPE 128-bit encryption
# (note that MPPE requires the use of MSCHAP-V2 during authentication)
# }}}

proxyarp
lock
nobsdcomp
nologfd
require-mppe-128

Last edited by kocu; 09-22-2005 at 12:02 AM.
 
Old 09-22-2005, 06:23 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,816

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Have you selected a secure in the W2K properties?

Check the kernel messages for more information on why the client didn't connect.

Last edited by michaelk; 09-22-2005 at 06:24 AM.
 
Old 09-23-2005, 12:22 AM   #5
kocu
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
#message

Sep 23 13:35:44 SLPDServer pptpd[6160]: CTRL: Client 210.72.9.151 control connection started
Sep 23 13:35:44 SLPDServer pptpd[2410]: MGR: No free connection slots or IPs - no more clients can connect!
Sep 23 13:35:44 SLPDServer pptpd[6160]: CTRL: Starting call (launching pppd, opening GRE)
Sep 23 13:35:44 SLPDServer pppd[6161]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
Sep 23 13:35:44 SLPDServer kernel: application bug: pppd(6161) has SIGCHLD set to SIG_IGN but calls wait().
Sep 23 13:35:44 SLPDServer kernel: (see the NOTES section of 'man 2 wait'). Workaround activated.
Sep 23 13:35:44 SLPDServer pppd[6161]: pppd 2.4.3 started by root, uid 0
Sep 23 13:35:44 SLPDServer pppd[6161]: Using interface ppp0
Sep 23 13:35:44 SLPDServer pppd[6161]: Connect: ppp0 <--> /dev/pts/0
Sep 23 13:35:44 SLPDServer pptpd[6160]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Sep 23 13:35:44 SLPDServer modprobe: modprobe: Can't locate module ppp-compress-18
Sep 23 13:35:44 SLPDServer pppd[6161]: MPPE required, but kernel has no support.
Sep 23 13:35:44 SLPDServer pppd[6161]: Modem hangup
Sep 23 13:35:44 SLPDServer pppd[6161]: Connection terminated.
Sep 23 13:35:44 SLPDServer pppd[6161]: Connect time 0.0 minutes.
Sep 23 13:35:44 SLPDServer pppd[6161]: Sent 0 bytes, received 44 bytes.
Sep 23 13:35:44 SLPDServer /etc/hotplug/net.agent: NET unregister event not supported
Sep 23 13:35:44 SLPDServer pppd[6161]: Exit.
Sep 23 13:35:44 SLPDServer pptpd[6160]: CTRL: Client 210.72.9.151 control connection finished
 
Old 09-23-2005, 12:23 AM   #6
kocu
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by michaelk
Have you selected a secure in the W2K properties?

.

what is the meaning? I just use the default settings of W2K.
 
Old 09-23-2005, 12:47 AM   #7
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
Quote:
Originally posted by kocu
Sep 23 13:35:44 SLPDServer pppd[6161]: MPPE required, but kernel has no support.
You need to build and install MPPE for your kernel. Follow 1 a,b,c,d here and then try again:
http://pptpclient.sourceforge.net/howto-redhat-90.phtml
 
Old 09-23-2005, 08:24 PM   #8
kocu
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by kocu
#message

Sep 23 13:35:44 SLPDServer modprobe: modprobe: Can't locate module ppp-compress-18
finished
I have installed MPPE, but still can not find the module. how to install it?
 
Old 09-24-2005, 12:18 AM   #9
kocu
LQ Newbie
 
Registered: Sep 2005
Posts: 6

Original Poster
Rep: Reputation: 0
thanks, the problem was solved. a wrong version file was used.

BTW, now I can log on the VPN server, but I can not use connect samba server from W2K, and I can not connect to other competers in the LAN.

how to config? are they possible?
 
Old 09-24-2005, 02:08 PM   #10
Snowbat
Member
 
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338

Rep: Reputation: 30
In pptpd.conf are remoteip and localip different but in the same subnet?
Have you enabled ip forwarding?

From http://home.swbell.net/berzerke/howto.html#gotchas
6.2 Remote and Local IPs
In your pptpd.conf file, be sure the remoteip(s) and localip (you don't need more than one) are on the same subnet and do *NOT* overlap. They must be different. Also, be sure any ip's specified in chaps-secrets do not overlap either.

6.4 Forwarding
You're going to have lots of trouble unless you enable ip forwarding. The command [echo "1" >/proc/sys/net/ipv4/ip_forward] will do it, but will not survive a reboot, so be sure and place the command somewhere in your startup scripts. Also, if you have a firewall, be sure it allows the forwarded packets through.
 
  


Reply


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
VPN pptp Connection GroverB Linux - Networking 1 10-29-2005 03:13 PM
Strange client IP change on a VPN connection(pptp - poptop).txt 4mix Linux - Networking 1 09-16-2005 10:45 AM
PPTP VPN browse problem george100 Linux - Networking 0 08-05-2005 11:05 AM
PPTP VPN remote connection from home powah Linux - Networking 0 05-02-2005 09:10 PM
how can i set up a VPN pptp connection on fedora core 1? lynchmob09 Linux - Software 1 02-04-2004 11:46 PM


All times are GMT -5. The time now is 02:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration