KVM USB Passthrough e Zydas usb adaptador sem fio: dispositivo ou recurso ocupado

1

Estou tentando configurar uma máquina virtual de teste do kernel para um módulo 80211.

eu inicio minha máquina com este comando:

kvm -m 512 -net nic -net vde -usb -usbdevice host:0ace:1215  ktesting.img

eu configurei uma imagem kvm com o debian conectado a um vde_switch na interface eth0 e com um

Bus 003 Device 004: ID 0ace:1215 ZyDAS ZD1211B 802.11g

eu instalei o 'zd1211-firmware' e dei as permissões certas em / dev / bus / usb.

a interface wlan0 sobe:

eth0      Link encap:Ethernet  HWaddr 52:54:00:12:34:56  
          inet addr:192.168.2.15  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe12:3456/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1706 (1.6 KiB)  TX bytes:1458 (1.4 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:02:72:71:dc:a3  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

mas quando tento usar o wpa_supplicant para conectar ao meu roteador:

wpa_supplicant -i wlan0 -c conf

eu tenho essa saída (stderr e stout):

ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWFREQ]: Device or resource busy
ioctl[SIOCSIWFREQ]: Device or resource busy
ioctl[SIOCSIWFREQ]: Device or resource busy
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz)
wlan0: Association request to the driver failed 
wlan0: Authentication with 00:0c:f6:83:e8:9f timed out.
wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz)
wlan0: Association request to the driver failed
wlan0: Authentication with 00:0c:f6:83:e8:9f timed out.
wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz)
wlan0: Association request to the driver failed
wlan0: Authentication with 00:0c:f6:83:e8:9f timed out.
wlan0: Trying to associate with 00:0c:f6:83:e8:9f (SSID='home' freq=2412 MHz)
wlan0: Association request to the driver failed
wlan0: Authentication with 00:0c:f6:83:e8:9f timed out.
wlan0: CTRL-EVENT-TERMINATING - signal 2 received

eu tentei usar o adaptador wifi no meu laptop para se conectar à mesma rede com o mesmo arquivo de configuração instalando apenas o zd1211-firmware e funciona perfeitamente. não é um problema do meu kernel compilado pois o problema persistir com o kernel debian do estoque (wheezy)

    
por kurojishi 27.12.2012 / 17:18

0 respostas