<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000099" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Jeremy Begg schreef op 13-11-2017 om
      13:38:<br>
    </div>
    <blockquote type="cite"
      cite="mid:28340D10-09A0-431E-823D-ED7B0A98C66B@vsm.com.au">
      <pre wrap="">Hi Wilm,

Thank you for the prompt reply.

</pre>
      <blockquote type="cite">
        <pre wrap="">On 13 Nov 2017, at 9:43 PM, Wilm Boerhout <a class="moz-txt-link-rfc2396E" href="mailto:wboerhout@gmail.com"><wboerhout@gmail.com></a> wrote:

Jeremy Begg schreef op 13-11-2017 om 11:03:
</pre>
        <blockquote type="cite">
          <pre wrap="">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.

</pre>
        </blockquote>
        <pre wrap="">[snip]

My TUN/TAP and bridge are set up in /etc/rc.local in Raspbian (jessie & stretch), as follows:
</pre>
      </blockquote>
      <pre wrap="">
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
</pre>
    </blockquote>
    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.<br>
    <br>
    Anyway, for stretch, the setup is the same, aprt from:<br>
    <br>
    <tt># get current IP params</tt><tt><br>
    </tt><tt>HOSTIP=`ifconfig $IFACE | grep "inet " | gawk -- '{ print
      $2 }'`</tt><tt><br>
    </tt><tt>HOSTNM=`ifconfig $IFACE | grep "inet " | gawk -- '{ print
      $4 }'`</tt><tt><br>
    </tt><tt>HOSTBC=`ifconfig $IFACE | grep "inet " | gawk -- '{ print
      $6 }'`</tt><tt><br>
    </tt><tt>HOSTGW=`route -n | grep ^0.0.0.0 | gawk -- '{ print $2 }'`</tt><br>
    <br>
    /Wilm<br>
  </body>
</html>