[HECnet] Curious about DECnet/Python
Keith Halewood
Keith.Halewood at pitbulluk.org
Mon Oct 14 12:37:12 PDT 2019
Hi Paul.
I added a change to make TAP work under Linux involving ‘cloning’ /dev/net/tun’ and setting an interface name in TAP mode.
Keith
On 14 Oct 2019, at 20:28, Paul Koning <paulkoning at comcast.net> wrote:
Remember that TUN and TAP are two different facilities. I have TAP support (which admittedly hasn't been tried in a while), but never did TUN support.
Keith mentioned (offline) a short change to add it; I'll look into adding TUN as a separate option.
Meanwhile, if you want to talk to an actual Ethernet interface, you might try the "pcap" option. I've used that recently with good results.
paul
On Oct 14, 2019, at 8:53 AM, David Moylan <djm at wiz.net.au<mailto:djm at wiz.net.au>> wrote:
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!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sonic.net/pipermail/hecnet-list/attachments/20191014/5b463176/attachment.html>
More information about the Hecnet-list
mailing list