Re: ipfilter and sun3

Rick Kelly <[email protected]>
Newsgroups gmane.os.netbsd.ports.sun3,gmane.os.netbsd.current
Message-ID <[email protected]>
Martin Husemann said:

>On Sat, May 10, 2003 at 08:46:47AM -0600, Rick Kelly wrote:
>
>> I added it to my config file:
>> 
>> pseudo-device   ipfilter                # ip filter
>> options         IPFILTER_LOG
>> 
>> I also added from MAKEDEV for a recent -current:
>> 
>> crw-------  1 root  wheel  37, 3 May  9 19:22 /dev/ipauth
>> crw-------  1 root  wheel  37, 0 May  9 19:22 /dev/ipl
>> crw-------  1 root  wheel  37, 1 May  9 19:22 /dev/ipnat
>> crw-------  1 root  wheel  37, 2 May  9 19:22 /dev/ipstate

>>From sys/arch/sun3/sun3/conf.c:

>You need to add
>
>  #include "ipfilter.h"
>
>and
>
>  cdev_ipf_init(NIPFILTER,ipl),

That worked perfectly. Maybe this should be in 1.6.2?

The other problem I've seen is with /etc/rc.d/sysdb.

molerat# ./sysdb start
Building databases...
kvm_mkdb: machdep.booted_kernel: the value is not available: No such file or directory

molerat# sysctl -n machdep.booted_kernel
machdep.booted_kernel: the value is not available

This, of course, works:

molerat# kvm_mkdb /netbsd

Looks like a shell problem with the sysdb script.

-- 
Rick Kelly  [email protected]  www.rmkhome.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.