Date: Sat, 23 Mar 2002 12:30:19 -0500 (EST) From: Marco Radzinschi <marco@radzinschi.com> To: Tim Kellers <timothyk@wallnet.com> Cc: <questions@FreeBSD.ORG> Subject: Re: wi0 starts after natd Message-ID: <20020323122927.F82095-100000@mail.radzinschi.com> In-Reply-To: <200203230249.g2N2nbi00497@10.0.1.6>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020323122927.F82095-100000>