From owner-freebsd-questions@FreeBSD.ORG Mon Dec 11 06:28:28 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ABDE816A40F for ; Mon, 11 Dec 2006 06:28:28 +0000 (UTC) (envelope-from rob@coombs.anu.edu.au) Received: from canyonero.dot.net.au (canyonero.dot.net.au [202.147.68.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6949343CA3 for ; Mon, 11 Dec 2006 06:27:13 +0000 (GMT) (envelope-from rob@coombs.anu.edu.au) Received: from [203.129.41.189] (helo=freebsd.connect-a.com.au) by canyonero.dot.net.au with esmtp (Exim 3.35 #1 (Debian)) id 1GteeI-00048X-00 for ; Mon, 11 Dec 2006 17:28:26 +1100 Received: from localhost (localhost [127.0.0.1]) by freebsd.connect-a.com.au (8.13.6/8.13.6) with ESMTP id kBB6SKPH007634 for ; Mon, 11 Dec 2006 17:28:21 +1100 (EST) (envelope-from rob@coombs.anu.edu.au) Date: Mon, 11 Dec 2006 17:28:20 +1100 (EST) From: Rob Hurle X-X-Sender: rob@freebsd.connect-a.com.au To: freebsd-questions@freebsd.org Message-ID: <20061211163203.P1311@freebsd.connect-a.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on freebsd.connect-a.com.au Subject: Poptop - how to configure? 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: Mon, 11 Dec 2006 06:28:28 -0000 Dear All, I am installing pptpd (aka poptop) on a 6.1 release box which is taking over the functions of a Debian box. VPN is needed and Debian used pptpd for this, so I decided to follow suit. However, I get errors that indicate that pptpd is not directing pppd to the correct options file. Part of the debug output from pptpd is: Dec 11 12:21:28 mail pptpd[54767]: MGR: Launching /usr/local/sbin/pptpctrl to handle client Dec 11 12:21:28 mail pptpd[54767]: CTRL: pppd options file = /etc/ppp/options.pptpd Dec 11 12:21:28 mail pptpd[54767]: CTRL: Received PPTP Control Message (type: 1) Dec 11 12:21:28 mail pptpd[54767]: CTRL: Made a START CTRL CONN RPLY packet Dec 11 12:21:28 mail pptpd[54767]: CTRL: I wrote 156 bytes to the client. Dec 11 12:21:28 mail pptpd[54767]: CTRL: Sent packet to client Dec 11 12:21:28 mail pptpd[54767]: CTRL: Received PPTP Control Message (type: 7) Dec 11 12:21:28 mail pptpd[54767]: CTRL: Set parameters to 100000000 maxbps, 64 window size Dec 11 12:21:28 mail pptpd[54767]: CTRL: Made a OUT CALL RPLY packet Dec 11 12:21:28 mail pptpd[54767]: CTRL: pty_fd = 7 Dec 11 12:21:28 mail pptpd[54767]: CTRL: tty_fd = 6 Dec 11 12:21:28 mail pptpd[54768]: CTRL (PPPD Launcher): program binary = /usr/local/sbin/pppd Dec 11 12:21:28 mail pptpd[54767]: CTRL: I wrote 32 bytes to the client. Dec 11 12:21:28 mail pptpd[54767]: CTRL: Sent packet to client Dec 11 12:21:28 mail pptpd[54767]: CTRL: Reaping child PPP[54768] Dec 11 12:21:28 mail pptpd[54767]: CTRL: Exiting now Dec 11 12:21:28 mail pptpd[54625]: MGR: Reaped child 54767 (I have also tried using /usr/sbin/pppd, with the same result). The error from pppd indicates that it is trying to access the options file /etc/ppp/options, in spite of having: # TAG: option # Specifies the location of the PPP options file. # By default PPP looks in '/etc/ppp/options' # option /etc/ppp/options.pptpd in the pptpd.conf file. I've tried symlinking an "options" to the "options.pptpd" file, but then it indicates that the ppp options, as suggested in the poptop distribution, are illegal: refuse-pap illegal option It's almost as if user-land ppp was being called instead of pppd. Anyone any ideas as to how I can get a better handle on this? Thank you. Cheers, Rob Hurle ----------------------------------------------------- Rob Hurle Faculty of Asian Studies, ANU Home address and contacts: Tel: +61 2 6247 2397 PO Box 4013 Fax: +61 2 6247 2397 Ainslie Cell phone: 0417 293 603 Australia e-mail: rob@coombs.anu.edu.au -----------------------------------------------------