[HECnet] Curious about DECnet/Python

David Moylan djm at wiz.net.au
Mon Oct 14 05:53:42 PDT 2019


So I’m keen to know – what changes did you make? 

 

I’m running a test box under Ubuntu 18 which is very similar to Debian Buster. When I use pydecnet with a line such as:

circuit tap-0 Ethernet tap:tap1022 --random-address

 

pydecnet complains that it can’t find the device. Apart from /dev/net/tun I can’t find any suitable reference for pydecnet to connect to.

 

Was this major code lifting? Or some small subtle changes?

 

Very interested to see what you’ve done.

 

Cheers, Wiz!!

 

 

From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Keith Halewood
Sent: Friday, 11 October 2019 9:20 PM
To: hecnet at Update.UU.SE
Subject: RE: [HECnet] Curious about DECnet/Python

 

Some late night replacements and I’ve converted the TAP handling to use the /dev/net/tun arrangement of the tap/tun facilities of raspbian (buster).

So if you have an arrangement such as this in /etc/network/interfaces:

 

auto lo tap1 tap2 br0

 

iface lo inet loopback

 

iface eth0 inet manual

 

iface tap1 inet manual

        pre-up ip tuntap add tap1 mode tap user simh

 

iface tap2 inet manual

        pre-up ip tuntap add tap2 mode tap user simh

 

iface br0 inet static

        bridge_ports eth0 tap1 tap2

        bridge_fd 0

        address ……

        netmask …….

        gateway …….

 

Then the pydecnet config line:

 

circuit tap-0 Ethernet tap:tap1 --random-address

 

will connect.

 

I’ll do some more testing.

 

Keith

 

 

 

From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Keith Halewood
Sent: 10 October 2019 18:24
To: hecnet at Update.UU.SE
Subject: RE: [HECnet] Curious about DECnet/Python

 

Hi Paul,

 

Thanks for making this available. It looks fantastic. I’ll have a go at setting up a node.

 

Regards,

 

Keith

 

From: owner-hecnet at Update.UU.SE [mailto:owner-hecnet at Update.UU.SE] On Behalf Of Paul Koning
Sent: 10 October 2019 17:25
To: hecnet at update.uu.se
Subject: Re: [HECnet] Curious about DECnet/Python

 

There are some, yes.  You can find the code and documentation -- admittedly somewhat brief -- on my Subversion server at svn://akdesign.dyndns.org/pydecnet/trunk/pydecnet .  

 

Very briefly, it's a DECnet implementation implemented entirely in Python 3, the full stack (including some applications).  Phase IV, but unlike others it will talk to Phase II nodes.  For that matter, it can be run as a Phase III or Phase II node if you like.

 

There currently isn't a formal kit; you can install it from the Subversion working directory, or run it directly in there if you like.  See doc/*.txt for details.

 

Feel free to email me with questions, and of course any bug reports.

 

            paul

 

	On Oct 10, 2019, at 11:59 AM, Keith Halewood <Keith.Halewood at pitbulluk.org> wrote:

	 

	Hi,

	 

	Ok, so I’ve noticed… and I’m curious about DECnet/Python. Are there any details?

	 

	Keith

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20191014/c9ca083c/attachment-0001.html>


More information about the Hecnet-list mailing list