Hi Keith,
You have to be careful with NetworkManager and defining device information in
/etc/network/interfaces - NetworkManager will back off but you also lose the startup
synchronization provided by systemd. I recently added a note to README.DECnet about this.
The basic idea is to define the MAC address of the bridge as part of the setup (this would
be the AA:00:04:00:xx:yy DECnet address) using:
bridge_hw=aa:00:04:00:xx:yy
and then you can disable DECnetMAC with systemctl if you don’t want to see an error
message during startup.
John.
On Oct 31, 2023, at 11:39 AM, Keith Halewood
<Keith.Halewood(a)pitbulluk.org> wrote:
Hi,
Thanks for doing all of this work. I have it running on an existing raspberry pi 4 32bit
OS having done a dist and kernel upgrade to 6.1.10...
I just need to change the service order startup so that it correctly uses a tap device
and changes its mac address, rather than that of the bridge.
And then I got rather a shock with something called NetworkManager that appeared when I
installed a new 64 bit version of Raspberry Pi OS.
Nmcli etc...! Perhaps I'm just getting old but why do people make this all so complex
with layer upon layer upon layer of utter garbage. That way lies Windows.
It's there for all to see! A huge mistake. And they wonder why the devious find so
many illicit routes into a host!
Anyway, rant over. I can disable NetworkManager with systemctl but it's also nice
enough to back off and not interfere with any interfaces referenced in
/etc/network/interfaces which is where I put all my bridge and tap stuff.
Keith
-----Original Message-----
From: John Forecast [mailto:john@forecast.name]
Sent: 25 October 2023 03:50
To: The Hobbyist DECnet mailing list <hecnet(a)lists.dfupdate.se>
Subject: [HECnet] Announcing new release of Linux DECnet
Sometime around mid-2022 the Linux kernel developers decided to remove the DECnet code
from the Linux kernel. Kernel 6.0.x was the last release which included source code for a
DECnet implementation. More recently, there has been some discussion around removing the
code from the Long Term Support kernels.
These changes mean that the repository I have been maintaining at
<https://github.com/JohnForecast/RaspbianDECnet> can no longer be installed on
recent releases.
Over the past year or so, I have been working on a replacement for this repository with
the following
characteristics:
- Designed to be built as an external kernel module
This simplifies and speeds up the installation since we no longer need to rebuild the
entire
kernel.
- Can only be built as an ethernet endnode
Again this substantially simplifies the kernel code. The routing code was alway marked
as
“experimental” and I never tried to get it running. If you need a DECnet router,
pyDECnet or
Route20 are much better solutions.
- Minimize the use of Linux kernel frameworks
Many of the problems with keeping RaspbianDECnet running between Linux versions
were changes to the kernel framework APIs. By limiting the use of these APIs I am
hoping
that the kernel module will need fewer changes to keep up with kernel changes. So far,
I have had to make one additional conditional code change at kernel 6.5 and that was
in
the socket layer so all networking code would need to be changed.
In addition to a new kernel module there have been a number of changes to the userland
code:
- What used to be “fal2” is now the default file access listener. The old “fal” is still
available in the
“fal-old” directory
- What used to be “nml2” is now the default and only network management listener.
- There is now a subset implementation of “ncp” which is sufficient to support all of
the requests
available from the Linux network management listener. It does implement a “tell”
prefix so all
of these commands may be issued to remote systems. In addition, it implements
“ncp copy known nodes from <node name/address>” to update the local node name
database.
- The new kernel module now supports node counters as defined in the Network Management
Specification and the ncp/nml combination are able to display and zero them.
- The installation procedure is no longer targeted solely at Raspberry Pi releases. The
current
procedure supports installation on systems derived from Debian or Fedora although only
a
limited number of distributions have been tested (see README.DECnet).
This new release is available at:
<https://github.com/JohnForecast/LinuxDECnet>
and should be considered to be in Beta test at this time. See README.DECnet in the top
level directory for more information and installation instructions.
_______________________________________________
HECnet mailing list -- hecnet(a)lists.dfupdate.se To unsubscribe send an email to
hecnet-leave(a)lists.dfupdate.se
_______________________________________________
HECnet mailing list -- hecnet(a)lists.dfupdate.se
To unsubscribe send an email to hecnet-leave(a)lists.dfupdate.se