My laptop is not connected to the internet. I have another laptop connected to the same Wi-Fi and if I can ping google.com
I can't think of what the problem is, I already tried restarting my network adapter
My laptop is not connected to the internet. I have another laptop connected to the same Wi-Fi and if I can ping google.com
On the afflicted machine, what is the terminal output of
sudo lshw -C network
?
Are you dual booting WIndows?
I ask because in this post:
Windows can also hold onto the network card preventing it from initializing during GNuLinux Init.
So a user must boot into Windows, release the network, fully shutdown - then bott into GnuLinux.
If you can ping an IP address (8.8.8.8 and 8.8.4.4 in your case), but you cannot ping a domain name (google in your case), that's usually indicative of a failure in DNS resolution.
That failure can be either internal to your machine, or it may be that the DNS server(s) you're using have either gone down or are under (D)DoS attack.
First check that your firewall is allowing DNS communication via port 53. The easiest way of doing that is to simply disable your firewall temporarily, see if you can ping a domain name, then re-enable the firewall.
Then check that your internal DNS resolver is running. In most cases, that's going to be Bind.
If it is running, try restarting it.
Then change to different DNS server(s) you're using to see if that's the problem.
No dual boot, only Zorin
I don't have any firewall enabled
I try systemctl restart systemd-resolved
This is the output for systemctl status systemd-resolved
● systemd-resolved.service - Network Name Resolution
Loaded: loaded (/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2023-10-08 22:40:42 CDT; 4s ago
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Main PID: 374895 (systemd-resolve)
Status: "Processing requests..."
Tasks: 1 (limit: 18860)
Memory: 4.4M
CGroup: /system.slice/systemd-resolved.service
└─374895 /lib/systemd/systemd-resolved
oct 08 22:40:42 ariel-dell systemd[1]: Starting Network Name Resolution...
oct 08 22:40:42 ariel-dell systemd-resolved[374895]: Positive Trust Anchors:
oct 08 22:40:42 ariel-dell systemd-resolved[374895]: . IN DS 20326 8 2 e06d44b80b8f1d39a95c0b0d7c65d08458e880409bbc683457104237c7f8ec8d
oct 08 22:40:42 ariel-dell systemd-resolved[374895]: Negative trust anchors: 10.in-addr.arpa 16.172.in-addr.arpa 17.172.in-addr.arpa 1>
oct 08 22:40:42 ariel-dell systemd-resolved[374895]: Using system hostname 'ariel-dell'.
oct 08 22:40:42 ariel-dell systemd[1]: Started Network Name Resolution.
Also systemd-resolved --status
Global
LLMNR setting: no
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
DNSSEC NTA: 10.in-addr.arpa
16.172.in-addr.arpa
168.192.in-addr.arpa
17.172.in-addr.arpa
18.172.in-addr.arpa
19.172.in-addr.arpa
20.172.in-addr.arpa
21.172.in-addr.arpa
22.172.in-addr.arpa
23.172.in-addr.arpa
24.172.in-addr.arpa
25.172.in-addr.arpa
26.172.in-addr.arpa
27.172.in-addr.arpa
28.172.in-addr.arpa
29.172.in-addr.arpa
30.172.in-addr.arpa
31.172.in-addr.arpa
corp
d.f.ip6.arpa
home
internal
intranet
lan
local
private
test
Link 5 (docker0)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Link 4 (ipv6leakintrf0)
Current Scopes: DNS
DefaultRoute setting: yes
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Current DNS Server: ::1
DNS Servers: ::1
DNS Domain: ~.
Link 3 (wlp2s0)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
Link 2 (enp0s31f6)
Current Scopes: none
DefaultRoute setting: no
LLMNR setting: yes
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: no
DNSSEC supported: no
I just find the solution in this post, that send me to this other one, seems that the problem was with Proton VPN, I don't mentioned before because I already had deleted a Proton connection using nm-connection-editor
. Thanks a lot for the help