Is there a command in Fedora itself to know what software is currently either handling or managing the Network of the OS? It mostly for a server environment
For the current moment for purposes to set a static ip for a server environment: it is NetworkManager
But assuming it if is unknown or for some reason it is changed due any of the following reasons:
The next release changed the tool (new technology)
It was changed manually to other technology for any reason (if it is possible)
Furthermore consider the scenario if the server is an old release and thus it could be working with an old release of the network software manager. Therefore the current technology either could not exist or was not applied yet
If very very old the network will be setup by the SysV network init script.
Otherwise NetworkManager has been used for a long time.
If the system has systemd then systemd-networks is a optional possibility.
Note an old enough system will not have the systemctl command.
Because each distribution has its own evolution (and even perhaps according with a direct dependency with other distribution) I created this post. Of course here is specific for Fedora.
I’d say that’s what release notes are for, but I don’t even read those when updating
openSUSE Tumbleweed had different defaults depending on Server (Wicked) or Desktop (NetworkManager); in this case I noticed when trying to configure something network-related and the settings looked different which caused me to look more into stuff.
Iirc Ubuntu also had a significant network change I think around 20, but I caught that before-install from a news article that mentioned it
I wouldn’t trust a script to detect this properly across various OS versions and distros. If I was on an unknown system, I’d start with that OS’s version release notes to see what they default to.