thanks for all the help, I got it working last night.  I had to go to the
/usr/src directory and compile from there.  I thought it was taking way to
little time to compile the kernel;)

jake

-----Original Message-----
From: Adam Bozanich [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 15, 2003 10:04 PM
To: Devore, Jacob; [EMAIL PROTECTED]
Subject: RE: Can't load ipfilter



--- "Devore, Jacob" <[EMAIL PROTECTED]> wrote:
> it's still getting errors from kldload that
> pfil_add_hooks is undefined.  Am
> I editing the right config file?  I'm going to /sys/i386/conf/GENERIC 
> and editing that file and the going to /sys and running
> make depend && make clean && make && make install

I just did this on 5-1. 

Make a copy of that GENERIC configuration and make
your own:

cd /sys/i386/conf
cp GENERIC MYCONFIG

change the 'ident GENERIC' to 'ident MYCONFIG'

then add these lines:
options PFIL_ADD_HOOKS
options IPFILTER
options IPFILTER_LOG

this will compile the drivers into the kernel... no
modules.

cd ../compile/MYCONFIG
make depend && make && make && make install

you were probably in the wrong directory

if something goes wrong, "escape to loader prompt" and
issue 'boot kernel.old'

-Adam

Reply via email to