Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jul 1999 07:50:24 -0400
From:      Mark Thomas <thomas@pmpro.com>
To:        freebsd-questions@freebsd.org
Subject:   Followup: userland ppp startup
Message-ID:  <3.0.6.32.19990708075024.00d60670@pop.pmpro.com>

next in thread | raw e-mail | index | archive | help

A while back I posted a question about automatically starting userland ppp
at startup. Of course the handbook details a nice way to do this that I
hadn't found when I posted the original question.

Summary:

Once you have your tun interface working the following in /etc/rc.conf
should do the trick:

network_interfaces="lo0 tun0" # More if you need them.
ifconfig_tun0= # Nothing here!

Then create /etc/start_if.tun0 with:

ppp [your startup options here]

I was working from the pedantic ppp primer, so my start_if.tun0 is:

ppp -auto -alias demand

Worked like a charm for me.

Mark

---
Mark Thomas -- thomas@pmpro.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.6.32.19990708075024.00d60670>