You are not logged in.

#1 2009-06-04 09:59:35

longtom
Member
Registered: 2009-06-04
Posts: 22

[Solved] Lan Network in VirtualBox

Hi

and thank you for this forum.  I started using Ubuntu couple of weeks ago, looked into some other ditros and dabbled arround here and there - so - I am as green and wet behind the ears as you will get them.

I installed archlinux in VirtualBox und Ubuntu 8.04.  I used the beginners guide as good as I could and understood it.  I am part of a Lan Network.  Unfortunately I can not ping anybody on the network.

Somehow I probably made a mistake with the original configuration.  Where should I start looking in finding the mistake.

I have other distros installed with VB and have Network support throughout.

Regards

longtom

Last edited by longtom (2009-06-04 13:29:34)


Regards

longtom

Offline

#2 2009-06-04 10:18:03

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Lan Network in VirtualBox

look in /etc/rc.conf, networking section.
a proper configuration is:

eth0="dhcp"
INTERFACES=(eth0)

hope that fixes your problem


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2009-06-04 10:33:14

longtom
Member
Registered: 2009-06-04
Posts: 22

Re: [Solved] Lan Network in VirtualBox

That was easy - thank you very much!:)

I think that would be a valuable addition to the beginners guide. imho.


Regards

longtom

Offline

#4 2009-06-04 10:49:12

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Lan Network in VirtualBox

longtom wrote:

That was easy - thank you very much!:)

I think that would be a valuable addition to the beginners guide. imho.

it is: http://wiki.archlinux.org/index.php/Beg … NG_Section


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2009-06-04 11:05:03

longtom
Member
Registered: 2009-06-04
Posts: 22

Re: [Solved] Lan Network in VirtualBox

It is....:rolleyes: - and I read right passed it.  Boyoboy, there will be some stupid questions coming up in this forum if I am going on reading like this....

Thanks for your patience...:)


Regards

longtom

Offline

#6 2009-06-04 12:01:51

longtom
Member
Registered: 2009-06-04
Posts: 22

Re: [Solved] Lan Network in VirtualBox

Too early....in the startup sequence it all looks fine - but once I am logged in, no connection.  Weird....it worked the first time?

Any suggestions?


Regards

longtom

Offline

#7 2009-06-04 12:20:24

longtom
Member
Registered: 2009-06-04
Posts: 22

Re: [Solved] Lan Network in VirtualBox

Maybe this helps:

I changed the eth0 as if I had an specific ip address.  Restarted - and obviously didn't work.  Changed it back and it works at first login - not after the second one and never theirafter....


Regards

longtom

Offline

#8 2009-06-04 12:33:54

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: [Solved] Lan Network in VirtualBox

By login, do you mean reboot or actual user login at the console? The network should work independant of any user logging in or out..

Can you post the eth0, INTERFACES, gateway, ROUTES, and DAEMONS sections of your /etc/rc.conf file?


Here are some basic things you can try that can help narrow down where the problem is.

Run "ifconfig eth0". Do you have an ip address listed beside "inet addr:"?

Run "route". Is there an IP address listed under "Gateway"? If so, ping it to see if you can reach the gateway.

Run "ping -c 3 66.211.213.17". This is the IP address for archlinux.org. Do you get a response?

Run "ping -c 3 archlinux.org". Do you get a response?

Run "cat /etc/resolv.conf". Is there a nameserver listed here?

Offline

#9 2009-06-04 13:29:14

longtom
Member
Registered: 2009-06-04
Posts: 22

Re: [Solved] Lan Network in VirtualBox

Now it appears to be working again....*scratch....:|

I'll shout if not anymore.


Regards

longtom

Offline

#10 2009-06-04 14:14:07

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

Re: [Solved] Lan Network in VirtualBox

If you have relevant daemons backgrounded, like '@network', it may take some time for them to work properly.
After you log in wait for about half a minute, then try 'ping -c 3 archlinux.org'.

Offline

Board footer

Powered by FluxBB