Jeremy Begg schreef op 13-11-2017 om 13:38:
Oops, my bad. I did not realize that this Pi is the one remaining that still runs jessie. I hate to convert because it doubles as my OpenVPN server.Hi Wilm,Thank you for the prompt reply.On 13 Nov 2017, at 9:43 PM, Wilm Boerhout <[email protected]> wrote: Jeremy Begg schreef op 13-11-2017 om 11:03:Hi, I am trying to get SIMH up and running on the ethernet interface of a Raspberry Pi 3. I have followed the intructions in 0readme_ethernet.txt, installing the libpcap-dev, bridge-utils and uml-utilities packages before building SIMH itself. I just ran 'make vax' and let it go, and the build to completion.[snip] My TUN/TAP and bridge are set up in /etc/rc.local in Raspbian (jessie & stretch), as follows:Are you sure this applies to the machine running the “stretch” release? The ‘ifconfig’ command on that system (well, on mine, anyway!) doesn’t display “inet addr” anywhere in its output, it just has “inet”. So the various grep commands in your example don’t work. Thanks Jeremy Begg
Anyway, for stretch, the setup is the same, aprt from:
# get current IP params
HOSTIP=`ifconfig $IFACE | grep "inet " | gawk -- '{ print $2 }'`
HOSTNM=`ifconfig $IFACE | grep "inet " | gawk -- '{ print $4 }'`
HOSTBC=`ifconfig $IFACE | grep "inet " | gawk -- '{ print $6 }'`
HOSTGW=`route -n | grep ^0.0.0.0 | gawk -- '{ print $2 }'`
/Wilm
_______________________________________________ Simh mailing list [email protected] http://mailman.trailing-edge.com/mailman/listinfo/simh
