Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pptpclient trouble
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
DMoL
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 100
Location: Minsk, Belarus

PostPosted: Mon May 08, 2006 9:17 am    Post subject: pptpclient trouble Reply with quote

Hello. I can't connect to vpn-server under gentoo linux! Please, help! (Even after reading some faqs ang how-tos I don't understand what to do...). Here's output

pppd options in effect:
debug debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options.pptp)
name DMoL2 # (from /etc/ppp/peers/my_peer)
remotename PPTP # (from /etc/ppp/peers/my_peer)
# (from /etc/ppp/options.pptp)
pty pptp 217.21.51.32 --nolaunchpppd --debug --loglevel 2 # (from /etc/ppp/peers/my_peer)
noaccomp # (from /etc/ppp/peers/my_peer)
nopcomp # (from /etc/ppp/peers/my_peer)
lcp-echo-failure 3 # (from /etc/ppp/options.pptp)
lcp-echo-interval 3 # (from /etc/ppp/options.pptp)
ipparam my_peer # (from /etc/ppp/peers/my_peer)
nobsdcomp # (from /etc/ppp/options.pptp)
nodeflate # (from /etc/ppp/options.pptp)
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xab4ec04a>]
rcvd [LCP ConfReq id=0x1 <auth chap MD5> <magic 0x4eea6e7>]
sent [LCP ConfAck id=0x1 <auth chap MD5> <magic 0x4eea6e7>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xab4ec04a>]
sent [LCP EchoReq id=0x0 magic=0xab4ec04a]
rcvd [CHAP Challenge id=0x1 <41f7dd12a66d412f271f3eb9a2c0e1d2>, name = "Cisco7200-2"]
sent [CHAP Response id=0x1 <592b237623d1843df2174d27e6c858bb>, name = "DMoL2"]
rcvd [LCP EchoRep id=0x0 magic=0x4eea6e7]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 217.21.51.32>]
sent [IPCP ConfAck id=0x1 <addr 217.21.51.32>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 87.252.224.44>]
sent [IPCP ConfReq id=0x3 <addr 87.252.224.44>]
rcvd [IPCP ConfAck id=0x3 <addr 87.252.224.44>]
local IP address 87.252.224.44
remote IP address 217.21.51.32
Script /etc/ppp/ip-up started (pid 4308)
Script /etc/ppp/ip-up finished (pid 4308), status = 0x1
sent [LCP EchoReq id=0x1 magic=0xab4ec04a]
sent [LCP EchoReq id=0x2 magic=0xab4ec04a]
sent [LCP EchoReq id=0x3 magic=0xab4ec04a]
No response to 3 echo-requests
Serial link appears to be disconnected.
Script /etc/ppp/ip-down started (pid 4313)
sent [LCP TermReq id=0x2 "Peer not responding"]
Script /etc/ppp/ip-down finished (pid 4313), status = 0x1
rcvd [LCP TermAck id=0x2]
Connection terminated.
Connect time 0.3 minutes.
Sent 332753354 bytes, received 40 bytes.
Waiting for 1 child processes...
script pptp 217.21.51.32 --nolaunchpppd --debug --loglevel 2, pid 4301
Script pptp 217.21.51.32 --nolaunchpppd --debug --loglevel 2 finished (pid 4301), status = 0x0
Connect time 0.3 minutes.
Sent 332753354 bytes, received 40 bytes.

What should I do?
Back to top
View user's profile Send private message
flanksteak
n00b
n00b


Joined: 27 May 2002
Posts: 49
Location: Seattle

PostPosted: Mon May 08, 2006 6:19 pm    Post subject: Reply with quote

It looks like the connection succeeds and then the problems begin after the ip-up script launches.

What sort of firewall stuff do you have setup for ppp0 on the box attempting the connection? Do you get anything in your logs regarding traffic over the ppp0 connection? Specifically, anything that gets denied?

You also have low lcp-echo-failure and interval values. Try setting those to 10 instead.
Back to top
View user's profile Send private message
DMoL
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 100
Location: Minsk, Belarus

PostPosted: Mon May 08, 2006 7:18 pm    Post subject: Reply with quote

flanksteak wrote:
It looks like the connection succeeds and then the problems begin after the ip-up script launches.
You also have low lcp-echo-failure and interval values. Try setting those to 10 instead.


No I have no any firevall. But after a couple of hours, the problem has been solved!
1. I'd done exactly , how it is described in howto
2. There was incoreect network configuration (so, was ip loop)/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum