Network-Manager is a daemon that listens to interfaces statuses and selects a configuration based on wireless SSIDs or user interaction. It is not a graphical program by itself, but interacts with graphical user interfaces for control, as well as featuring a tiny commandline interface and controls over dbus, so it is quite flexible. By default, network-manager does a lot on its own, like trying DHCP as soon as you plug in a cable into the network card.
Actually, network-manager should respect manual settings in /etc/network/interfaces, also in textmode. In fact, Knoppix contains a script that changes network-managers configuration entirely via /etc/network/interfaces for use in textmode:
"knoppix-networkmanager".
However, after changing /etc/network/interfaces manually, you need to restart network-manager in order for changes to take effect:
sudo /etc/init.d/network-manager restart
Do NOT use ifup/ifdown if network-manager is running. Network-manager will ignore the lock status of ifup/ifdown, while ifup/ifdown will ignore all settings done with network-managers own control programs.
Using static IP addresses in network-manager works fine as long as there is a physical connection, but unfortunately, network-manager does not seem to keep the set IP address when there is no carrier signal on the network cable.
If you want to use the command-line, you have the option of excluding an interface from being handled by network-manager:
sudo nmcli dev disconnect iface eth0
which makes network-manager stop listening on eth0 at all, so you can work with ifup/ifdown again if you are more used to these.
Or just suspend network-manager:
sudo /etc/init.d/network-manager stop
(which is an alternative to using the "nonetworkmanager" cheatcode in Knoppix).
Because of its user-friendly desktop integration in Gnome and KDE (and LXDE, too), most distros are using network-manager by default nowadays. For commandline experts who are used to configure everything manually via ifconfig and route, it's a little uneasy that a daemon is handling all the network stuff and will override manual settings (except in the aforementioned cases), I agree with that. So I would recommend just booting Knoppix with the "nonetworkmanager" option, or use the tricks above to revert to the non-automatic configuration behaviour.
Regards
-Klaus
Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2
$295.00
Apple 2019 Mac Pro 28-Core Xeon W-3275M 96GB RAM 1TB SSD Radeon Pro 580X 8GB
$2999.97
Dell 14" TOUCHSCREN Laptop 8th Gen Core i5 16GB RAM 512GB SSD/256 Bluetooth W11
$199.00
Apple MacBook Air (2020) 13.3-inch, 1.1GHz, i5, 8GB RAM, 512GB SSD, Space Gray
$419.00
Intel Core i7-6700 - 3.40GHz Quad Core CPU Processor
$57.99
AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+
$50.00
AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...
$304.95
Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory...
$749.99
Dell 5500 15.6" Touch Light Gaming Laptop Intel Core i5 4.10GHz 64GB RAM 2TB SSD
$467.00
Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11
$446.00