I have an old laptop with Arch Linux installed on it, which I just started up for the first time in a few years. I have NetworkManager installed on it, which can seemingly connect fine to wired and wireless internet. In both cases, while I can browse the internet fine, ping
does not get a response:
$ ping www.google.com
PING www.google.com (172.217.12.228) 56 (84) bytes of data.
So the IP address is successfully resolved, but I never get a response. I don't believe there's anything funny with the firewall going on here, as I have several other devices connected to the same internet that can ping just fine.
In case it is relevant to diagnosing the problem, the reason I'm concerned about this is that I am unable to update my packages due to some issue with updating pacman keys:
$ sudo pacman -S archlinux-keyring
resolving dependencies...
looking for conflicting packages...
Packages (1) archlinux-keyring-20211028-1.0
Total Installed Size: 1.36 MiB
Net Upgrade Size: 0.13 MiB
:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring [############################################################] 100%
downloading required keys...
:: Import PGP key 2C146C01A952AC0F, "Erich Eckner <arch32 at eckner dot net>"? [Y/n] y
error: key "2C146C01A952AC0F" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.
$ sudo pacman-key --refresh-keys
gpg: refreshing 116 keys from hkp://pool.sks-keyservers.net
gpg: keyserver refresh failed: No name
==> ERROR: A specified local key could not be updated from a keyserver.
My guess is that this is related to the ping issue, but it could be unrelated.
curl
a website? – FelixJN Jan 21 '22 at 18:09curl
andget
both appear to work. – Henry Shackleton Jan 21 '22 at 18:45traceroute -n 1.1.1.1
might help find out if they are being dropped, and where. – Eduardo Trápani Jan 21 '22 at 20:32tracepath -n 1.1.1.1
shows me that it gets to the gateway (192.168.0.1), but then gets no reply past that. – Henry Shackleton Jan 21 '22 at 20:54