Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed ArchLinux (everything by default) in VMware. I want to connetct to the internet so I can install xorg and other packages. Here is what I tryed:

ip addr add dev eth0
ip route add default via
dhcpcd eth0

After this, I try to ping google:

ping -c 3 www.google.com

and all packages are lost. Anyone can tell me what i've done wrong? Thanks.

share|improve this question

1 Answer 1

up vote 0 down vote accepted
  • set the VM Network Adapter to NAT
  • dhcpcd eth0 (pops an error: /usr/lib/dhcpcd/dhcpcd-hooks/30-hostname: line 9: hostname: command not found dhcpcd[666]: forked to background, child pid 687)

now pinging goole works just fine

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.