I have successfully installed Arch Linux on VirtualBox but the internet is not working in it. There was no issue with the internet connection during the installation but when I boot from the virtual hard drive (using syslinux bootloader) I'm unable to connect to the internet.
When I boot from the installation CD and mount the root partition and then use installed system from # arch-chroot
internet works well without doing anything at all and # ip link
shows two interfaces lo
and eth0
When I try to use # systemctl enable dhcpcd@enp3s0.service
command, it gives an error 'Operation failed: No such file or directory however # ip link
says there are two interfaces lo
and enp3s0
.
I want to know why there are two different names for the same ethernet port? and more important how do I solve this problem?
lo
is a loopback interface.