I've just installed Arch. My computer is connected to my router/modem via Ethernet cable.
I just logged in and tried using
pacman to install a package but got a bunch of "could not resolve host" errors.
When I run
ping google.com it sometimes works but other times gives this error:
Temporary failure in name resolution.