Arch Linux on Virtualbox Internet Connection Issue on VirtualBox

Installing Archlinux as a Guest on Virtualbox

March 15, 2013 11:54 pm

Essentially, you can follow this guide, but there are several additional steps to take. https://wiki.archlinux.org/index.php/Installation_guide#Installation

To fix the network:

/usr/sbin/dhcpcd enp0s3 to check that you can load the dhcp client.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/multi-user.target.wants/[email protected]'
change the references to eth0 in /etc/ifplugd/ifplugd.conf
create a profile for enp0s3 in /etc/network.d/interfaces by copying the example (this seems to be overwritten by the netcfg-auto-wired).
start and enable the auto service with systemctl

Remember that you can’t get packages from the net without the network :(

Relevant Links

Beginner’s Guide: https://wiki.archlinux.org/index.php/Beginners%27_guide#Installation
Fixing the network: https://bbs.archlinux.org/viewtopic.php?pid=1243601


I just ran into the same problem. Solution turned out simple: systemctl start dhcpcd.service

Everything (ping, pacman, etc.) started working after that.

BTW: # systemctl enable [email protected] has a typo. Should be enp0s3. Explains your No such file or directory error ;)