[HECnet] Intermittent Connection with PyDECnet?

Mark J. Blair nf6x at nf6x.net
Mon Mar 9 09:47:47 PDT 2020


I made good progress yesterday on updating my home network setup. I changed my home router/NAT/DHCP/DNS box from FreeBSD to Debian 10.3 "Buster" for various reasons. It's routing and NATing and DHCPing and DNSing, and a simh VAX-11/785 running OpenVMS 7.3 on it can talk DECnet phase IV to another simh VAX-11/785 running on a BeagleBone Green (a small single-board computer) on my LAN. The emulation running on the router connects to a tap device, which is bridged to the physical ethernet interface for my LAN.

I've started trying to figure out how to run PyDECnet on the same router, connected to another bridged tap. I haven't figured it out yet. My config file looks like this:

    # DOGRTR config file for PyDECnet
    circuit tap-0 Ethernet tap:/dev/net/tap0
    routing 1.42 --type l1router
    node 1.42 DOGRTR
    node @nodenames.dat
    system --identification "DOGRTR PyDECnet Router"

and the output when I launch it is:

    2020-03-09 09:43:26.278: MainThread: Starting DECnet/Python DECnet/Python V1.0-487
    2020-03-09 09:43:27.098: DOGRTR: No hardware address for Ethernet TAP-0
    2020-03-09 09:43:27.099: DOGRTR: Event type 2.0, Local node state change
      From node 1.42 (DOGRTR), occurred 09-Mar-2020 09:43:27.099
        Reason = Operator command
        Old state = Off
        New state = On

Does that look right?

I've also tried the HTTP server, with this config:

    # DOGRTR config file for PyDECnet
    circuit tap-0 Ethernet tap:/dev/net/tap0
    node 1.42 DOGRTR
    node @nodenames.dat
    system --identification "DOGRTR PyDECnet Router"
    http --https-port 0

When I connect to the web server, I get this console output:

    2020-03-09 09:45:22.344: MainThread: Starting DECnet/Python DECnet/Python V1.0-487
    2020-03-09 09:45:38.533: Thread-1: Exception handling http GET of /
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/dist-packages/decnet-1.0-py3.7.egg/decnet/http.py", line 192, in do_GET
        nodeidx, tnode, parts = self.findnode ()
      File "/usr/local/lib/python3.7/dist-packages/decnet-1.0-py3.7.egg/decnet/http.py", line 174, in findnode
        return 0, nodelist[0], parts
    IndexError: list index out of range

and this error in my browser:

    Error response

    Error code: 500

    Message: Internal Server Error.

    Error code explanation: 500 - Exception during server processing.<p><pre>Traceback (most recent call last): File "/usr/local/lib/python3.7/dist-packages/decnet-1.0-py3.7.egg/decnet/http.py", line 192, in do_GET nodeidx, tnode, parts = self.findnode () File "/usr/local/lib/python3.7/dist-packages/decnet-1.0-py3.7.egg/decnet/http.py", line 174, in findnode return 0, nodelist[0], parts IndexError: list index out of range </pre>.

I'm off to work now, so I won't be able to experiment again until late tonight.

-- 
Mark J. Blair, NF6X <nf6x at nf6x.net>
http://www.nf6x.net/




More information about the Hecnet-list mailing list