View previous topic :: View next topic |
Author |
Message |
upengan78 l33t
Joined: 27 Jun 2007 Posts: 711 Location: IL
|
Posted: Fri Mar 14, 2008 7:04 pm Post subject: how to do networking in KVM /qemu virtual windows OS |
|
|
Hi
I am able to run windows in gentoo after installing it through kvm and booting but I do not find network obviously. Can some one help in this matter ?
Thanks |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Fri Mar 14, 2008 7:16 pm Post subject: |
|
|
By default, KVM gives your guest OS (windows, in this case) an ne2k-pci card to work with. Find the driver for windows, and go from there.
Otherwise, play with commandline options, etc.
The best idea is to try out a linux livecd to make sure that it gets networking - it should, and run an lspci there.
poly-p man _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
upengan78 l33t
Joined: 27 Jun 2007 Posts: 711 Location: IL
|
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Tue Mar 18, 2008 10:57 pm Post subject: |
|
|
That's only if you want to use the actual address and such.
By default, there should be a network interface in there, albeit at a weird address.
At least, that's how it is for me. You may have to modprobe tun... not sure.
When in doubt, download dsl (just the iso - no need to burn) and run kvm -m 256 -cdrom dsl.iso -boot d
See if the network works.
poly-p man _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
|