Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2003 19:32:45 -0500
From:      "Dan Langille" <dan@langille.org>
To:        "Matthew Emmerton" <matt@gsicomp.on.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How do I specify a unit for ppp?
Message-ID:  <3E8B3ADD.22128.F838E40@localhost>
In-Reply-To: <00bc01c2f91b$f5bd1cc0$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 Apr 2003 at 8:29, Matthew Emmerton wrote:

> ----- Original Message -----
> From: "Dan Langille" <dan@langille.org>
> To: <freebsd-questions@freebsd.org>
> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8B3ADD.22128.F838E40>