*BSD News Article 34295


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!gatech!newsxfer.itd.umich.edu!gumby!andrews-cc!gillham
From: gillham@andrews.edu (Andrew Gillham)
Newsgroups: comp.os.386bsd.misc
Subject: [NETBSD1.0B] Can't get CAP 6.0 pl192 working...
Date: 14 Aug 1994 07:02:01 GMT
Organization: Andrews University
Lines: 22
Message-ID: <32kfh9$5ee@orion.cc.andrews.edu>
NNTP-Posting-Host: edmund.cs.andrews.edu


(don't ask why I would want to run CAP... :-) )

I've gotten it compiled with a few simple changes.
(__386BSD__ to __NetBSD__, etc..)
The problem I'm having is with the BPF stuff.  In bpfiltp.c
it makes a 'ioctl(eph->fd, SIOCGIFADDR, ....' call that seems to
be failing.  The error is 'Ioctl: SIOCGIFADDR: Invalid argument.'
The fd seems to be ok (3), and the ifr shows 'ep0' for ifr_name, but
I'm not sure what the correct values are supposed to be.
Oh, and yes I have BPF in the kernel... tcpdump works fine. :-)
Anyway, if you have any ideas, or have gotten it working on
NetBSD 1.0_beta, e-mail!

Thanks!

-Andrew
-- 
#!/bin/sh - ==============================================
echo "Andrew Gillham                 gillham@andrews.edu"
echo "Winix Hacker"
#=========================================================