On 2007-12-18, Etaoin Shrdlu <[EMAIL PROTECTED]> 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.
That was the problem. The user-owned tap device is necessary
but not sufficient to run qemu as a normal user. That user
must also have r/w permission to /dev/net/tun. I'll take a
shot at fixing up the Wiki page so it's correct.
--
Grant Edwards grante Yow! Will this never-ending
at series of PLEASURABLE
visi.com EVENTS never cease?
--
[EMAIL PROTECTED] mailing list