Hi,
I've installed fedora 15 as my guest OS. I've configured bridged networking and I've set my router to assign an IP to it.
However,when it boots up,I have 2 devices which is "lo" and "p2p1" and none has the ip assigned to it.I'm unable to access the Internet.
How can I configure it to do so?I've tried following this tutorial: http://blog.zloether.com/2009/07/set-st ... srhel.html
but the file "ifcfg-ethX" doesn't exist...only ifcfg-lo...
I've installed fedora 15 spin edition which doesn't have a GUI for me to edit network settings...
Pls help..
how to set IP in fedora 15 as guest OS?
-
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: how to set IP in fedora 15 as guest OS?
Have you tried it with yast? I forgot if Fedora has it, as we have Suse and OEL at work that do. First thing you have to do is check if you actually have an interface on it, so run ifconfig -a, which should show you interfaces that aren't configured. If it doesn't show there, then you can use lspci to see if it sees a network adapter, then use lshw -C network to see if the interface has a module loaded and what it's name is. You might have to pick a different interface type (PCnet or one of the Intel ones) in the VM settings.
Reading the distro documentation is also a good idea
.
Reading the distro documentation is also a good idea
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.
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.
-
remy06
- Posts: 9
- Joined: 31. Aug 2009, 16:51
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: how to set IP in fedora 15 as guest OS?
I tried changing the adapters..was initially using the "intel xx desktop" and I've tried switching to the others and refreshed the mac address as well but it doesn't work..
-
remy06
- Posts: 9
- Joined: 31. Aug 2009, 16:51
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: how to set IP in fedora 15 as guest OS?
just some updates...
1) ifconfig -a
gives me 2 interfaces - lo and p16p1
I'm trying out the Intel PRO/1000 MT Server network adapter..
2) lspci
im not very sure but it seems like it doesn't show a network adapter except for a Ethernet controller.Other than that i have stuffs like host bridge,isa bridge,system peripheral..etc
3) lshw -C
command not found here
I tried running the above as root..Im running fedora 15 security spin by the way...
just to mention one thing..whenever i start up virtualbox for the first time to run fedora..initially im able to obtain the ip...however once after i reboot fedora again it doesn't work and i will get the problem again...
any solutions?
1) ifconfig -a
gives me 2 interfaces - lo and p16p1
I'm trying out the Intel PRO/1000 MT Server network adapter..
2) lspci
im not very sure but it seems like it doesn't show a network adapter except for a Ethernet controller.Other than that i have stuffs like host bridge,isa bridge,system peripheral..etc
3) lshw -C
command not found here
I tried running the above as root..Im running fedora 15 security spin by the way...
just to mention one thing..whenever i start up virtualbox for the first time to run fedora..initially im able to obtain the ip...however once after i reboot fedora again it doesn't work and i will get the problem again...
any solutions?
-
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: how to set IP in fedora 15 as guest OS?
The Ethernet Controller is the network adapter, so if you see one, it's good. It means that you have at least configured one
. It's odd that you have an interface called p16p1, instead of the usual eth0.
Have you searched the Fedora forums about this particular issue? With the info there is now, I'm at a loss.
Have you searched the Fedora forums about this particular issue? With the info there is now, I'm at a loss.
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.
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.
-
remy06
- Posts: 9
- Joined: 31. Aug 2009, 16:51
- Primary OS: MS Windows XP
- VBox Version: OSE other
- Guest OSses: Ubuntu
Re: how to set IP in fedora 15 as guest OS?
I've a post at fedora forum...but so far no solution yet i guess..
- ifcfg-x doesn't exist..only ifcfg-lo.(see screenshot)
- system-config-network doesnt gives me a any option to select...under device configuration its blank...
- lspci -nnk shows theres an Ethernet controller...(see screenshot)
Just to mention also...Fedora 15 onwards doesn't use the naming convention eth0 but instead p2p1
http://fedoraproject.org/wiki/Features/ ... viceNaming
- ifcfg-x doesn't exist..only ifcfg-lo.(see screenshot)
- system-config-network doesnt gives me a any option to select...under device configuration its blank...
- lspci -nnk shows theres an Ethernet controller...(see screenshot)
Just to mention also...Fedora 15 onwards doesn't use the naming convention eth0 but instead p2p1
http://fedoraproject.org/wiki/Features/ ... viceNaming
- Attachments
-
- lspci.jpg (93.68 KiB) Viewed 3536 times
-
- networkscripts.jpg (37.02 KiB) Viewed 3536 times
-
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: how to set IP in fedora 15 as guest OS?
Run the following as root:
That should request a DHCP address on all available interfaces. If you get an error that you must specify an interface, then use the p2p1 thing (or whatever name is assigned to it). If that gives you internet access, then make a config file ifcfg-p2p1 for it in the network-scripts folder, so it's configured at boot.
Code: Select all
dhclientRead 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.
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.