From owner-freebsd-net@FreeBSD.ORG Tue May 24 00:57:27 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BAEBA16A41C for ; Tue, 24 May 2005 00:57:27 +0000 (GMT) (envelope-from Rob@the-rob.com) Received: from sohomail1.binc.net (sohomail2.binc.net [64.73.16.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4706D43D53 for ; Tue, 24 May 2005 00:57:26 +0000 (GMT) (envelope-from Rob@the-rob.com) Received: (qmail-ldap/ctrl 16222 invoked by uid 108); 24 May 2005 00:57:25 -0000 Received: from Rob@the-rob.com by sohomail2.binc.net by uid 101 with qmail-scanner-1.20 (uvscan: v4.2.40/v4100. spamassassin: 2.61. Clear:RC:1(10.0.0.26):. Processed in 0.029423 secs); 24 May 2005 00:57:25 -0000 Received: from unknown (HELO soho1.binc.net) ([10.0.0.26]) (envelope-sender ) by sohomail2 (qmail-ldap-1.03) with SMTP for ; 24 May 2005 00:57:25 -0000 Received: (qmail 3085 invoked from network); 24 May 2005 00:57:23 -0000 Received: from c24.240.40.194.mad.wi.charter.com (HELO homer) ([24.240.40.194]) (envelope-sender ) by the-rob.com (qmail-ldap-1.03) with SMTP for ; 24 May 2005 00:57:23 -0000 From: Rob Zietlow To: freebsd-net@freebsd.org Date: Mon, 23 May 2005 19:57:22 -0500 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200505231957.23014.Rob@the-rob.com> Subject: pppd pty equivilent in FBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 00:57:27 -0000 Good day List,=20 I have a question about pppd. We use ppp over ssh for a VPN solution into= =20 work. The script works on linux, but not in freebsd because the=20 implementation of pppd that comes with freebsd does not recognize the pty=20 command. When I attempt to connect up I get the following.=20 testee# bash bin/vpn.init start Waiting for connection... Using interface ppp0 /usr/sbin/pppd: In file /usr/home/rob/vpn/options.vpn: unrecognized option= =20 'pty' Connection Failed This appears to be the last piece of the puzzle for me in order to get this= to=20 work. So it leaves me to ask Is there an equivalent in Freebsd?=20 =46rom the pppd man page on a linux machine.=20 pty script Specifies that the command script is to be used to communicat= e=20 rather than a specific terminal device. Pppd will allocate itself a=20 pseudo-tty master/slave pair and use the slave as its terminal device. The= =20 script will be run in a child process with the pseudo-tty master a= s=20 its standard input and output. An explicit device name may not be = =20 given if this option is used. (Note: if the record option is used in=20 conjuction with the pty option, the child process will have pipes on its=20 standard input and output.) The fbsd pppd's man page doesn't list anything for pty, and a google doesn'= t=20 turn up much.=20 Thanks for your time.=20 Rob=20