From owner-freebsd-questions@FreeBSD.ORG Fri Jun 24 16:16:52 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66A7716A41C for ; Fri, 24 Jun 2005 16:16:52 +0000 (GMT) (envelope-from josepha48@yahoo.com) Received: from web41015.mail.yahoo.com (web41015.mail.yahoo.com [66.218.93.14]) by mx1.FreeBSD.org (Postfix) with SMTP id 4DB9143D48 for ; Fri, 24 Jun 2005 16:16:52 +0000 (GMT) (envelope-from josepha48@yahoo.com) Received: (qmail 28511 invoked by uid 60001); 24 Jun 2005 16:16:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=25ZcJhFRRQKYlALxm8uHq0jed9V569LNqgKCrXTxDtAJfwHPGVhz+DPvYWyNciNgIbPLS3fNNBP5JWZc1dfPWAWlyaDjFjEhyAumIcY6Hel7LD6JiINSK38PMep3hN6Deyk5bijSeywADdkoXMCb6t6iGGM6W4Dhm6sSEOi14lc= ; Message-ID: <20050624161652.28509.qmail@web41015.mail.yahoo.com> Received: from [69.3.234.17] by web41015.mail.yahoo.com via HTTP; Fri, 24 Jun 2005 09:16:51 PDT Date: Fri, 24 Jun 2005 09:16:51 -0700 (PDT) From: Joe To: Alex Zbyslaw In-Reply-To: <42BC0978.2020609@dial.pipex.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: SMP and networking under FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2005 16:16:52 -0000 Hello, ps: root 542 0.0 0.7 1320 812 ?? Ss Tue09AM 2:22.10 /sbin/natd -dynamic -d -log_ipfw_denied -log_denied -dynamic -n dc0 ifconfig: pccard_ifconfig="NO" ifconfig_xl0="inet 192.168.0.15 netmask 255.255.255.0" ifconfig_dc0="DHCP" So FreeBSD 5.3 isn't production? I had read somewhere that 5.2.1 wasn't production and that 5.3 was supposed to be production. I'll look into upgrading to 5.4, it will take a bit of time to do that though. Joe --- Alex Zbyslaw wrote: > Joe wrote: > > >Okay, I've been looking and looking for duplicate natd's. > > > >I have the /etc/rc.conf which has natd stuff below, and the > only > >other place I see it is in ipfw. > > > >I was able to change my rc and use /etc/rc.d/natd start and > that > >works. Which is better as it does not require me to reload > my > >firewall rules. > > > >I still don't know why natd refuses to start the first time > when > >called from ipfw. > > > > > If I understand the boot procedure correctly, natd ought to be > started > as part of the /etc/rc.d/ipfw and that just calls > "/etc/rc.d/natd start" > which is what you are typing later from the command line with > success, > so why it fails at boot, I really don't know at this point. > > The "cannot bind to divert socket" error I thought could > happen if a) > you weren't root (seems unlikely from bootup) or b) something > had > already bound the socket. After your machine boots, what does > ps uagxww | egrep natd > show? > > Google also found this: > > >- In FreeBSD, IPDIVERT must be enabled at compile time. > > > I guess your kernel has this option, or natd would never have > worked. > > what ifconfig lines do you have in /etc.rc.conf > > egrep ifconfig /etc/rc.conf > > >I have no rc.conf.local > > > > > Not too surprising. It could be used under 4.X as a second > level to > rc.conf, but exists nowadays for backwards compatibility and > AFAIK isn't > created by anything. > > As a more drastic attempt at a solution, could you try > upgrading to > 5.4? It has numerous improvements over 5.3, which was never a > > production release. Maybe some ordering problems was fixed. > > --Alex > > ____________________________________________________ Yahoo! Sports Rekindle the Rivalries. Sign up for Fantasy Football http://football.fantasysports.yahoo.com