[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: starting pppoe - correct way?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: starting pppoe - correct way?
- From: Henning Brauer <lists-openbsd_(_at_)_bsws_(_dot_)_de>
- Date: Sun, 13 Mar 2005 09:47:44 +0100
- Mail-followup-to: misc_(_at_)_openbsd_(_dot_)_org
* J.D. Bronson <jbronson_(_at_)_wixb_(_dot_)_com> [2005-03-12 23:46]:
> I have seen some discussions on this...but not a definite answer.
> I had been starting pppoe in /etc/rc.local as:
> echo -n ' pppoe '; /usr/sbin/ppp -ddial isp
> but then I read that an alternate way was to use something
> like this:
> % cat /etc/hostname.tun0
> !/usr/sbin/ppp -ddial isp
> ..they both work....so what is the *preferred* way to do this under OpenBSD
that is kinda an matter of personal preference, I really prefer to have
anything related to bringing interfaces up in hostname.if.
which has the added benefit that an "sh /etc/netstart tun0" will work
as intended :)
http://2suck.net/hhwl.html - http://www.bsws.de/
Unix is very simple, but it takes a genius to understand the simplicity.
Visit your host, monkey.org