Robert Armstrong said on Tuesday, 10 March 2020 4:17 AM
FWIW, the "tap:" option in pyDECnet never worked for me. I use pcap
to
access tap devices -
circuit TAP-0 Ethernet pcap:tap0 --single-address --cost=2
works for me with Ubuntu 18.04...
When I first went to play with pyDECnet under Ubuntu 18, I also
discovered issues with the tap adapter. Fundamentally the issue comes
down to newer kernels (such as in Ubuntu 18) that use a /dev/net/tun
interface to communicate instead of /dev/tapx
I heard on the list that Keith Halewood had modified Paul's code to work
with the newer interface standard, so I reached out to him and he
provided me with the changes. It's only a few lines of code that need
modification.
I believe Keith has provided Paul with the changes. I'd love to see them
become mainstream in pyDECnet, as at the moment if I pull down a new
build, I have to make the modifications by hand again.
With the code changes, tap works a dream for me.
circuit tap-1022 Ethernet tap:tap1022 --random-address
cheers, Wiz!!