On Tuesday 18 December 2007, Grant Edwards wrote:

> Even though I created tap0 with the command shown, I still have
> to run Qemu as root or I get the following error:
>
> qemu -kernel-kqemu -localtime -hda w2kdisk.img -net nic
>      -net tap,ifname=tap0,script=/usr/local/etc/qemu-ifup
>
> warning: could not open /dev/net/tun: no virtual network emulation
> Could not initialize device 'tap'
>
> If I run qemu as root, it works fine.

You also have to chmod go+rw /dev/net/tun (if you haven't already), and 
probably modify the related udev rule to make the change persistent.
-- 
[EMAIL PROTECTED] mailing list

Reply via email to