How do I specify a unit for ppp?
Dan Langille
dan at langille.org
Wed Apr 2 16:32:48 PST 2003
On 2 Apr 2003 at 8:29, Matthew Emmerton wrote:
> ----- Original Message -----
> From: "Dan Langille" <dan at langille.org>
> To: <freebsd-questions at 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/
More information about the freebsd-questions
mailing list