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
Intel Core i7-4790K SR219 4.00GHZ 4Th Gen Used Desktop Processor CPU FCLGA1150
$64.99
Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...
$619.99
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
Intel - Core i5-14600K 14th Gen 14-Core 20-Thread - 4.0GHz (5.3GHz Turbo) Soc...
$339.99
AMD Ryzen 9 3900X Processor (4.6GHz, 12 Cores, Socket AM4) Box -...
$100.00
Intel Core i7 CPU Processors, I7 2600, i7 3770, i7 4770, i7 4790
$28.99
Intel Core i7-8700 3.20 GHz CPU Processor SR3QS
$92.00
AMD Ryzen 5 5600X Desktop Processor (4.6GHz, 6 Cores, Socket AM4) Box -...
$100.00
13th Gen Intel 14-Core i5-13500T Turbo Boost up to 4.6 GHz Processor 8K Support
$169.00
Intel Core i7-7820X SR3L5 @3.60GHz 8-Core Socket LGA2066 CPU
$65.40