it is in /usr/lib/NetworkManager/conf.d
- perhaps ping.manjaro.org did not answer.
In any case ping.manjaro.org is misconfigured - it redirects to https which signals a captive portal.
I will inform the team.
You can override by copying the orginal to /etc where you looked.
I have my own service for Network Manager to deduce whether it is online (http://ping.nix.dk).
ikiki
4
when i pinged googles ip (8.8.8.8) it did respond
and, do i just have to copy the original conf.d file to the one i mentioned above ?
Hi @ikiki,
But the default file for the check is as @linux-aarhus said, in /usr/lib/NetworkManager/conf.d/20-connectivity.conf
:
$ cat /usr/lib/NetworkManager/conf.d/20-connectivity.conf
[connectivity]
uri=http://ping.manjaro.org/check_network_status.txt
So it could simply be that the http://ping.manjaro.org/check_network_status.txt
URL is not responding. It happens.
Same.
Edit:
Indeed, it seems. It timed out here:
https://i.imgur.com/kpM69Ij.png
ikiki
6
but it’s just not that since not just the ping.manjaro.org isn’t responding but my internet isn’t working either
But you can ping an IP?
ping 1.1.1.1
And can you ping a domain name?
ping manjaro.org
If not, please provide the output of:
cat /etc/resolv.conf
…and:
nslookup ping.manjaro.org
Please.
then you have other issues - connectivity check is only a check - it changes the icon - but not the connection - please see …
ikiki
10
it says temporary failure in name resolution
ikiki
11
says, no such file or directory
it is scaring the shit out of me now
It’s a DNS issue.
Did you change any DNS settings recently?
ikiki
13
yes i did
but then i had changed it back to default right after that
how can i change it back to default ?just to be sure
Please provide the output of:
sudo systemctl status NetworkManager.service
Edit:
Without knowing what you changed, there’s no way to know…
ikiki
15
NetworkManager.service - Network Manager
Loaded: loaded (/usr/lib/systemd/system/NetworkManager.service; enabled; preset: disabled)
Active: active (running) since Tue 2024-02-20 19:19:23 IST; 12min ago
Docs: man:NetworkManager(8)
Main PID: 395 (NetworkManager)
Tasks: 4 (limit: 9363)
Memory: 28.1M (peak: 30.1M)
CPU: 309ms
CGroup: /system.slice/NetworkManager.service
└─395 /usr/bin/NetworkManager --no-daemon
Feb 20 19:19:29 manjaro NetworkManager[395]: [1708436969.2690] policy: set ‘vivo T2 5G’ (>
Feb 20 19:19:33 manjaro NetworkManager[395]: [1708436973.2879] agent-manager: agent[a7507>
Feb 20 19:19:33 manjaro NetworkManager[395]: [1708436973.4826] device (3C:19:5E:21:71:B2)>
Feb 20 19:22:29 manjaro NetworkManager[395]: [1708437149.6913] manager: (3C:19:5E:21:71:B>
Feb 20 19:22:29 manjaro NetworkManager[395]: [1708437149.6917] device (3C:19:5E:21:71:B2)>
Feb 20 19:22:29 manjaro NetworkManager[395]: [1708437149.6937] device (3C:19:5E:21:71:B2)>
Try the following:
pamac reinstall openresolv --overwrite='/etc/*'
Note:
- The
--overwrite
argument can be dangerous, so don’t use it nilly-willy.
Afterwards, provide the output of:
cat /etc/resolv.conf
…again, please.
ikiki
18
i guess since internet isnt working so i cant even download anything…
ikiki
19
i am gonna search for some solution on how to use the internet through my mobile with cable
OK, I hoped the package was available in the cache, but it seems not. No matter, we’ll create the file manually:. Run the following:
echo "nameserver 1.1.1.1" | sudo tee /etc/resolv.conf
And then try the installation again:
pamac reinstall openresolv --overwrite='/etc/*'
1 Like
ikiki
22
it says no such file or directory
what should i do now ?