<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jun 25, 2019, at 4:58 PM, Robert Armstrong <<a href="mailto:bob@jfcl.com" class="">bob@jfcl.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">> John Forecast <<a href="mailto:john@forecast.name" style="color: purple; text-decoration: underline;" class="">john@forecast.name</a>> wrote:<o:p class=""></o:p></span></div><div class=""><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="color: rgb(31, 73, 125);" class="">></span>   I have DECnet running on a Raspberry Pi which appears to be using kernel 4.14.52+.<span class="Apple-converted-space"> </span><span style="color: rgb(31, 73, 125);" class=""><o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">  Are you using Raspbian?    I probably should have added that I’m using Ubuntu xenial 16.04 and 4.4.0 is the latest official kernel for that.  I’ve heard that you can upgrade to later kernels, but I haven’t tried it yet.  Other people have reported problems getting DECnet working un Ubuntu 18.04 so I figured it wasn’t worth it.<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">  What changes did you have to make to get DECnet working?  On 16.04 it does require a few hacks…<o:p class=""></o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""><o:p class=""> </o:p></span></div><div style="margin: 0in 0in 0.0001pt; font-size: 12pt; font-family: "Times New Roman", serif;" class=""><span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Thanks,<br class="">Bob</span></div></div></div></div></blockquote></div><br class=""><div class="">My reply with an attached .zip file did not seems to make it so I’ve made it available through dropbox:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><<a href="https://www.dropbox.com/s/apmy08ydd9jjo6e/decnet-6_25_2019.zip?dl=0" class="">https://www.dropbox.com/s/apmy08ydd9jjo6e/decnet-6_25_2019.zip?dl=0</a>></div><div class=""><br class=""></div><div class="">This is a snapshot of my decnet directory and dnprogs from about a year ago when I got this working. The base kernel was cloned by:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>git clone —depth=1 -branch rpi-4.14.y <a href="https://github.com/raspberrypi/linux" class="">https://github.com/raspberrypi/linux</a></div><div class=""><br class=""></div><div class="">Extract all the files from the above zip file and:</div><div class=""><br class=""></div><div class="">1. Copy files from the zip file include directory to <kernel>/include/net</div><div class=""><br class=""></div><div class="">2. Replace the <kernel>/net/decnet directory with the zip file decnet directory</div><div class=""><br class=""></div><div class="">3. Config to add decnet support and rebuild kernel+modules</div><div class=""><br class=""></div><div class="">I have no idea if this will work with newer kernels.</div><div class=""><br class=""></div><div class="">I made a few changes to the original source code I received:</div><div class=""><br class=""></div><div class="">Kernel code:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Added special handling for the 0 area:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">             </span>Connect to 0.0 connects to the local node</div><div class=""><span class="Apple-tab-span" style="white-space:pre">         </span>Connect to 0.n connects to node “n” in the local node’s area</div><div class=""><br class=""></div><div class="">Utility programs:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">       </span>Fixed a number of bugs in cterm and DAP especially related to talking to Tops-10.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">  </span>Allow the DAP utilities (dncopy, dntype etc) to use DECnet-Ultrix syntax for specifying access control infomation:</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">         </span>node/username/password/account::</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre">   </span>which avoids the double quoting required to use the VMS syntax on Linux. To enable this feature, create an environment variable called</div><div class=""><span class="Apple-tab-span" style="white-space:pre">    </span>USE_ULTRIX_SYNTAX</div><div class=""><br class=""></div><div class="">Given that Raspberry Pi just released their version of Debian Buster which uses kernel 4.19.x I’ll probably take a look at getting running there and create a github repository for the changes. I need to finish my current project so it will probably be a couple of weeks or so.</div><div class=""><br class=""></div><div class="">  John.</div><div class=""><br class=""></div></body></html>