How to get networking on VirtualBox for ArchLinux

You just installed ArchLinux on Virtualbox, and ping 8.8.8.8 doesn’t work.  Here is the fix:

It worked when you booted up the system from the install medium.  Then you installed, and rebooted, and, no network.   😦

dmesg | grep bps

shows on the left, the name of the module for networking,  and the name of the ‘eth0’ type thing.  You were expecting eth0?  Nope.  here , have a look:

dmesg | grep eth0

yup, it was renamed.

#  here is the fix for virtualbox networking!!!!! (do after rebooting)

systemctl start  dhcpcd.service
ping google.com  # success, yay!

Now if that worked, you are done.  If not, try this:

# this will always work upon rebooting:
/usr/sbin/dhcpd enp0s3

This worked?  Share the luv, and leave a comment!  Thanks for reading 🙂

Advertisements

About SunKing2

Former web developer, guitar player, started Piano 2012 -yes still doing it! Recovery, sobriety, mental health advocate.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s