🍖
...what we need to is:
sudo nano /etc/NetworkManager/conf.d/20-connectivity.conf
Add the following to the file:
[connectivity]
.set.enabled=false
Then save by pressing CTRL+O, then Enter, and exit by pressing CTRL+X. Restart NetworkManager using
sudo systemctl restart NetworkManager
and that should be it.
---------------------------------------------------
The good news is that the driver is in the kernel, the bad news is that it very aggressively checks for connections. There are alternative drivers for Arch and Ubuntu (like this one on GitHub), but why change it when the default drivers is good enough.
That same link has an important tidbit that we could use. How to disable the periodic scanning.
We are going to disable the Connectivity Check option in NetworkManager. This by editing the file in /var/lib/NetworkManager/NetworkManager-intern.conf and adding the following instructions at the end:However, that's a system file and you will lose the configuration next time NetworkManager updates or restarts.
[connectivity]
.set.enabled=false
Instead, what we need to is:
sudo nano /etc/NetworkManager/conf.d/20-connectivity.conf
Add the following to the file:
[connectivity]
.set.enabled=false
Then save by pressing CTRL+O, then Enter, and exit by pressing CTRL+X. Restart NetworkManager using
sudo systemctl restart NetworkManager
and that should be it.
https://linuxconfig.org/how-to-prevent-networkmanager-connectivity-checking
forum.manjaro.org/t/can-i-safely-disable-networkmanager-connectivity-check/67253/10
No hay comentarios.:
Publicar un comentario