OpenWrt Forum Archive

Topic: cannot running kamikaze von qemu as root

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi,

i tried to run kamikaze on qemu and I want to bridge the network in my system, when I run:

born@borneo:~$ qemu -net tap -net nic -hda /home/arief/kamikaze_7.09/bin/openwrt-x86-2.6-ext2.image
warning: could not open /dev/net/tun: no virtual network emulation
Could not initialize device 'tap'

there's a warning: warning: could not open /dev/net/tun: no virtual network emulation
Could not initialize device 'tap'

I tried to chown and nothing happen

And when I running as root:

root@borneo:/home/# qemu -net tap -net nic -hda /home/arief/kamikaze_7.09/bin/openwrt-x86-2.6-ext2.image
Executing /etc/qemu-ifup
Bringing up tap0 for bridged mode...
Adding tap0 to br1...
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


       ---------------------- DirectFB v0.9.25 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2006-12-20 21:25)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
    --> No such file or directory
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
    --> Initialization error!
Could not initialize SDL - exiting

Any solution???

regards,

The discussion might have continued from here.