Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am running qemu version 0.13 on windows XP. My Host OS is Windows XP and my guest OS is Debian 4(Etch). How do I connect to internet from Debian OS? My windows OS can connect to Internet. The following is the launching command which I am using now to launch qemu in windows XP. Please help me on this issue.

qemu\qemu.exe -L "qemu" -boot c  -hda  "debian4.img" -m 512  -localtime -ctrl-grab -usb -net nic,model=ne2k_pci,macaddr=52:54:00:12:34:56 -net user -redir udp:161::161 -redir tcp:4440::22
share|improve this question
    
not a programming question, should be on serverfault –  Raoul Jun 14 '11 at 14:04
    
You need to set up an internal bridge. At least on Linux that's how you do it. I'm not sure how to do that on Windows, or if it's even possible. –  Keith Jun 14 '11 at 14:05
    
@Keith: Can you explain how it is possible atleast in Linux? –  Ravi Jun 14 '11 at 14:30
1  
Nothing against qemu, but you might want to give VirtualBox a try instead. It's very beginner friendly. –  Joe Internet Jun 14 '11 at 20:13
    
See if the Wikibook helps you out. –  new123456 Jun 14 '11 at 20:55
add comment

migrated from stackoverflow.com Jun 14 '11 at 18:56

This question came from our site for professional and enthusiast programmers.

1 Answer

Delete the options about the network, like:

-net nic,model=ne2k_pci,macaddr=52:54:00:12:34:56 -net user -redir udp:161::161 -redir tcp:4440::22

qemu has default network configurations, and is able directly to access www.

share|improve this answer
    
without -net nic it doesn't work - with -net nic -net user it does work :) –  holms Aug 23 '13 at 22:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.