qemu no tun/tap networking
Binary package hint: qemu
There is a problem with qemu and kernels > 2.6.18.
It is documented in the qemu faq:
Starting with Linux 2.6.18, the kernel now requires that a user process has CAP_NET_ADMIN capability associated with it to set persistent tap interfaces. This a problem since most people do not run qemu as root - nor should they. A few suggestions: [...]
The problem looks like this:
"warning: could not open /dev/net/tun: no virtual network emulation
Could not initialize device 'tap'"
# ls -l /dev/net/tun
crw-rw-rw- 1 root root 10, 200 Mar 30 08:19 /dev/net/tun
Solutions are suggested in the FAQ entry.
Problem persists in qemu 0.9.0.
|Changed in qemu (Ubuntu):|
|status:||Won't Fix → Confirmed|
|Changed in qemu-kvm (Debian):|
|status:||Unknown → Fix Released|