You are not logged in.
Hi, I'm trying to set up a physical firewall by plugging into its management port. The problem is that when I set a static IP for the wired connection, networkmanager will disconnect from it because it does not have access to the internet. I need the wired connection to stay alive, so I can configure the firewall. How do I disable networkmanager's connectivity check?
Offline
You can create a config file in /etc/NetworkManager/conf.d/
[connectivity]
interval=0
#or
enabled=false
Should be all you need according to the man page.
Some DE/configurators also have a toggle for that under privacy settings (cinnamon and probably gnome).
Edit: Typo and alternative
Last edited by Swiggles (2023-05-08 19:50:20)
Offline