Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Aug 1998 15:43:30 -0400 (EDT)
From:      "Joe \"Marcus\" Clarke" <marcus@miami.edu>
To:        Ryan Turner <freebsd@vt.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: rc.local
Message-ID:  <Pine.OSF.4.02.9808021541560.73-100000@jaguar.ir.miami.edu>
In-Reply-To: <3.0.1.32.19980802153448.00974920@pop.erols.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The natd line is probably best put in rc.local, but the ppp command can be
done using the following:

# in /etc/rc.conf:
ifconfig_tun0=


# in /etc/start_if.tun0
ppp -auto demand

That works for me.

Joe Clarke


On Sun, 2 Aug 1998, Ryan Turner wrote:

> I want to run two commands every time the computer starts up:
> 
> ppp -auto demand
> natd -use_sockets -same_ports -unregistered_only -dynamic -interface tun0
> 
> Where should I put these?  I have then as the last two lines in rc.local,
> but do not know if this is where they should go.
> 
> 
> Ryan Turner
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


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?Pine.OSF.4.02.9808021541560.73-100000>