No Network in Fedora Guest

Discussions about using Linux guests in VirtualBox.
Post Reply
Idiosyncra3y
Posts: 1
Joined: 26. Jun 2011, 15:56
Primary OS: MS Windows 7
VBox Version: OSE Fedora
Guest OSses: Fedora

No Network in Fedora Guest

Post by Idiosyncra3y »

VB 4.0.8 (newest)
Fedora 15 guest
Windows 7 host

When booting Fedora, get a message saying that it cannot use Gnome3 - Guest Additions need to be installed. When trying to do that I get an error because I cannot connect to the internet. I have tried everything that I can think of, but am a complete linux noob so may be a simple fix -

Windows firewall letting VBox through
tried with NAT and Bridged adapter

For most people this seems to work out of the box, but did not here. Not sure what my settings should be in guest, host and VBox

Any help would be greatly appreciated.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: No Network in Fedora Guest

Post by Sasquatch »

Default VM settings should just work. If they don't, then you can install the packages that are required for the Guest Additions from the installation disc. Mount it and tell the package manager to use the CDROM as package source. After that you can install the Guest Additions. Do note that Gnome3 doesn't work well in VB and depends on the 3D capabilities of the Host as well.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
WhippyLizard
Posts: 4
Joined: 29. Jun 2011, 14:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux, Server 2008

Re: No Network in Fedora Guest

Post by WhippyLizard »

Fedora is an interesting animal and a bit harder for "noobs" right off the rip.

In the top RIGHT corner of fedora, there is a "double computer" icon. This icon is actually the network status icon. By default Fedora (15 anyway) does not auto connect on startup. If you click this icon and click the option below "available" it should indeed connect to the internet for you. Mine is called "System P2P1". If you want Fedora to be nice and always connect to this on boot make sure you are connected go to "Applications -> Other -> Network Connections", Click the name of the connection, Click edit and then check the connect automatically box.

What I did to get the additions installed correctly was:

Applications -> System Tools -> Terminal
Then Type:

Code: Select all

su root (Type roots password and then hit enter)
yum --enablerepo=fedora clean metadata
yum --enablerepo=updates clean metadata
yum update (Let it update everything) Answer yes to questions
yum install dkms(Let it update) Answer yes to questions
yum install gcc(Let it update) Answer yes to questions
shutdown -r now (This will shutdown the system and restart it)
After logging back in
On the menu of VirtualBox (Not in the VM) use Devices -> Install Guest Additions, this will mount the guest additions

Open the terminal again and do

Code: Select all

su root (Type password hit enter)
cd /media
ls (Will list the files on the install disc)
cd <Type the name exactly as it appears case is mandatory>
./VboxLinuxAdditions.run
Then after it is done

shutdown -r now
Post Reply