From owner-freebsd-questions Sun Aug 2 12:43:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13351 for freebsd-questions-outgoing; Sun, 2 Aug 1998 12:43:45 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jaguar.ir.miami.edu (jaguar.ir.miami.edu [129.171.32.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13346 for ; Sun, 2 Aug 1998 12:43:42 -0700 (PDT) (envelope-from marcus@miami.edu) Received: from jaguar.ir.miami.edu ("port 2826"@jaguar.ir.miami.edu) by jaguar.ir.miami.edu (PMDF V5.1-10 #24029) with SMTP id <0EX200HJUUSIVW@jaguar.ir.miami.edu> for freebsd-questions@FreeBSD.ORG; Sun, 2 Aug 1998 15:43:30 -0400 (EDT) Date: Sun, 02 Aug 1998 15:43:30 -0400 (EDT) From: "Joe \"Marcus\" Clarke" Subject: Re: rc.local In-reply-to: <3.0.1.32.19980802153448.00974920@pop.erols.com> To: Ryan Turner Cc: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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