Subject: Re: ipnat problems
To: Armen Babikyan <armenb@moof.ai.mit.edu>
From: Johan Carlsson <johanc@fusion.kth.se>
List: port-mac68k
Date: 10/09/1998 19:08:52
On Fri, 9 Oct 1998, Armen Babikyan wrote:

> At 3:49 PM +0200 10/9/98, Johan Carlsson wrote:
> >On Fri, 9 Oct 1998, Simon Raahauge DeSantis wrote:
> >
> >> On Fri, Oct 09, 1998 at 02:46:31PM +0200, Johan Carlsson wrote:
> >
> >[snip] (ipnat problems w/ NetBSD 1.3.2 GENERIC#0)
> >
> >> > installing packet filter rules ...
> >> > open device: No such file or directory
> >> > SIOCFRENB: Bad file descriptor
> >> > open device: No such file or directory
> >> > ioctl(SIOCIPFFL): Bad file descriptor
> >> > open device: No such file or directory
> >
> >[snip]
> >
> >> I bet you need a /dev/ipl
> >> To get that you pseudo-device ipfilter
> >> in your kernel config (unless the GENERIC kernels include that these
> >> days anyway). So try making an ipl device (./MAKEDEV ipl) and if it
> >> complains compile/get a kernel with an ipl device compilied in and
> >> then make it.
> >
> >Thanks Simon! cd /dev; ./MAKEDEV ipl; shutdown -r now did the trick!
> >
> >Armen, maybe this should be added to your excellent howto as Step Five and
> >a half?
> >
> >Johan
> 
> hmm, which architecture of NetBSD are you using?

mac68k.

> the reason i don't have that there is because i use NetBSD/mac68k, and the
> MacOS NetBSD installer utility automatically makes that device (/dev/ipl)

Aha! I usually build devices under NetBSD (w/ ./MAKEDEV all). Oops, the
MAKEDEV script looks just fine. I must have done ./MAKEDEV std or
something. Sorry for the confusion. Anyway, I'm happily ipnat'ing now,
thanks guys!

Johan