Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtualbox with gentoo as a guest, eth0 does not exist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
daicoden
n00b
n00b


Joined: 20 Apr 2007
Posts: 8

PostPosted: Thu Sep 25, 2008 5:43 pm    Post subject: Virtualbox with gentoo as a guest, eth0 does not exist Reply with quote

Hi,

I am trying to install Gentoo from the live CD. When it boots up I am able to access the internet fine. However when I install and restart I get an error eth0 does not exist. I am wondering if I am doing something wrong at the network setup page. All of the posts talk about making a bridge, but that is only if Gentoo is the host.

I am using the GUI installer. I select DHCP and have tried leaving the gateway blank and with the ip 10.0.2.2 which is Virtualbox's weird IP choice. http://ubuntuforums.org/showthread.php?t=546234

I would try more drastic measures like compiling the kernel which allot of posts suggest, but I'd like to do something simpler if I can because the live CD internet interface does work.

Any thoughts?

Thanks!
_________________
Daicoden
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Thu Sep 25, 2008 8:21 pm    Post subject: Reply with quote

What gives you ifconfig -a within this VM?
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
daicoden
n00b
n00b


Joined: 20 Apr 2007
Posts: 8

PostPosted: Thu Sep 25, 2008 8:34 pm    Post subject: Reply with quote

ifconfig -a returns only the local adapter...

lo link encap :Local loopback
inet addr: 127.0.0.1 .......


There is no eth0 entry
_________________
Daicoden
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Thu Sep 25, 2008 9:02 pm    Post subject: Reply with quote

since you do not have eth0 your kernel is lacking the support for the NIC that virtualbox is providing.
what kernel are you using?
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 474
Location: San Diego, California USA

PostPosted: Fri Sep 26, 2008 6:08 am    Post subject: Reply with quote

One of the options for the VB network adapter type in the virtual machine is "Intel PRO/1000 MT Desktop (82540EM)". Select that one, it will be supported by the 'e1000' driver. The older AMDnet ones may not be supported anymore.
Back to top
View user's profile Send private message
daicoden
n00b
n00b


Joined: 20 Apr 2007
Posts: 8

PostPosted: Fri Sep 26, 2008 12:10 pm    Post subject: Reply with quote

Ahhh, thanks guys. I didn't think to switch because it was working fine in livecd.

I was using whatever kernel came with the i686 2008.
_________________
Daicoden
Back to top
View user's profile Send private message
Exil
Apprentice
Apprentice


Joined: 10 Oct 2005
Posts: 251
Location: Nibylandia

PostPosted: Fri Sep 26, 2008 1:03 pm    Post subject: Reply with quote

copy whole boot/ and /lib/modules/* from livecd. then it will work
Back to top
View user's profile Send private message
Littlenux
n00b
n00b


Joined: 07 Mar 2011
Posts: 27

PostPosted: Mon Mar 07, 2011 11:15 am    Post subject: Reply with quote

gentoo_ram wrote:
One of the options for the VB network adapter type in the virtual machine is "Intel PRO/1000 MT Desktop (82540EM)". Select that one, it will be supported by the 'e1000' driver. The older AMDnet ones may not be supported anymore.

Was the opposite in my case. So switching to AMD from Intel in VirtualBox preferences for the lan card done the trick.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum