LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-04-2008, 03:05 AM   #1
ehsantux
LQ Newbie
 
Registered: Nov 2007
Location: Iran
Distribution: Debian
Posts: 22

Rep: Reputation: 15
Problem with pptpconfig in fedora core 9


Hi my friends...
I have a problem with connecting to the pptp vpn server of my university.
I just installed pptp client and also pptpconfig(The GUI for pptp client).I actually enter these fields: Name,Username,Password and server. The vpn server of my university doesn't use any encryption method to encrypt my data. so i disable any encryption in Encryption part of the interface.then i click in start button to connect to server and then the client couldn't connect to vpn servers and showed these messages:
connect: ppp0 <---> /dev/pts/
MS-CHAP authentication failed:^A
connection terminated
pptpconfig: pppd process terminated by signal 19(failed)
pptpconfig:SIGSTOP

Can anyboby help me please?
Could you please tell me what's the problem and what's the "Signal 19"?
Thanks.
Best Regards.

Last edited by ehsantux; 11-04-2008 at 03:08 AM.
 
Old 11-04-2008, 05:16 AM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi,

Quote:
The vpn server of my university doesn't use any encryption method to encrypt my data.
was it no encrypted password as PAP? because even PPTP still use an encryption method (MPPE).

Quote:
MS-CHAP authentication failed:^A
see that CHAP failed part? that was either wrong password or the remote server doesnt support it. try to use PAP.

HTH.
 
Old 11-05-2008, 05:47 AM   #3
ehsantux
LQ Newbie
 
Registered: Nov 2007
Location: Iran
Distribution: Debian
Posts: 22

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rossonieri#1 View Post
hi,



was it no encrypted password as PAP? because even PPTP still use an encryption method (MPPE).



see that CHAP failed part? that was either wrong password or the remote server doesnt support it. try to use PAP.

HTH.
Hi,...
I'm so sorry...
Yes it use any encryption but it doesn't use any data encryption because when i want to connect to vpn server in windows and make my connection and click connect, the connection after verifying username and password disconnects and show this message: "Error 742: the remote computer does not support the required data encryption type" and then i go to properties and in security tab i unchecked the "Require data encryption" field and finally i could connect to vpn server. but what can i do in linux.in pptpconfig software in Encryption tab i enable "require-mppe","nomppe-40","nomppe-128","refuse-eap". but again i saw the errors that i wrote for you.sometimes the same message plus another message have shown and tell me "modem hangup" and "the process terminated with signal 16"
Could you please help me?
What are these signals?
I sure that i enter my username and password and servername correct.
Please help me.
Thanks.
 
Old 11-06-2008, 11:58 AM   #4
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi,

i'm sorry for this very late reply

are you somekind of behind NAT router/firewall between you and your PPTP/VPN server?

if yes - then make sure you allow this GRE (IP 47) traffic from your remote VPN server to pass-thru your NAT/firewall router. A typical linksys home router have this option to pass-thru.

if you interested to troubleshoot yourself :
TCP 1723 for PPTP request/handshake
IP 47/GRE for the data

this is only a successful PPTP test example - perhaps you can make a comparison. some has been modified - so it wont match the hashes.

Code:
root@openvpn:/home/tes# pon testing debug dump logfd 2 nodetach
pppd options in effect:
debug           # (from command line)
nodetach                # (from command line)
logfd 2         # (from command line)
dump            # (from command line)
noauth          # (from /etc/ppp/options.pptp)
name test           # (from /etc/ppp/peers/testing)
remotename PPTP         # (from /etc/ppp/peers/testing)
                # (from /etc/ppp/options.pptp)
pty pptp 192.168.2.3 --nolaunchpppd             # (from /etc/ppp/peers/testing)
crtscts         # (from /etc/ppp/options)
                # (from /etc/ppp/options)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/options)
ipparam testing          # (from /etc/ppp/peers/testing)
proxyarp                # (from /etc/ppp/options)
nobsdcomp               # (from /etc/ppp/options.pptp)
nodeflate               # (from /etc/ppp/options.pptp)
require-mppe-128                # (from /etc/ppp/options.pptp)
noipx           # (from /etc/ppp/options)
using channel 17
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1e378eb7> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x1ac995ff> <pcomp> <accomp>]
sent [LCP ConfAck id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x1ac995ff> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1e378eb7> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x1e378eb7> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0x1e378eb7]
rcvd [CHAP Challenge id=0x36 <c52901cb2ca54302a341c223ef56a3e5>, name = "testing.tld"]
sent [CHAP Response id=0x36 <521e575221b3a53c789c3e6b7a3b5211000000000000000049aeece76066968cce172db57a6982fc465eb6fd5e4d218800>, name = "test"]
rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0xbd217d58> <pcomp> <accomp>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xacb67f0f> <pcomp> <accomp>]
sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0xbd217d58> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x1e378eb7> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xacb67f0f> <pcomp> <accomp>]
sent [LCP EchoReq id=0x0 magic=0xacb67f0f]
rcvd [CHAP Challenge id=0x57 <924183422fb655197fda8a2bde877d9b>, name = "testing.tld"]
sent [CHAP Response id=0x57 <412a2e6f6cceb652b6b1da7648e5a1fa00000000000000001fe7c737e081c7cdac08008d1766ef01d6fccaa6e75ff10a00>, name = "test"]
rcvd [LCP EchoRep id=0x0 magic=0xbd217d58]
rcvd [CHAP Success id=0x57 "S=3E0C3417951F2B5D2F8B2F40A53E826C8D710579 M=Access granted"]
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x1 <mppe +H -M +S +L -D -C>]
sent [CCP ConfNak id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfAck id=0x1 <mppe +H -M +S -L -D -C>]
rcvd [CCP ConfReq id=0x2 <mppe +H -M +S -L -D -C>]
sent [CCP ConfAck id=0x2 <mppe +H -M +S -L -D -C>]
MPPE 128-bit stateless compression enabled
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 10.10.10.1>]
sent [IPCP ConfAck id=0x1 <compress VJ 0f 01> <addr 10.10.10.1>]
rcvd [IPCP ConfNak id=0x1 <addr 10.10.10.5>]
sent [IPCP ConfReq id=0x2 <compress VJ 0f 01> <addr 10.10.10.5>]
rcvd [IPCP ConfAck id=0x2 <compress VJ 0f 01> <addr 10.10.10.5>]
Cannot determine ethernet address for proxy ARP
local  IP address 10.10.10.5
remote IP address 10.10.10.1
Script /etc/ppp/ip-up started (pid 13708)
Script /etc/ppp/ip-up finished (pid 13708), status = 0x0
HTH.

Last edited by rossonieri#1; 11-06-2008 at 12:26 PM.
 
  


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
Cannot install pptpconfig on Fedora 7 dwhitney67 Linux - Software 2 02-29-2008 10:16 PM
pptpconfig - Failed to open /etc/pptpconfig/lock HELP! YankeeFan Linux - Networking 1 11-01-2006 07:42 AM
Setup Fedora core 3 & Redhat 7.2 software development environment under Fedora core 5 powah Fedora 1 06-16-2006 10:25 AM
DNS problem after installing and removing pptpconfig mldqj Linux - Networking 0 03-25-2006 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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