How can I permanently disable the appropriate systemd unit pinging
duh ping . manjaro . org
With every manjaro- system global its getting configured again… not that I got a problem with that, it’s just
a firewall keeps ■■■■■■■■ about it in our “enterprise” lan
Would it suffice to attr +i it with a empty systemd unit file to shut it up?
Thanks in advance,
April 7, 2023, 5:33pm
Reading the link
@Tomek gave above, you could try to create the below file with content as shown
You could even keep it enabled but change the uri used, using same logic in filename and content as shown in the link above…
I remember there is also a
systemd-networkd specific service for connection checking similar to that of NetworkManager, but i forgot at moment, it should be listed on the internet somewhere…
April 7, 2023, 8:45pm
Sounds like maybe you were just editing the system file, which then gets replaced on update.
So follow the steps above to create your own file that wont be overwritten.
April 8, 2023, 11:02am
but if by consequences you mean not breaking your system then yes. You will lack some functionality - but you will not break anything provided you do it the right way.
From my notepad
NetworkManager is a system service controlling your network connection and it checks if an internet connection exist - this defaults to 300s.
Copy the existing configuration to /etc
sudo cp /usr/lib/NetworkManager/conf.d/20-connectivity.conf /etc/NetworkManager/conf.d
there are instructions there on how to disable it.
April 8, 2023, 12:49pm
An empty file would be sufficient to disable NetworkManager’s check.
sudo touch /etc/NetworkManager/conf.d/20-connectivity.conf