i just read this article
is it used for something else than “captive portal”?(if i understood correctly;it means i will not see login pages when connecting to wifi networks so i may not be able to login to them at all?)
i don’t move my laptop around and don’t use wi-fi,so can i safely disable it?
will i encounter any issues?
does it affect the time server settings as well the official repositories list?(saw someone mention it).
it seems that for my case it’s just a privacy concern:
form the Arch wiki: “Although automatic connectivity checks are a potential privacy leak, Arch Linux’s default connectivity URL is committed to not logging any access”
if it’s ok to disable it,what would be the right way to do it?
sudo systemctl restart NetworkManager
I am on Unstable branch and mine is set to ping manjaro.org. A good compromise is to set the interval higher eg:
or delete the file, or comment it out.
I did the following a while ago and it seeems to work.
sudo nano /etc/NetworkManager/conf.d/20-connectivity.conf
This is correct. See NetworkManager - ArchWiki
i’ll try one of the mentioned suggestions.
i saw that,but above there’s a comment:
" The factual accuracy of this article or section is disputed.
Reason: According to NetworkManager.conf(5) § CONNECTIVITY SECTION, the option is
.set.enabled=false. (Discuss in Talk:NetworkManager#)"
or did you try
.set.enabled=false and it worked fine?
enabled=false worked for me. I included the uri.
iftop to confirm.
Similar question here.
Yes - it is perfectly safe. The only caveat is that network manager cannot deduct whether you have an internet connection or not.
There is several methods to accomplish this
- change the righthand part to a trusted domain
- remove the righthand part of uri
- set interval to 0
I went with number 1
➜ ~ cat /etc/NetworkManager/conf.d/20-connectivity.conf
sudo nano /usr/lib/NetworkManager/conf.d/20-connectivity.conf
but as I have never been bothered by a ping to manjaro or arch… I leave it as it is by default, that is to say without commenting the lines.
While this will work - it will be overwritten the next time network manager is updated - and you will think badly of the packager.
Never edit system files directly but copy the file to /etc/NetworkManager/conf.d and make the change there.