Page 1 of 1

Monitor mode?

Posted: Sun May 19, 2019 3:11 pm
by Nirvana
hi, i bought this device thinking it supported monitor mode on the wifi. but when i try i get this:

Error for wireless request "Set Mode" (8B06) :
SET failed on device ra0 ; Not supported.


i tried flashing the new 20190422 firmware in case that was the problem but i get the same thing. how do i make monitor mode work? i need this for a school project, thanks.

Re: Monitor mode?

Posted: Tue May 21, 2019 3:22 pm
by Vonger
try 20190316 version, or you can compile by yourself, follow github.com/vonger/vocore2
after flash new firmware, tcpdump should work. you can also search sniffer or monitor on vonger.cn, I remember once I write a tutorial about it.

Re: Monitor mode?

Posted: Thu Jun 27, 2019 4:07 am
by Nirvana
i found your tutorial and it helped.

i had to stop UCI from managing the interface to do it. after i do that, how do i make it connect to my network again? after the sniffing is over? i want to connect it back to my wifi so i can download the file. but i can't use wpa_supplicant or anything. how do i tell it to connect to a network without using UCI?

Re: Monitor mode?

Posted: Sun Jul 14, 2019 3:53 pm
by Vonger
check source code of the wifi driver, you can use iwpriv ra0 [parameter]=xxx to start and stop it.
also check /lib/netifd/wireless/ralink.sh, a lot of iwpriv example, help you understand how the driver works.