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?
About this post
- Posted
- Archived
- Score
- 5 · 100% up
- Kind
- Text
- ID
- mdal4
6 comments
When I fired up arch for the first time in virtualBox I found that manually running dhcpcd as root did the trick.
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.
drop to a command line and run
or sudo dhcpcd
sometimes DHCPCD isn't started.
can't
sudoas 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
dhcpcdbut it didn't seem to do anything. I'll try again.Thanks.
are your virtual adapters installed?
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...