From owner-freebsd-questions Sun Jan 13 8:41:12 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dsl-146-127.resnet.purdue.edu (dsl-146-127.resnet.purdue.edu [128.211.146.127]) by hub.freebsd.org (Postfix) with ESMTP id 6FA5637B404 for ; Sun, 13 Jan 2002 08:41:02 -0800 (PST) Received: from localhost (dedrick@localhost) by dsl-146-127.resnet.purdue.edu (8.11.3/8.11.6) with ESMTP id g0DGgXH08125; Sun, 13 Jan 2002 11:42:37 -0500 (EST) (envelope-from dedrick@dsl-146-127.resnet.purdue.edu) Date: Sun, 13 Jan 2002 11:42:30 -0500 (EST) From: Eric Dedrick To: "Oliver, Michael W." Cc: "'BinarySoul'" , Subject: RE: options IPDIVERT appears not to work... In-Reply-To: <1DA741CA6767A144BAA4F10012536C27A9AE@LKLDDC01.GARGANTUAN.COM> Message-ID: <20020113114131.W7267-100000@dsl-146-127.resnet.purdue.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > 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 > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8Qbj4zeurue0k47sRAkInAJ49Wvl9nzF/6vZikf/IMfuNy/HuGACgse+I jqInHaGqt7bcQWRPtbiuziY= =/W+8 -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message