Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
09-21-2005, 02:51 AM
#1
LQ Newbie
Registered: Sep 2005
Posts: 6
Rep:
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?
09-21-2005, 11:57 PM
#3
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
#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 .
09-22-2005, 06:23 AM
#4
Moderator
Registered: Aug 2002
Posts: 9,916
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 .
09-23-2005, 12:22 AM
#5
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
#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
09-23-2005, 12:23 AM
#6
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
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.
09-23-2005, 12:47 AM
#7
Member
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338
Rep:
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
09-23-2005, 08:24 PM
#8
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
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?
09-24-2005, 12:18 AM
#9
LQ Newbie
Registered: Sep 2005
Posts: 6
Original Poster
Rep:
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?
09-24-2005, 02:08 PM
#10
Member
Registered: Jun 2005
Location: q3dm7
Distribution: Mandriva 2010.0 x86_64
Posts: 338
Rep:
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.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 01:15 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News