[Simh] Broken ethernet code?
Mark Pizzolato
mark at infocomm.com
Mon May 9 20:49:22 EDT 2005
You likely need to be running with the Latest "current" version of
libpcap which is available from www.tcpdump.org. See details in
0readme_ethernet.txt in the simh distribution.
- Mark Pizzolato
--- Galen Tackett <gtackett at yahoo.com> wrote:
> Somewhere along the way I've become unable to use the simulated XQ
> device on my OS X 10.3.9 based simh Vax.
>
> I had it all working some time earlier this year when I was
> probably
> running OS X 10.3.5. By the time I reached 10.3.7 or .8 it had
> stopped
> working, but I don't know exactly when or how.
>
> I'm using the startup item that comes with newer versions of
> libpcap to
> change the bpf device protections to allow admin group access.
> I'm also running as superuser, so that shouldn't really matter.
>
> Here's what happens now:
>
> $ ifconfig
> ...
> en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
> inet6 fe80::203:93ff:fe49:38e prefixlen 64 scopeid 0x4
> inet 192.168.0.155 netmask 0xffffff00 broadcast
> 192.168.0.255
> ether 00:03:93:49:03:8e
> media: autoselect (100baseTX <full-duplex>) status: active
> supported media: none autoselect 10baseT/UTP <half-duplex>
>
> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback>
> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX
> <full-duplex,hw-loopback> 1000baseTX <full-duplex> 1000baseTX
> <full-duplex,hw-loopback> 1000baseTX <full-duplex,flow-control>
> 1000baseTX <full-duplex,flow-control,hw-loopback>
> en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu
> 1500
> inet6 fe80::20d:88ff:fe37:4843 prefixlen 64 scopeid 0x5
> ether 00:0d:88:37:48:43
> media: autoselect (100baseTX <full-duplex>) status: active
> supported media: autoselect 10baseT/UTP <half-duplex>
> 10baseT/UTP <full-duplex> 100baseTX <half-duplex>
> ...
>
> # Here I started simh but only the xq-related commands are shown...
>
> do> set debug stderr
> Debug output to "STDERR"
> do> set xq type=delqa
> do> set xq debug=eth
> do> set xq mac=00-0d-88-37-48-43
> do> at xq0 en1
> pcap library version string: <libpcap version
> current-cvs.tcpdump.org.2005.05.07>
> Eth: opened en1
> DBG> XQ ETH: Filter Set
> DBG> XQ ETH: Addr[0]: 00:0D:88:37:48:43
> DBG> XQ ETH: Filter Set
> DBG> XQ ETH: Addr[0]: 00:0D:88:37:48:43
> DBG> XQ ETH: BPF string is: |(ether dst 00:0D:88:37:48:43)|
> DBG> XQ ETH: writing dst: 00:0D:88:37:48:43 src:
> 00:0D:88:37:48:43
> proto: 0x9000 len: 60 crc: 3BCF22B5
> Eth: Error Transmitting packet: No such file or directory
> You may need to run as root, or install a libpcap version
> which is at least 0.9 from www.tcpdump.org
> DBG> XQ ETH: BPF string is: |(ether dst 00:0D:88:37:48:43)|
>
> The line that starts "pcap library version string" comes from a
> couple
> of lines of code I added to pcap to make it display its version.
>
> You can see that I'm running a version of pcap that was downloaded
> and
> built today (May 7 2005).
>
> Any ideas what might be going wrong?
>
> Thanks,
>
> Galen
>
> _______________________________________________
> Simh mailing list
> Simh at trailing-edge.com
> http://mailman.trailing-edge.com/mailman/listinfo/simh
>
More information about the Simh
mailing list