All
Estou tentando criar uma m�quina virtual com o qemu e que tenha placa
de rede,
mas estou tendo problemas. Para isso estou fazendo o seguinte :
- recompilei o kernel com a op��o <*> Universal TUN/TAP device driver support
ativada;
- ~# mkdir -p /dev/net
- ~# mknod /dev/net/tun c 10 200
- ~# chgrp users /dev/net/tun
- ~# chmod g+w /dev/net/tun
- ~# sudo ifconfig tun0 192.168.0.2 up
Em seguida executei o comando ifconfig e apareceu o seguinte :
tun0 Encapsulamento do Link: Ethernet Endere�o de HW 00:FF:D9:87:44:EC
inet end.: 192.168.0.2 Bcast:192.168.0.255 Masc:255.255.255.0
UP BROADCASTRUNNING MULTICAST MTU:1500 M�trica:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
colis�es:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
O problema � que quando eu vou "instalar" o debian no qemu, vide
comando abaixo,
- qemu-img create servidor.img 2000M
- qemu -hda servidor.img -cdrom ../tmp/debian-testing-i386-netinst.iso -boot d
esta aparecendo a seguinte mensagem de erro :
warning: could not open /dev/net/tun: no virtual network emulation
Segui o que esta na documenta��o do qemu referente a network
3.7.1 Using tun/tap network interface
http://fabrice.bellard.free.fr/qemu/qemu-doc.html#SEC20
---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br
Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html