![Problema no adaptador wi-fi USB](https://rvso.com/image/168794/Problema%20no%20adaptador%20wi-fi%20USB.png)
Tenho um adaptador usb wifi (EdimaxEW-7612UAn V2) com seu driver instalado no meu sistema papagaio e o pci do meu computador não é compatível com o papagaio. O problema é que o papagaio diz que ambos os adaptadores estão desabilitados quando eu uso wifi normal e quando eu uso airmon-ng o adaptador wifi usb funciona bem e o pci do computador , claro, não funciona. ao colocar meu pci no monitor e meu adaptador usb wifi no modo gerenciado, o gerenciador de rede remove ambos do menu wifi, embora o adaptador usb não esteja no modo monitor.
Em outras palavras, o papagaio não reconhecerá ambos os adaptadores se o PCI principal não for compatível ou reconhecível. então, o que devo fazer para forçar o papagaio a usar apenas o adaptador usb wifi?
resultado lsusb -v:
Bus 002 Device 003: ID 7392:7822 Edimax Technology Co., Ltd 802.11n WLAN Adapter
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x7392 Edimax Technology Co., Ltd
idProduct 0x7822
bcdDevice 2.00
iManufacturer 1
iProduct 2
iSerial 3
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x002e
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 4
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
captura de tela do gerenciador de rede
resultado de rf-kill:
0: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: yes
1: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: yes
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: phy1: Wireless LAN
Soft blocked: no
Hard blocked: yes
resultado de ifconfig:
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 34:64:a9:73:43:20 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 8 bytes 396 (396.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8 bytes 396 (396.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Responder1
Encontrei a resposta. Usando instruçõesaqui, descobri que meu pci usa "rt2800pci". Descarreguei o módulo usando o seguinte comando:
modprobe -r rt2800pci
Funcionou bem e o adaptador usb wifi começou a funcionar, mas esta solução funciona apenas para uma sessão, uma vez que o computador reinicia, você terá que descarregar o módulo novamente, você pode colocar o módulo na lista negra se quiser que o módulo seja descarregado o tempo todo.