No Internet connection for new installation

32,769

I found that eth0 was not the name of my interface. systemctl enable [email protected] solved the problem. Thank you very much.

Share:
32,769

Related videos on Youtube

Polite Master
Author by

Polite Master

Updated on September 18, 2022

Comments

  • Polite Master
    Polite Master almost 2 years

    I am using different distros via VirtualBox. I stumbled on Arch Linux as a natural platform to do that. However, I am having the following issue:

    On my non-root account, post-installation...

    Attempting to ping -c 3 www.google.com results in "ping:unknown host www.google.com".

    Attempting to ping -c 3 8.8.8.8 results in "Network is unreachable".

    Attempting to sudo pacman -S alsa-utils results in "error: failed retrieving file '' from : Could not resolve host: " for all files.

    I am running a Windows 7 64-bit host and VirtualBox 4.3.28. I have a motherboard with an Intel ethernet NIC (this is the only one connected to my router and the only host OS-enabled adapter), a third-party ethernet NIC, and a WiFi adapter. Network settings in VirtualBox are defaults. Internet works for the host, all other VMs, and for the Arch Linux (2015.07.01) live installation (ping and downloads worked pre-installation).

    Here are the exact actions and commands I executed during installation (ignoring my notes). Edit: Pastie redacted the important line (46) xD; it reads "systemctl enable [email protected]". These steps were taken from the Arch Linux Beginners' Guide and Lifehacker.

    Original thread

  • Polite Master
    Polite Master almost 9 years
    Thank you for your comment, @Merlean. I was able to solve the problem at the original thread. However, as a new Linux user, the commands you demonstrated will be useful in the future.