Qemu tap0 error

Tony Nelson tonynelson at georgeanelson.com
Sun Aug 19 05:01:50 UTC 2007


At 4:09 PM +0530 8/18/07, Vikram Goyal wrote:
>Hello,
>
>While trying to run qemu, I can't set up tap device for guest virt
>machine. Manually creating the tap0 device has also not helped.
>
>[vikram at f7host xp]$ sudo qemu -m 300 -net tap -localtime -kernel-kqemu
>hostname=winhost -usb -cdrom /dev/scd0 -hda xp.img
>
>/etc/qemu-ifup: could not launch network script
>
>Could not initialize device 'tap'
>
>/etc/qemu-ifup is not included in any packages. How should I go about
>it.

Take a look at the Qemu docs at
<http://fabrice.bellard.free.fr/qemu/qemu-doc.html>.  I got the example
script from linux-test-*.tar.gz; it's probably in the current linux image.
The user-mode networking is /much/ easier to get working, but won't support
any incoming connections (ssh, web server, etc).  I've since written my own
scripts to set up qemu and networking using sudo; if you need them I can
bundle them up.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list