From owner-freebsd-questions Sat Mar 23 9:30:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.radzinschi.com (pcp284510pcs.owngsm01.md.comcast.net [68.54.240.17]) by hub.freebsd.org (Postfix) with ESMTP id 1530337B404 for ; Sat, 23 Mar 2002 09:30:43 -0800 (PST) Received: from localhost (marco@localhost.radzinschi.com [127.0.0.1]) by mail.radzinschi.com (8.11.6/8.11.6) with ESMTP id g2NHUJ582104; Sat, 23 Mar 2002 12:30:19 -0500 (EST) (envelope-from marco@radzinschi.com) Date: Sat, 23 Mar 2002 12:30:19 -0500 (EST) From: Marco Radzinschi To: Tim Kellers Cc: Subject: Re: wi0 starts after natd In-Reply-To: <200203230249.g2N2nbi00497@10.0.1.6> Message-ID: <20020323122927.F82095-100000@mail.radzinschi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Don't start natd from /etc/rc.conf. Place natd -n wi0 in /etc/rc.local. Marco Radzinschi E-Mail: marco@radzinschi.com AOL IM: CrackedBoy On Fri, 22 Mar 2002, Tim Kellers wrote: > I'm using my wireless interface (wi0) for natd to provide an internet > connection to my ailing Mac via the laptop's (and Mac's) built in ethernet > interfaces. No matter where in /etc/rc.conf I place > > ifconfig_wi0="DHCP" > > natd starts before seeing the interface and I get this in my dmesg: > > Firewall rules loaded, starting divert daemons: > natd > natd: > unknown interface name wi0 > > So, after I login and become root, I type in: > > natd -n wi0 > > and all proceeds fine. natd is happy, the intranet is happy, the Mac is > happy, I am happy. > > So the obvious question is: Where can I put the command to start natd so > that it starts after wi0 is up? I'm going to see if /usr/local/etc/rc.d is a > workable location, but I thought I'd ask here first, in case there is > something at work of which I am unaware. > > TIA > > Tim Kellers > CPE/NJIT > > 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