Date: Tue, 14 Jun 2005 22:14:34 -0700 (PDT) From: Joe <josepha48@yahoo.com> To: Jarrod Martin <jmartin37@speakeasy.net> Cc: freebsd-questions@freebsd.org, Dmitry Mityugov <dmitry.mityugov@gmail.com> Subject: Re: SMP and networking under FreeBSD 5.3 Message-ID: <20050615051434.84720.qmail@web41012.mail.yahoo.com> In-Reply-To: <42AF8CAA.5030503@speakeasy.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hey thanks, it seems that ipfw complains during boot with a message: hostname ``or'' unknown which I have no idea where that is coming from yet, but will look. Then natd doesn't get started. If I run /etc/rc.d/ipfw start then the router is up and natd gets started. For now, I'll probably just add it to rc at the end. I think it has something to do with the order things get run. My firewall script is for a dhcp interface. Since I don't know the IP, I use ifconfig dc0 | grep -v inet6 | grep inet | awk ... to get the IP address for some of the rules. I'm wondering if this is failing and causing the message above. Is there a 'recommended' way to create a rule for ipfw on a dhcp interface using its IP address? Joe --- Jarrod Martin <jmartin37@speakeasy.net> wrote: > Joe wrote: > > >Okay, I've figure it out. > > > >natd is not starting via rc.conf, or if it is, it dies. I > can > >start it manually, and it works okay. > > > >Also it seems that for some reason some of my ipfw rules > don't > >get set, so I have to rerun ipfw also to make things work. > > > >I'll just hack the rc scripts to get this machine up. > > > >Joe > > > >--- Dmitry Mityugov <dmitry.mityugov@gmail.com> wrote: > > > > > > > rc_debug="YES" in rc.conf, then run 'dmesg -a | grep natd' and > see if > anything pops up. This should tell you everything that's goin > on with > natd at boot. > __________________________________ Discover Yahoo! Use Yahoo! to plan a weekend, have fun online and more. Check it out! http://discover.yahoo.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050615051434.84720.qmail>