I have a love/hate relationship with the Linux NetworkManager daemon. It usually works and keeps your laptop PC network connections going smoothly when you move around, but it gets in the way when one does network tests and system integration using a laptop PC. Each time you plug a cable in, or turn an embedded system off/on, NetworkManager restarts the connection and you can then lose your static IP address setting, which gets tiring really quickly in a lab setup. Usually, I completely disable NetworkManager and assign a static IP address to my machine on a laboratory bench with a script in /usr/local/bin called static : #! /bin/bash echo Configure network for PDLU access # Disable the Network Manager systemctl disable NetworkManager.service systemctl stop NetworkManager.service # Set static IP address ifconfig em1 192.168.111.1 netmask 255.255.255.0 up # Set multi casting route route add -net 224.0.0.0 netmask 240.0.0.0 dev em1 # Open up the firewall iptables -F # Show setu
Autonomous planes, trains and cranes...