You are not logged in.

#1 2011-12-22 03:55:17

zeref
Member
Registered: 2011-12-22
Posts: 3

No Internet connection, Arch is guest

Hi Guys.
I busy trying out archlinux in a virtualbox. The setup went OK, but i don't have and internet connection.
I"m using a wireless connection.

I had a look at : https://wiki.archlinux.org/index.php/Beginners%27_Guide for the basic installation but i cant find anything on networking.
In virtualbox settings, network is set to: attached to NAT.

When i try to pacman -Syu, all i get is failed retrieving file xxx, No address record?
Any Help?

Offline

#2 2011-12-22 04:13:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: No Internet connection, Arch is guest

Well, it could be a lot of things.

First off, when you set up the virtual machine, what kind of network did you set up? Local Only, Bridged, or NAT?
From within the Arch guest, what does ip link say?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-12-22 10:33:41

zeref
Member
Registered: 2011-12-22
Posts: 3

Re: No Internet connection, Arch is guest

Hi ewaller

The Virtual Machine Network is set to NAT.
When i type ip link i get:
http://imgur.com/b7i81

Offline

#4 2011-12-22 12:55:08

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: No Internet connection, Arch is guest

zeref wrote:

Hi ewaller

The Virtual Machine Network is set to NAT.
When i type ip link i get:
http://imgur.com/b7i81

Type:

dhcpcd eth0

#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#5 2011-12-22 14:24:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,791

Re: No Internet connection, Arch is guest

lifeafter2am wrote:

Type:

dhcpcd eth0

That should be the magic right there.  Note that you must do that with root permissions.   If that works, you will probably want to set your network to start automatically at boot.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2011-12-22 16:10:30

zeref
Member
Registered: 2011-12-22
Posts: 3

Re: No Internet connection, Arch is guest

Magic big_smile
Thanks a lot guys.

Offline

#7 2011-12-22 19:25:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: No Internet connection, Arch is guest

Please remember to mark the thread as solved.

Offline

Board footer

Powered by FluxBB