From owner-freebsd-questions Sun Jan 13 8:44:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from b1n.org (200-171-41-43.dsl.telesp.net.br [200.171.41.43]) by hub.freebsd.org (Postfix) with ESMTP id 3FC7C37B41A for ; Sun, 13 Jan 2002 08:44:19 -0800 (PST) Received: by b1n.org (Postfix, from userid 1000) id 201928113; Sun, 13 Jan 2002 14:44:24 -0200 (BRST) Date: Sun, 13 Jan 2002 14:44:24 -0200 From: BinarySoul To: Eric Dedrick Cc: "Oliver, Michael W." , freebsd-questions@freebsd.org Subject: Re: options IPDIVERT appears not to work... Message-ID: <20020113144424.E8806@b1n.org> References: <1DA741CA6767A144BAA4F10012536C27A9AE@LKLDDC01.GARGANTUAN.COM> <20020113114131.W7267-100000@dsl-146-127.resnet.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020113114131.W7267-100000@dsl-146-127.resnet.purdue.edu>; from dedrick@dsl-146-127.resnet.purdue.edu on Sun, Jan 13, 2002 at 11:42:30AM -0500 X-Operating-System: OpenBSD 3.0 (i386) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Great :) You're welcome Eric Dedrick (dedrick@dsl-146-127.resnet.purdue.edu) wrote: > > IIRC, miibus is required for the dc driver. Check LINT to be sure... > > Yup. That appears to have fixed the problem. > > Thanks guys. > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: BinarySoul [mailto:binary@b1n.org] > > Sent: Sunday, January 13, 2002 11:33 AM > > To: Eric Dedrick > > Cc: freebsd-questions@freebsd.org > > Subject: Re: options IPDIVERT appears not to work... > > > > > > Ow, the famous miibus :) > > comment out the line > > device miibus > > > > in the kernel file > > > > Eric Dedrick (dedrick@dsl-146-127.resnet.purdue.edu) wrote: > > > > Have you configured your /etc/rc.conf to use ipfirewall yet? > > > > > > Yes. I think I see the problem though. There was an error building the > > > kernel: > > > > > > ../../pci/if_dc.c:131: miibus_if.h: No such file or directory > > > mkdep: compile failed > > > *** Error code 1 > > > > > > Stop in /usr/src/sys/compile/DSL-146-127-2. > > > > > > and so the new kernel was never built. > > > > > > Now to just fix the kernel build problem. miibus_if.h is sitting in > > > /usr/src/sys/pci/ so I'm not exactly sure why it's not being found when I > > > try to compile. > > > > > > > > > > > Eric Dedrick (dedrick@dsl-146-127.resnet.purdue.edu) wrote: > > > > > Hi. > > > > > > > > > > I am wanting to set up NATD, but have come to an impass. > > > > > > > > > > As per the directions, I have added these lines to my kernel > > > > > configuration: > > > > > > > > > > #firewall options > > > > > options IPFIREWALL #required for natd > > > > > options IPDIVERT #required for natd > > > > > > > > > > I then re-made the world (including a new kernel), but when I boot I > > still > > > > > get the message > > > > > > > > > > IP packet filtering initialized, divert disabled, rule-based > > forwarding > > > > > disabled, default to deny, logging disabled > > > > > > > > > > (instead of divert enabled) > > > > > > > > > > Advice? > > > > > > > > > > > > > > > > > > > > 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 > > > > > > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message