View previous topic :: View next topic |
Author |
Message |
daicoden n00b

Joined: 20 Apr 2007 Posts: 8
|
Posted: Thu Sep 25, 2008 5:43 pm Post subject: Virtualbox with gentoo as a guest, eth0 does not exist |
|
|
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 |
|
 |
massimo Veteran


Joined: 22 Jun 2003 Posts: 1226
|
Posted: Thu Sep 25, 2008 8:21 pm Post subject: |
|
|
What gives you ifconfig -a within this VM? _________________ Hello 911? How are you? |
|
Back to top |
|
 |
daicoden n00b

Joined: 20 Apr 2007 Posts: 8
|
Posted: Thu Sep 25, 2008 8:34 pm Post subject: |
|
|
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 |
|
 |
alex.blackbit Advocate

Joined: 26 Jul 2005 Posts: 2397
|
Posted: Thu Sep 25, 2008 9:02 pm Post subject: |
|
|
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 |
|
 |
gentoo_ram Guru

Joined: 25 Oct 2007 Posts: 520 Location: San Diego, California USA
|
Posted: Fri Sep 26, 2008 6:08 am Post subject: |
|
|
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 |
|
 |
daicoden n00b

Joined: 20 Apr 2007 Posts: 8
|
Posted: Fri Sep 26, 2008 12:10 pm Post subject: |
|
|
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 |
|
 |
Exil Apprentice


Joined: 10 Oct 2005 Posts: 251 Location: Nibylandia
|
Posted: Fri Sep 26, 2008 1:03 pm Post subject: |
|
|
copy whole boot/ and /lib/modules/* from livecd. then it will work |
|
Back to top |
|
 |
Littlenux n00b


Joined: 07 Mar 2011 Posts: 27
|
Posted: Mon Mar 07, 2011 11:15 am Post subject: |
|
|
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 |
|
 |
|