<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
14:16:<br>
</div>
<blockquote type="cite"
cite="mid:BE465058-E15E-42CF-9A1D-7A1D259E1F75@vsm.com.au">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hi Wilm,
<div class=""><br class="">
</div>
<div class="">Thanks for the clarification :-)</div>
<div class="">I had already worked out the changes to the commands
to get the IP setup, but it appears under “stretch” the set of
commands in your note are not quite right.</div>
<div class="">(I realise your example closely matches the SIMH
documentation.)</div>
<div class=""><br class="">
</div>
<div class="">HOWEVER, I am pleased to report success!</div>
<div class=""><br class="">
</div>
<div class="">I was reading the blog at <a
href="https://mansfield-devine.com/speculatrix/2016/03/networking-vax-openvms-on-simh-the-raspberry-pi/"
class="" moz-do-not-send="true">https://mansfield-devine.com/speculatrix/2016/03/networking-vax-openvms-on-simh-the-raspberry-pi/</a>
and he produces much the same configuration, with one very
important difference: in his system, the tap0 interface is
assigned an IP address (in addition to br0). As soon as I did
that, it started working!</div>
<div class=""><br class="">
</div>
<div class="">Perhaps this is specific to raspbian “stretch”? I
notice from several discussion forums that many people are not
happy with the networking changes made in this release.</div>
<div class=""><br class="">
</div>
<div class="">Anyway, thanks for your time.</div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class=""><br class="">
</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Jeremy
Begg</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 13 Nov 2017, at 11:13 PM, Wilm Boerhout
<<a href="mailto:wboerhout@gmail.com" class=""
moz-do-not-send="true">wboerhout@gmail.com</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" class="">
<div text="#000099" bgcolor="#FFFFFF" class="">
<div class="moz-cite-prefix">Jeremy Begg schreef op
13-11-2017 om 13:38:<br class="">
</div>
<blockquote type="cite"
cite="mid:28340D10-09A0-431E-823D-ED7B0A98C66B@vsm.com.au"
class="">
<pre class="" wrap="">Hi Wilm,
Thank you for the prompt reply.
</pre>
<blockquote type="cite" class="">
<pre class="" wrap="">On 13 Nov 2017, at 9:43 PM, Wilm Boerhout <a class="moz-txt-link-rfc2396E" href="mailto:wboerhout@gmail.com" moz-do-not-send="true"><wboerhout@gmail.com></a> wrote:
Jeremy Begg schreef op 13-11-2017 om 11:03:
</pre>
<blockquote type="cite" class="">
<pre class="" 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 class="" wrap="">[snip]
My TUN/TAP and bridge are set up in /etc/rc.local in Raspbian (jessie & stretch), as follows:
</pre>
</blockquote>
<pre class="" 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 class="">
<br class="">
Anyway, for stretch, the setup is the same, aprt from:<br
class="">
<br class="">
<tt class=""># get current IP params</tt><tt class=""><br
class="">
</tt><tt class="">HOSTIP=`ifconfig $IFACE | grep "inet "
| gawk -- '{ print $2 }'`</tt><tt class=""><br
class="">
</tt><tt class="">HOSTNM=`ifconfig $IFACE | grep "inet "
| gawk -- '{ print $4 }'`</tt><tt class=""><br
class="">
</tt><tt class="">HOSTBC=`ifconfig $IFACE | grep "inet "
| gawk -- '{ print $6 }'`</tt><tt class=""><br
class="">
</tt><tt class="">HOSTGW=`route -n | grep ^0.0.0.0 |
gawk -- '{ print $2 }'`</tt><br class="">
<br class="">
/Wilm<br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<p><font size="+1"><font face="Verdana">Attached (hopefully is my
entire /etc/rc.local for a strechth Pi. This works for me.</font></font></p>
<p><font size="+1"><font face="Verdana">Mind you, rc.lcal is not
executed until way after the eth0 interface hget an IP address
assigned. In my case, it's a static address. <br>
</font></font></p>
<p><font size="+1"><font face="Verdana">And IPV6 is disabled on all
my Pi nodes, I have no use for it in my LAN.</font></font></p>
<p><font size="+1"><font face="Verdana">The IP address on the TAP
interface is only assigned by the VMS stack, not on the
Raspbian host.</font></font></p>
<p><font size="+1"><font face="Verdana">I found the networking
changes in stretch minimal when compared to jessie. (apart
from the persistent interface naming that was quickly withdrawn).
This entire setup worked much the same on jessie, apart from
some minor changes in ifconfig output :-</font></font></p>
<p><font size="+1"><font face="Verdana"><br>
</font></font></p>
<p><font size="+1"><font face="Verdana">/Wilm<br>
</font></font></p>
</body>
</html>