From owner-freebsd-questions@FreeBSD.ORG Wed Aug 31 13:47:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6A25106566B for ; Wed, 31 Aug 2011 13:47:00 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5898FC18 for ; Wed, 31 Aug 2011 13:47:00 +0000 (UTC) Received: by gyd10 with SMTP id 10so678999gyd.13 for ; Wed, 31 Aug 2011 06:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=53mHnTRMCtNXPfmz4XeCtOrKCSGn4XHVR4ZZ2TWG66o=; b=rnvWKcuq4CFA6zqqNwxPrTWykKDEgf+GV4DbUN1D67I2upE8k2O0GP1qbdcat4nPCM awkCHS6y1hUpsAGby0mNWXhB6X1I3WWCumhN9sqCwaUSxaOKWesOHpWXcLsCyvJhBl7o x4Cte+4aUmXYqhrXEGpIpOTD3IUpmE0/zzeZY= MIME-Version: 1.0 Received: by 10.236.176.226 with SMTP id b62mr2096245yhm.78.1314798419625; Wed, 31 Aug 2011 06:46:59 -0700 (PDT) Received: by 10.236.103.19 with HTTP; Wed, 31 Aug 2011 06:46:59 -0700 (PDT) In-Reply-To: References: Date: Wed, 31 Aug 2011 14:46:59 +0100 Message-ID: From: krad To: Marco Beishuizen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: vpn using pptpclient in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2011 13:47:00 -0000 On 30 August 2011 22:51, Marco Beishuizen wrote: > Hi, > > I'm trying to set up a vpn connection to the university library by using > pptpclient. In other OS's this takes around 10 seconds, but in FreeBSD this > seems very difficult to do, and I've no idea why. It looks like there is a > connection made, but after a minute or two it just disconnects and still > unable to access the vpn. > > My ppp.conf is: > EUR: > set authname "xxxx@xxxx.xx" > set authkey "xxxxxxx" > set timeout 0 > set ifaddr 0 0 > add vpn-eur-pptp.eur.nl HISADDR > disable ipv6cp > > The messages log says: > Jun 2 22:12:16 yokozuna pptp[40950]: anon log[main:pptp.c:314]: The > synchronous pptp option is NOT activated > Jun 2 22:12:16 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]* > *: Sent control packet type is 1 'Start-Control-Connection-**Request' > Jun 2 22:12:16 yokozuna pptp[40955]: anon log[ctrlp_disp:pptp_ctrl.c:**739]: > Received Start Control Connection Reply > Jun 2 22:12:16 yokozuna pptp[40955]: anon log[ctrlp_disp:pptp_ctrl.c:**773]: > Client connection established. > Jun 2 22:12:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]* > *: Sent control packet type is 7 'Outgoing-Call-Request' > Jun 2 22:12:17 yokozuna pptp[40955]: anon log[ctrlp_disp:pptp_ctrl.c:**858]: > Received Outgoing Call Reply. > Jun 2 22:12:17 yokozuna pptp[40955]: anon log[ctrlp_disp:pptp_ctrl.c:**897]: > Outgoing call established (call ID 0, peer's call ID 58282). > Jun 2 22:12:17 yokozuna kernel: tun0: link state changed to UP > Jun 2 22:13:17 yokozuna pptp[40955]: anon log[logecho:pptp_ctrl.c:677]: > Echo Request received. > Jun 2 22:13:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]* > *: Sent control packet type is 6 'Echo-Reply' > Jun 2 22:15:17 yokozuna pptp[40955]: anon log[pptp_handle_timer:pptp_**ctrl.c:1050]: > closing control connection due to missing echo reply > Jun 2 22:15:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]* > *: Sent control packet type is 12 'Call-Clear-Request' > Jun 2 22:15:17 yokozuna pptp[40955]: anon log[pptp_conn_close:pptp_ctrl.* > *c:430]: Closing PPTP connection > Jun 2 22:15:17 yokozuna pptp[40955]: anon log[ctrlp_rep:pptp_ctrl.c:251]* > *: Sent control packet type is 3 'Stop-Control-Connection-**Request' > Jun 2 22:15:17 yokozuna pptp[40955]: anon log[call_callback:pptp_**callmgr.c:79]: > Closing connection (call state) > Jun 2 22:15:47 yokozuna pptp[40956]: anon warn[decaps_hdlc:pptp_gre.c:**204]: > short read (0): No buffer space available > Jun 2 22:15:47 yokozuna kernel: tun0: link state changed to DOWN > > After a lot of searching and googling I never found the answer. Has anyone > here succeeded in setting up a working pptp vpn connection? > > Thanks in advance, > Marco > > -- > Kiss me twice. I'm schizophrenic. > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > have you tried mpd? I always found pptpclient a bit prone to issues http://www.freebsd.org/doc/handbook/pppoa.html