[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NPF on raspberry pi 2
* Yves Bovard (ybovard%gmail.com@localhost) wrote:
> It isn't a stupid question! The device doesn't exist. How can I create it,
> or who creates it? I first thought that "npfctl reload" or "npfctl start"
> will create this device but both complain that /dev/npf doesn't exist
> Le dim. 20 déc. 2015 01:24, Andy Ruhl <acruhl%gmail.com@localhost> a écrit :
> > On Dec 19, 2015 4:38 PM, "Yves Bovard" <ybovard%gmail.com@localhost> wrote:
> > >
> > > Hello everybody!
> > >
> > > I try to use NPF with NetBSD 7 on a raspberry pi 2. I am facing the
> > following error:
> > >
> > > myserver# npfctl validate
> > > npfctl: cannot open '/dev/npf': Device not configured
> > Possibly a stupid question (from me), but does the npf device exist?
> > Andy
I don't know RPI, but this works with 7.0 on my amd64.
Add these 2 lines in /etc/rc.conf
Create /etc/ifconfig.npflog0 containing only this line.
# modload npf
# cd /dev
# sh MAKEDEV npf
# modload npf_ext_log
# modload npf_ext_normalize
# ifconfig npflog0 create
# npfctl reload
# npfctl start
For permanent configuration, add these lines in /boot.cfg.
Last of all, disable PF.
As NPF and PF are mutual exclusive.
"UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity."
-- Dennis M. Ritchie
Main Index |
Thread Index |