[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pptpclient-devel
Subject:    [pptp-devel] PPTP connection closing after 30 seconds
From:       Eli Richmond <eerichmond () ucdavis ! edu>
Date:       2005-09-09 15:50:39
Message-ID: 4321AF4F.5060401 () ucdavis ! edu
[Download RAW message or body]

Hi,
I'm trying to connect my OpenBSD system to a Microsoft VPN server using
PPTP, but I can't seem to get it to work. I know the VPN server is
working because I can login from a Windows machine. Here's my current setup:

OpenBSD 3.6 (just the basics, no X-windows)
    I added the "pptp-1.7.0.tar.gz" from pptp.sourceforge.net
    I recompiled the GENERIC kernel without "gre"

/etc/ppp/chap-secrets:
#       $OpenBSD: chap-secrets,v 1.3 2002/06/09 06:15:15 todd Exp $
# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
<domain>\\<myusername> * <mypassword> *

/etc/ppp/options
name <domain>\\<myusername>
lock
noauth
usehostname
noipdefault
defaultroute
debug

/etc/ppp/ppp.conf
(none)

/etc/ppp/options.pptp
(none)

# Command:
pptp x.x.x.x debug


This is what I get in the /var/log/messages file:
Sep  9 08:46:31 firewall3 pptp[4147]: anon log[main:pptp.c:267]: The
synchronous pptp option is NOT activated
Sep  9 08:46:31 firewall3 pptp[17594]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1
'Start-Control-Connection-Request'
Sep  9 08:46:31 firewall3 pptp[17594]: anon
log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Sep  9 08:46:31 firewall3 pptp[17594]: anon
log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Sep  9 08:46:32 firewall3 pptp[17594]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7
'Outgoing-Call-Request'
Sep  9 08:46:32 firewall3 pptp[17594]: anon
log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Sep  9 08:46:32 firewall3 pptp[17594]: anon
log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0,
peer's call ID 37193).
Sep  9 08:46:32 firewall3 pppd[27968]: pppd 2.3.5 started by, uid 0
Sep  9 08:46:32 firewall3 pppd[27968]: Using interface ppp0
Sep  9 08:46:32 firewall3 pppd[27968]: Connect: ppp0 <--> /dev/ttyp1
Sep  9 08:46:34 firewall3 pptp[17594]: anon
log[ctrlp_disp:pptp_ctrl.c:912]: Received Call Clear Request.
Sep  9 08:47:06 firewall3 pppd[27968]: LCP: timeout sending Config-Requests
Sep  9 08:47:06 firewall3 pppd[27968]: Connection terminated.
Sep  9 08:47:06 firewall3 pptp[17594]: anon
log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Sep  9 08:47:06 firewall3 pptp[17594]: anon
log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
Sep  9 08:47:06 firewall3 pptp[17594]: anon
log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12
'Call-Clear-Request'
Sep  9 08:47:06 firewall3 pptp[17594]: anon
log[pptp_read_some:pptp_ctrl.c:544]: read returned zero, peer has closed
Sep  9 08:47:06 firewall3 pptp[17594]: anon
log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
Sep  9 08:47:07 firewall3 pptp[636]: anon
warn[decaps_hdlc:pptp_gre.c:197]: short read (0): Invalid argument

Any help would be much appreciated.
Thanks,
- Eli

-- 
Eli Richmond
Programmer IV
530-757-3001
U.C. Davis Bookstore



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
pptpclient-devel mailing list
pptpclient-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pptpclient-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic