You are not logged in.

#1 2012-01-16 19:35:46

Annorax
Member
From: MA, USA
Registered: 2012-01-16
Posts: 51

Installing ArchLinux inside VirtualBox: Network Issues

Hi all,

I'm trying to install ArchLinux in VirtualBox. I've gone through the Beginner's Guide and successfully installed ArchLinux. However, I am not able to ping any websites, so I think that I did not properly configure the network. I am on a dynamic IP that I get automatically and I also go through a web proxy. My VirutalBox is using NAT, which works for other Linux VMs.

Here is what I did:

1.) Edited /etc/rc.conf as follows, for a dynamic IP.

HOSTNAME=arch
interface=eth0
address=
netmask=
broadcast=
gateway=

2.) /etc/hosts was already edited from the install

3.) I've exported "http_proxy" to my proxy server.

4.) Strangely, "hostname" says that the command is not found. Could this be part of the problem?

5.) Running a "ping -c 3 example.com" times out.

6.) Typing in "ip addr" I see eth0 listed there.

7.) Typing in "lspci | grep -i Ethernet " I see that my controller is "Intel Corporation 82540EM Gigabet Ethernet Controller (rev 02).

This is my first time installing Linux at this low of a level (I'm familiar with simpler distros like Kubuntu). Could someone please point me in the right direction?


Toshiba Satellite A105-S4064
Arch Linux with KDE

Offline

#2 2012-01-16 22:06:28

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: Installing ArchLinux inside VirtualBox: Network Issues

1) should be HOSTNAME="arch"

4) https://bbs.archlinux.org/viewtopic.php?id=125308

is network daemon running? (try: # rc.d restart network)

can you ping by ip? (e.g. $ ping 208.67.222.222)

soon as you gain networking see this: https://wiki.archlinux.org/index.php/Vi … nux_guests

Offline

#3 2012-01-17 13:29:25

Annorax
Member
From: MA, USA
Registered: 2012-01-16
Posts: 51

Re: Installing ArchLinux inside VirtualBox: Network Issues

Thanks for the reply. I've fixed #1 but I'm still having issues.

I've restarted the network daemon via that command and exported my proxy (export http_proxy=http://ip:port/). but none have any affect.

When I ping google.com, I see the IP resolved (74.125.227.19) but the ping fails. I am, however, able to ping my proxy server successfully. I think my issues may be around the proxy server setup. I know the proxy works for other programs, maybe something in Arch specific to the proxy I need to set?


Toshiba Satellite A105-S4064
Arch Linux with KDE

Offline

#4 2012-01-17 14:19:33

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: Installing ArchLinux inside VirtualBox: Network Issues

Don't know much about proxy setup, sorry. Can you describe how exactly your setup looks like? What is the host OS and how you connect to the internet?

look at this:
https://bbs.archlinux.org/viewtopic.php?id=67601
https://wiki.archlinux.org/index.php/Proxy_settings

Offline

#5 2012-01-17 15:15:28

Annorax
Member
From: MA, USA
Registered: 2012-01-16
Posts: 51

Re: Installing ArchLinux inside VirtualBox: Network Issues

Strangely, when I set my ftp_proxy and point pacman to use an FTP server, I am able to update and install packages, but "ping" still isn't working. Let's see if using Firefox or Konqueror works...


Toshiba Satellite A105-S4064
Arch Linux with KDE

Offline

Board footer

Powered by FluxBB