From owner-freebsd-questions Thu Apr 6 22:14:50 2000 Delivered-To: freebsd-questions@freebsd.org Received: from cytosine.dhs.org (cx272244-a.orng1.occa.home.com [24.1.177.149]) by hub.freebsd.org (Postfix) with ESMTP id A737237BAEB for ; Thu, 6 Apr 2000 22:14:46 -0700 (PDT) (envelope-from bhishan@cytosine.dhs.org) Received: (from bhishan@localhost) by cytosine.dhs.org (8.10.0/8.10.0) id e375EiO13738; Thu, 6 Apr 2000 22:14:44 -0700 (PDT) From: Bhishan Hemrajani Message-Id: <200004070514.e375EiO13738@cytosine.dhs.org> Subject: Re: Natd causing system to crash In-Reply-To: <3.0.32.20000407010333.006b20f4@mail.elnsng1.mi.home.com> from Eric Harris at "Apr 7, 2000 01:03:35 am" To: Eric Harris Date: Thu, 6 Apr 2000 22:14:43 -0700 (PDT) Cc: freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Have you tried plugging in the cable modem to the other ethernet card? (make sure to change /etc/rc.conf to reflect the settings) (and if that works, make sure that you update /etc/rc.firewall for the divert line too) Looking at your rc.firewall, you need to change: /sbin/ipfw add divert natd all from any to any via rl0 to /sbin/ipfw add 10 divert natd all from any to any via rl0 And change the device name if the above solution worked. --bhishan > > Howdy! > > I'm new to the FreeBSD world and was told by people on IRC that this would > be the best place to post this question. > > I am running FreeBSD 4.0-STABLE and trying to run Natd. I have two NICs > installed, one going to a HUB and one going to my cable modem. > > Basically, I believe I have everything configured properly and have double > checked it against the Natd man page. I have asked a dozen people online > and no one can think of the cause. This is my final try, so please reply > back if you have any insight. > > When I plug my cable modem into my NIC, the system immediately crashes. > > This is a brief part of the error, then it reboots 15 seconds afterwards. > So I'm not able to get *everything*: > > Fatal trap 12: Page fault while in kernel mode > Fault virtual address: 0x8 > Trap number: 12 > Panic: Page fault > Fault code: Supervisor read, page not present > > Then it restarts. Again, this will only happen after I plug the cable > modem in. If the cable modem is already plugged in, it will get the same > errors right after the system boots up. So there is no way around this, > unless the cable modem is not plugged into the NIC. > > I have put my various system files/configs on a web site so that you may > all view them. I hope this covers about everything, but please let me know > if you need any other info: > > * Kernel config: http://www.execpc.com/~eharris/FREEBSD > > * dmesg before crash: http://www.execpc.com/~eharris/dmesg > > * ps aux before crash: http://www.execpc.com/~eharris/psaux > > * Uname -a output: http://www.execpc.com/~eharris/uname > > * /etc/rc.conf: http://www.execpc.com/~eharris/rc.conf > > * /etc/rc.firewall: http://www.execpc.com/~eharris/rc.firewall > > * /etc/inetd.conf: http://www.execpc.com/~eharris/inetd.conf > > If anyone would like an account on the system, just email me and I will > give you an account on my gateway, which will enable you to access the > FreeBSD machine. > > Thanks for taking the time to read this. I eagerly await any replies. > > > Regards, > > Eric Harris > ejharris@home.com > > > > > 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