Skip to content

Network problems with trying out Arch on VirtualBox

First timer here. Want to play around with Arch and maybe use it for quick dev work on my Windows machine.

I can't seem to get a connection (LAN). Can't find anything on the wiki (maybe I don't know just what to look for).

I'm not at home right now so I can't give the details yet, but do I need to change some settings on VirtualBox to make it work? Because during booting, "Network" is marked as [DONE] (? the not [BUSY] one), so maybe Arch got to set it up right during install?

5 points6 comments
Open on Reddit
About this post
Posted
Archived
Score
5 · 100% up
Kind
Text
ID
mdal4

Author

39
posts
161
comments
10
media
View profile

6 comments

When I fired up arch for the first time in virtualBox I found that manually running dhcpcd as root did the trick.

3 points

What I do is just not touch anything, when doing a fresh install, leave ALL the settings in virtual box the default, and then just select source off the install CD as usual, select net, and it will automatically configure the network.

2 points

drop to a command line and run

   dhcpcd

or sudo dhcpcd

sometimes DHCPCD isn't started.

1 points

can't sudo as it didn't seem to install (I might have not selected it, but it's weird it wouldn't install it by default?), and I can't install it since I seem to need an internet connection to download it. Heh.

But I am still using root (didn't create users yet) and I did try dhcpcd but it didn't seem to do anything. I'll try again.

Thanks.

1 points
unknown author

are your virtual adapters installed?

1 points
unknown author

check your rc.conf. in the network section, you should have something like this uncommented for DHCP:

interface=eth0 address= netmask= broadcast= gateway=

does it seem like it's taking a while before the network daemon finishes up (as in, takes a bit longer than the others to show as DONE)? it might be that you're not set up for dhcp. check the adapter settings in virtual box.

also, type 'ip addr' at the prompt; that will tell you what interfaces are up and if they have an IP address. it's a start...

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.