Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2002 11:42:30 -0500 (EST)
From:      Eric Dedrick <dedrick@dsl-146-127.resnet.purdue.edu>
To:        "Oliver, Michael W." <oliver.michael@gargantuan.com>
Cc:        "'BinarySoul'" <binary@b1n.org>, <freebsd-questions@freebsd.org>
Subject:   RE: options IPDIVERT appears not to work...
Message-ID:  <20020113114131.W7267-100000@dsl-146-127.resnet.purdue.edu>
In-Reply-To: <1DA741CA6767A144BAA4F10012536C27A9AE@LKLDDC01.GARGANTUAN.COM>

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




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