![USB wifi 轉接器問題](https://rvso.com/image/168794/USB%20wifi%20%E8%BD%89%E6%8E%A5%E5%99%A8%E5%95%8F%E9%A1%8C.png)
我有一個 USB wifi 適配器(EdimaxEW-7612UAn V2)其驅動程式安裝在我的parrot 系統上,而我的電腦的PCI 與Parrot 不相容。 ,USB wifi 適配器運作良好,並且電腦的PCI當然,這是行不通的。當將我的 pci 置於監視器並將我的 USB wifi 適配器置於託管模式時,網路管理器將它們從 wifi 選單中刪除,儘管 USB 適配器未處於監視器模式。
換句話說,如果主 PCI 不相容或不可識別,Parrot 將無法識別這兩個適配器。那麼,我該怎麼做才能強制 parrot 只使用 USB wifi 轉接器?
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
網路管理器截圖
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
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
答案1
我找到了答案。這裡,我發現我的 pci 使用“rt2800pci”。
modprobe -r rt2800pci
它運作良好,USB wifi 適配器開始工作,但此解決方案僅適用於一次會話,一旦電腦重新啟動,您將不得不再次卸載該模組,如果您希望始終卸載該模組,可以將該模組列入黑名單。