Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Apr 2000 22:14:43 -0700 (PDT)
From:      Bhishan Hemrajani <bhishan@cytosine.dhs.org>
To:        Eric Harris <ejharris@home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Natd causing system to crash
Message-ID:  <200004070514.e375EiO13738@cytosine.dhs.org>
In-Reply-To: <3.0.32.20000407010333.006b20f4@mail.elnsng1.mi.home.com> from Eric Harris at "Apr 7, 2000 01:03:35 am"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004070514.e375EiO13738>