From owner-freebsd-net@FreeBSD.ORG Wed Apr 2 16:32:48 2003 Return-Path: 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 85C0737B401; Wed, 2 Apr 2003 16:32:48 -0800 (PST) Received: from bast.unixathome.org (bast.unixathome.org [66.11.174.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71FBF43FA3; Wed, 2 Apr 2003 16:32:46 -0800 (PST) (envelope-from dan@langille.org) Received: from wocker (wocker.unixathome.org [192.168.0.99]) by bast.unixathome.org (Postfix) with ESMTP id DAD303D28; Wed, 2 Apr 2003 19:32:45 -0500 (EST) From: "Dan Langille" To: "Matthew Emmerton" Date: Wed, 02 Apr 2003 19:32:45 -0500 MIME-Version: 1.0 Message-ID: <3E8B3ADD.22128.F838E40@localhost> Priority: normal In-reply-to: <00bc01c2f91b$f5bd1cc0$1200a8c0@gsicomp.on.ca> X-mailer: Pegasus Mail for Windows (v4.02a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body cc: freebsd-net@freebsd.org cc: freebsd-questions@freebsd.org Subject: Re: How do I specify a unit for ppp? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 00:32:48 -0000 On 2 Apr 2003 at 8:29, Matthew Emmerton wrote: > ----- Original Message ----- > From: "Dan Langille" > To: > Sent: Wednesday, April 02, 2003 8:12 AM > Subject: How do I specify a unit for ppp? > > > > >From man ppp I see this: > > > > The -unit flag tells ppp to only attempt to open /dev/tunN. > > > > I want it to use tun0. I can't see a way to specify a unit in > > /etc/rc.conf. > > > > Clues? > > We really need a ppp_flags variable in /etc/rc.conf which is recognized by > /etc/rc.network for this kind of thing. > Then you could specificy ppp_flags="-unit 0" in /etc/rc.conf and be on your > way. > > Patches against 4.7-REL (sorry, I don't have an up-to-date -stable box). > Comments requested; I will submit a PR with patches against -stable later > today. That patch works well for me. Thank you. -- Dan Langille : http://www.langille.org/