Today I installed Arch Linux on my laptop. Everything seems to work okay, except Internet access.
I have tons of tutorials, nothing works. When I type
ping google.com it returns
unknown host google.com.
Take a look at the Beginners Guide on How to establish a network connection in the arch wiki Arch Wiki Beginners Guide.
Arch uses systemd, while initscripts as rc.conf are deprecated and no longer used.
As already mentioned, rc.conf is deprecated. I think your issue is around incorrectly setting up eth0 as your network interface. You probably want to check out this thread in addition to the Beginners Guide mentioned.
Specifically check how your interface is mapped when you run 'ip link'. It may not be eth0!