[Tfug] simh on Linux -- where's bpf?
Gordon Zaft
gordonzaft at yahoo.com
Thu Nov 17 14:23:43 MST 2005
Okay, I'm stupid.
Further perusal of the docs says:
1. For all platforms, you must run SIMH(scp) with
sufficient privilege to
allow the ethernet card can be set into
promiscuous mode and to write
packets through the driver. For most
Unix/Unix-like platforms this will
mean running as root. For systems which use bpf
devices (NetBSD,
OpenBSD, FreeBSD and OS/X) it is possible to set
permissions on the bpf
devices to allow read and write access to users
other than root (For
example: chmod 666 /dev/bpf*). Doing this, has
its own security issues.
Additional alternative methods for avoiding the
'run as root' requirement
will be welcomed.
So... I tried it as root. I get a message that it
opens eth0. Then a segmentation fault... *sigh*
Thanks all for your patience.
--- Nick Lopez <i.am at the.glowingmonkey.org> wrote:
> On Wed, Nov 16, 2005 at 09:16:13PM -0800, Gordon
> Zaft wrote:
> > Gang,
> > I'm trying to get simh to run on Linux (FC4). I
> got
> > the source and compiled it (had to
> > download/compile/instal updated libpcap), but
> can't
> > bring up networking because I have no /dev/bpf0 or
> > /dev/bpf1. What's the deal? I can run just fine
> on
> > NetBSD and OpenBSD!
> The Berkeley Packet Filter devices are a Berkeley
> Software Distribution
> kind of thing, Linux doesn't use them, but libpcap
> should know that unless
> you tried to force it to use bpf.
>
> - Nick Lopez
> spamtrap at glowingmonkey.org
>
> -- Randomly selected signature --
> "Only wimps use tape backup: _real_ men just upload
> their important stuff
> on ftp, and let the rest of the world mirror it ;)"
> (Linus Torvalds, about his failing hard drive on
> linux.cs.helsinki.fi)
> _______________________________________________
> tfug mailing list
> tfug at tfug.org
> http://www.tfug.org/mailman/listinfo/tfug
>
------
Gordon Zaft
zaft at zaft.org
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
More information about the tfug
mailing list