Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
34
rated 0 times [  34] [ 0]  / answers: 1 / hits: 207322  / 2 Years ago, fri, june 17, 2022, 7:55:07

I have just successfully installed a driver (athk9_htc) for TP-Link TL-WN722N (a USB Wi-Fi adaptor) in Ubuntu 14.04.1. My goal is to capture Wi-Fi traffic with Wireshark.


I try to configure the adaptor to monitor mode by running: sudo iwconfig wlan1 mode monitor


However it gives me an error message:


Error for wireless request "Set Mode" (8B06):
SET failed on device wlan1; Device or resource busy.

How can I set it to monitor mode?


Edited:


I do not agree this is a duplicated question. Actually I have found that thread before I asked this question. However there are two responses in that thread, but not any verified answer. If I do not ask this question again, how can I get the answer? Also the answer given by @chili555 is different to the responses in that thread, and I verified this answer is working. If the question is duplicated, shouldn't it be added as a comment in that thread to indicate that a verified answer is here, instead of indicating an answered question is a duplicated question?


More From » wireless

 Answers
5

It may work if you first bring the interface down:



sudo ifconfig wlan1 down
sudo iwconfig wlan1 mode monitor


Check:



iwconfig


Not every device and driver combination are capable of monitor mode.


[#23586] Sunday, June 19, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rofity

Total Points: 182
Total Questions: 98
Total Answers: 115

Location: Albania
Member since Sat, Jan 7, 2023
1 Year ago
rofity questions
Mon, Apr 25, 22, 12:28, 2 Years ago
Tue, Jul 5, 22, 16:53, 2 Years ago
Sat, Apr 8, 23, 05:32, 1 Year ago
Mon, May 10, 21, 22:51, 3 Years ago
;