Error for wireless request set mode 8b06 set failed on device wlan0 operation not supported

when i write ifconfig wlan0 down && iwconfig wlan0 mode monitor && ifconfig wlan0 up then written Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0...

@cathome1

when i write
ifconfig wlan0 down && iwconfig wlan0 mode monitor && ifconfig wlan0 up
then written
Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not permitted.
But if i write
ifconfig wlan0 down && iwconfig wlan0 mode auto && ifconfig wlan0 up
then
then everything is fine and addapter enters the auto mode

@rlphkrs

@Blamo27

@rlphkrs

@Blamo27 the adapter you mean? I use the WN722N V2, but I’m thinking about just buying a new one which works without the hassle

@Blamo27

Yeah me too I’ve the same problem, nothing to do..
=> I bought the ALFA AWUS036ACH

@steync027

Which version of Kali did you try? I tried on Kali 2017.3 and it didn’t work either.

@fire-fly

Hello,
I had the same issue.
I am using TP-Link WN722N.
Was it a hardware or software issue.
If software issue any idea will it be fixed?

@rlphkrs

@fire-fly Hi, it’s software. If you bought WN722N V1 you should be fine, but I don’t think V2 will be fixed anytime soon. I bought the same device as @Blamo27 and it works fine.

@Blamo27

@rlphkrs What is your kernel version ? And your driver ?

@fire-fly

@mido324

I have the same problem with TL-wn722n_v3 what a waste of time and money.

@jocahamilton

I managed to get a TL-wn722n_v3 into monitor mode using this driver https://github.com/kimocoder/rtl8188eus, forgot to check the version before buying, it just saved my day.
I’m using Kali 2018.4 kernel 4.18.0

@adarshnin

I have TP-Link TL-WN725N and i am getting this error «»Error for wireless request «Set Mode» (8B06) : SET failed on device wlan0 ; Invalid argument»».
I’m trying to enable monitor mode…
Does this support monitor mode??

@Nathersha

Hi, Can anyone help to set TP-LINK TN-WN722N V3, on Monitor mode. I have tried many ways but unable to make it. Can anyone please help in resolving this.

@ghost

Hi, Can anyone help to set TP-LINK TN-WN722N V3, on Monitor mode. I have tried many ways but unable to make it. Can anyone please help in resolving this.

Hi, I am a newbie. I’ve been trying to figure out the same problem like yours for months. The only difference for usb-wifi adapter, mine is TL-WN725n V3. I couldn’t get the interface in Monitor mode but weirdly enough I could still get internet connected through it. Luckily this guy saves my day. I tried to remove old driver that I gathered from various version in github. And started to reinstall new driver which recommended by jocahamilton in his post: https://github.com/kimocoder/rtl8188eus . Yes, it finally worked!!! I got the monitor mode. Maybe you can try out, probably it might worked for you as well.

@SuhelSS

Can any solve this problem
ERROR:: wireless request «Set Mode»(8B06) :
SET failed on device(name of the device); Operation not supported.

@cryptocodecg

same here. i use TP-LINK TL-WN725N on kali linux on virtual box and everytime i set the monitor mode i got this error ERROR:: wireless request «Set Mode»(8B06) :
SET failed on device(name of the device); Invalid argument.

anybody can resolve this?

@kickbuur

Guys please help me out i’ve struggled for more than 2 weeks now with this problem

Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Operation not permitted.

I have tried anything and now i’m just stuck.

@cryptocodecg

i have got this error too before i managed my kali linux to recognize wifi
connection by plugging in a wireless adapter plus installing the driver.

are you struggling on kali linux on virtual machine?

On Mon, 16 Sep 2019 at 01.21 kickbuur ***@***.***> wrote:
Guys please help me out i’ve struggled for more than 2 weeks now with this
problem

Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Operation not permitted.

I have tried anything and now i’m just stuck.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#28?email_source=notifications&email_token=AAI2QERPFXBBL3PAWZXLN3DQJZ4KHA5CNFSM4EIIR4EKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XWF4I#issuecomment-531587825>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAI2QEWMMA7OOQVXY3FZC5DQJZ4KHANCNFSM4EIIR4EA>
.

@raaa75

I managed to get a TL-wn722n_v3 into monitor mode using this driver https://github.com/kimocoder/rtl8188eus, forgot to check the version before buying, it just saved my day.
I’m using Kali 2018.4 kernel 4.18.0

Yes with the drivers above monitor mode works on ubuntu 4.15.0-96-generic this this way:
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

@dolaaaa

error for wireless request set mode (8b06) set failed on device wlan0 invalid argument
ماسبب ظهور تلك المشكله في الفا Awus036ach

@raaa75

Correct, this same issue I had with the wrong driver installed. Try this one. https://github.com/kimocoder/rtl8188eus

error for wireless request set mode (8b06) set failed on device wlan0 invalid argument
ماسبب ظهور تلك المشكله في الفا Awus036ach

@bfinfosec

Still no solution for this issue ?

  • Installed Kali on my asus laptop:
    5.6.0-kali2-amd64 nl80211: Driver does not support authentication/association or connect commands #1 SMP Debian 5.6.14-1kali1 (2020-05-25) x86_64 GNU/Linux
  • Using AWUS036ACH
  • Compiled 8812au driver from actual aircrack stable branch:
    https://github.com/aircrack-ng/rtl8812au
  • System refuses to switch interface to monitor mode:
    Error for wireless request «Set Mode» (8B06) :
    SET failed on device wlan1 ; Operation not permitted.

@satishcse

Arjunan1234, VitorCorrei4, hXR16F, Alex5956, gr4yh4tr4inm4n, thien86, jmbeach, Nickjw17, adinicolaescu, igabrielnava, and 3 more reacted with thumbs up emoji

@templar10

I have this
Linux kali 5.6.0-kali2-amd64 #1 SMP Debian 5.6.14-1kali1 (2020-05-25) x86_64 GNU/Linux
and AWUS036ACH
I tried what satishcse said and it works 👏
thanks

@Arjunan1234

Guys please help me out i’ve struggled for more than 2 weeks now with this problem

Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Operation not permitted.

I have tried anything and now i’m just stuck.

Same problem please help

@bfinfosec

Problem solved by for my AWUS036ACH on latest Kali Linux by installing driver RT8812au v5.7.0 branch:
https://github.com/aircrack-ng/rtl8812au/tree/v5.7.0

Follow install instruction:
$ sudo apt-get install dkms
$ sudo ./dkms-install.sh

Then, set monitor mode:
$ sudo iwconfig wlan1 mode monitor

All aircrack-ng suite works perfectly fine.

@Aoki07

Hello , i have a problem in the second step in fluxion for to create a «captive portal » this message appears when I select my wifi card :
] Select an interface for the access point.

[1] eth0 [+] Intel Corporation 8254EM Gigabite Ethernet Controller(rev
[2] wlan0 [+] TP-Link TL-WN722N v2
[3] Repeat
[4] Back

[fluxion2@kali]-[~] 2

[*] Unable to start captive portal interface, returning!

can someone Help please?

@amankhan25

iwconfig wlan0 mode managed
Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Operation not permitted.

if You are getting this error it means you are already in manged mode. sometime you set it into monitor mode but if wifi adapter physically eject by little push then it will again back to the managed mode. At the same time if you are trying to make it manage then it gives error because it is already in managed.

@Northman94

Having Kali in Virtual Box on Windows 10. Updating drivers for my Wi-Fi adapter on Windows 10 fixed issue.

@mohanish880

I also personally use this adapter TLWN722N and I’ve faced the same issue
Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Operation not permitted.

To solve this issue you’ll need to set mode to auto by running the following commands :-
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode auto
sudo ifconfig wlan0 up
sudo iwconfig

After running these commands restart your machine

NOTE:- Always set to auto mode before shutting down your computer or else you’ll face the same issue

@Tester2009

any blacklisted module/driver in /etc/modprobe.d/ ?

@hacker1234500

@wlrmarl

@hacker1234500

Thanks NabeelJiwani but the problem is that i don’t know what to do next.

@hacker1234500

My problem is, when I shut down my virtual machine and make the iwconfig wlan0 auto before I shut down my machine the error in the next session appears again. And when I see this error I just want to break everting near me.

@stevenkennyit

Just sharing my finding:

I was getting the same error (Set Mode (8B06)) when running the «iwconfig wlan1 mode monitor» command.
However, I was able to fix/workaround it by bringing the adapter interface up then down again then setting to monitor mode. Not sure what is causing the issue but this seems to fix it (for me anyway)…
workaround

Here are the commands:
ifconfig wlan1 up
ifconfig wlan1 down
iwconfig wlan1 mode monitor

Notes:

  • Using AWUS036ACH
  • Screenshot attached to illustrate
  • Didn’t read all comments

Hoping this might save someone time.

@Sachingit1389

I just used command sudo apt-get install dkms
and its working fine now

@kstirto

I’m also using TL-WN722N ((V2/V3) and I also intermittently experience the same problem. This is how I solve it… with your adapter still plugged-in:
rmmod r8188eu.ko
modprobe 8188eu
Disconnect your adapter and reconnect. Now you should be able to put it in monitor mode. If it still fails, put it to auto mode first, down it, and now put it to monitor mode.

@proximityeffect

I’m also using TL-WN722N ((V2/V3) and I also intermittently experience the same problem. This is how I solve it… with your adapter still plugged-in:
rmmod r8188eu.ko
modprobe 8188eu
Disconnect your adapter and reconnect. Now you should be able to put it in monitor mode. If it still fails, put it to auto mode first, down it, and now put it to monitor mode.

Thank you! You just help me tremendously. I signed up with GitHub because of you.

@algisju

Same issue with RasPi on 3+ — Recompiled with «apt install raspberrypi-kernel-headers» but still have to put it down and up..? Why is it doing that remain a mystery to me :/

@TheRoyalOne2021

I’m also using TL-WN722N ((V2/V3) and I also intermittently experience the same problem. This is how I solve it… with your adapter still plugged-in:
rmmod r8188eu.ko
modprobe 8188eu
Disconnect your adapter and reconnect. Now you should be able to put it in monitor mode. If it still fails, put it to auto mode first, down it, and now put it to monitor mode.

finally someone who knows a solution,this has been wreaking havoc for me,THIS IS THE FIRST STEP IN HACKING and it wouldn’t even work,thank you

@BabyYoda2023

Sudo iwconfig wlan0 mode monitor
Sudo iwconfig

@CoffeeOperator

I can’t believe this thread is still alive, but if you are still encountering this problem this may work for you.

  1. take out your adapter
  2. sudo rmmod r8188eu.ko
  3. put your adapter back in
  4. sudo modprobe 8188eu
  5. sudo airmon-ng start wlan0
  • note* the above command may not work, use iwconfig to check your adapter’s name.*
    6.iwconfig
    you should now be in monitor mode, congrats
    if somehow your are still in auto or managed mode:
  1. put your adapter back in
  2. ifconfig wlan0 up
  3. ifconfig wlan0 down
  4. now redo everything mentioned in the beginning
  5. this worked for me, but everything is case-sensitive.

-josh

@Arturovl9

Good I’m using a tp link wn823n having the right drivers I get when trying to put the monitor mode with the command airmon-ng start wlan0 and then iwconfig I get manager mode instead of monitor mode and I’ve been trying the commands of the thread and I get the same error and I do not know what to do, if someone can help me. This image is an example but with all commands I get the same error
image

@CoffeeOperator

Hi ArturovI9,

Insert your network adapter first:

  1. ifconfig wlan0 up

  2. ifconfig wlan0 down

«Take out the network adapter»:

  1. sudo rmmod r8188eu.ko

«Insert your network adapter»:

  1. sudo modprobe 8188eu

  2. iwconfig wlan0 mode monitor

Now, your network adapter should be in monitor mode, again lots of adapters no longer work with kali Linux, also make sure you have the proper drivers installed, and that your adapter is capable of monitor mode.

-Happy Hacking, josh

  • Печать

Страницы: [1] 2  Все   Вниз

Тема: Wifi ad-hoc не поддерживается  (Прочитано 7755 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
romeg

Ноутбук Acer Extensa 5620, ubuntu 8.04, установка с нуля.
Драйвер карты Wifi  — из коробки, открытый.
В networkManager отключаю режим роуминга, в /etc/network/interfaces прописываю wireless-mode ad-hoc.
В данный режим устройство не входит, команда iwconfig все равно говорит, что режим — Managed
При рестарте сети выдает ошибку, что неверное значение режима.

Когда на компе был ubuntu 7.10 — все работало из коробки. При этом драйвер Wifi карточки стоял преприоретарный.

Это потому что драйвер в 8.04 не поддерживает режим ad-hoc?

Как решить проблему? Только перестановкой драйвера?
Если да, то как вручную заменить установленный драйвер на старый препреоретарный драйвер?
Если нет, то где копать?


Оффлайн
12d3

а слабо сказать, какая вайфай карта? 
ЗЫ [оффтоп] : выучите уже блин все это слово — проприетарный =)


Оффлайн
romeg

Вот такая карта:
Встроенный адаптер беспроводной сети: Intel® PRO/Wireless 3945ABG (802.11a/b/g)


Оффлайн
12d3

sudo ifdown wlan0 && sudo iwconfig wlan0 mode ad-hoc && sudo ifup wlan0


Оффлайн
romeg

Вот какой ответ получил:

Error for wireless request «Set Mode» (8B06) :
    SET failed on device wlan0 ; Invalid argument.

Когда делаю рестарт сети  — аналогичная ошибка возникает, а wlan0 остается в режиме «Managed»

Значит, открытый драйвер из коробки не поддерживает режим ad-hoc?


Оффлайн
teop

Так, а что там по ifconfig выдает?


Оффлайн
12d3

раз у меня на такой-же карточке работает, то и у вас должно.
а если вместо ifdown wlan0 сделать ifconfig wlan0 down, и с ifup аналогично.


Оффлайн
romeg

спасибо, получилось.
Командой
sudo ifconfig wlan0 down && sudo iwconfig wlan0 mode ad-hoc && sudo ifconfig wlan0 up
сеть поднялась, iwconfig показывает режим ad-hoc, но все работает до следующей перезагрузки.
После перезагрузки — снова wlan0 отключена, режим Managed, пока не сделаешь вышеуказанную команду.

Как можно сделать так, чтобы wlan0 работал по умолчанию?
Ниже пишу, что у меня сейчас в /etc/network/interfaces
====
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
gateway 192.168.1.1

auto wlan0
iface wlan0 inet static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.255
wireless-key 1234567890
wireless-essid pantera
wireless-mode ad-hoc
#wireless-channel 1
====


Оффлайн
DJArty

Возможно еще NetworkManager следует тушить, а Wlan поднимать руками или скриптом (гдето в моём посте было)


Оффлайн
Oleg

сеть поднялась, iwconfig показывает режим ad-hoc, но все работает до следующей перезагрузки.
После перезагрузки — снова wlan0 отключена, режим Managed, пока не сделаешь вышеуказанную команду.

Смотреть сюда.


Оффлайн
romeg

Вставка в /etc/rc.local строк
sleep 15s
/etc/init.d/networking restart
не помогла, так как в моем случае команда sudo /etc/init.d/networking restart сеть не поднимала сама по себе (не знаю почему, пишет Error for wireless request «Set Mode» (8B06) : SET failed on device wlan0 ; Invalid argument).

Но проблема решилась, когда я в rc.local вставил следующую строку:
ifconfig wlan0 down && iwconfig wlan0 mode ad-hoc && ifconfig wlan0 up

все заработало.
Видимо, это единственное решение, хотя, как я думаю, не очень красивое.

Спасибо 12d3 и Oleg — совместными усилиями помогли.


Оффлайн
romeg

При перезагрузке теперь все работает.
А после выхода ис спящего режима — нет, снова вручную приходится включать.
Как заставить wlan0 подниматься после выхода из спящего режима?

Может в какой-то скрипт засунуть перезапуск, подобно /etc/rc.local ?


Оффлайн
kosilas

Помогите поднять ad-hoс на карте  BCM4318 (wl-138g)
Драйвера ставил b43-fwcutter
При команде

ifconfig wlan0 down && iwconfig wlan0 mode ad-hoc && ifconfig wlan0 upпишет:

Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not permitted.
Interface такой:

  auto lo
  iface lo inet loopback
auto eth0
iface eth0 inet static
 adress 192.168.1.6
 #network 192.168.0.0
 netmask 255.255.255.0
 #broadcast 192.168.0.255
 gateway 192.168.1.2
 up route add default gw 192.168.1.2 eth0
 auto wlan0
 iface wlan0 inet static
 address 192.168.0.12
 netmask 255.255.255.0
 wireless-essid homenet
В чем трабл? Кривые дрова ?


Оффлайн
romeg

видимо у тебя прав root нет.
Проделывай те же команды через sudo:
sudo ifconfig wlan0 down && iwconfig wlan0 mode ad-hoc && ifconfig wlan0 up


Оффлайн
kosilas


  • Печать

Страницы: [1] 2  Все   Вверх

I’ve followed this tutorial on installing aircrack on Ubuntu 14.04:
https://www.youtube.com/watch?v=xdvGZlUzfRs&src_vid=OF0UjeoTXoI&feature=iv&annotation_id=annotation_1882595149

I had to tweak a few things to get it to download successfully, but here is what I’m having issues with (and what I can’t find a solution for):

This command:

sudo airodump-ng mon0

of which I get the error:

Interface mon0:  
ioctl(SIOCGIFINDEX) failed: No such device

The command iwconfig shows:

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11abg  ESSID:"nameofmynetwork"  
          Mode:Managed  Frequency:5.765 GHz  Access Point: 05:B1:51:42:A1:5D   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

Regarding mon0, what is it? I tried some solutions, such as killing processes and updating to the latest aircrack, but I still receive an error.

Any help is appreciated!

asked Nov 13, 2014 at 4:02

boop's user avatar

2

you don’t need to use airmon-ng at all. you can simply:

sudo ifconfig wlan0 down

than go on with

sudo iwconfig wlan0 mode monitor

and finally

sudo ifconfig wlan0 up

thats basically what airmon-ng does.

answered Jul 15, 2015 at 19:41

Gewure's user avatar

GewureGewure

3633 silver badges10 bronze badges

2

You need to read more about how to use aircrack-ng.

The command you executed, sudo airodump-ng mon0, tells your computer to start capturing packets on the interface called mon0, but you don’t have that interface yet, that’s why it tells you No such device.

The general steps in using aircrack-ng is:

  1. sudo airmon-ng start wlan0

    • This puts your wireless interface into monitor mode, which is the mode where you can capture all packets, even if they weren’t directed to your computer. What the command actually does is it creates another interface called mon0, which you can see when you do iwconfig. This is the command that you probably didn’t execute. If you did run it but you can’t see mon0 afterwards, let us know what was the command’s output.
  2. sudo airodump-ng <options> mon0

    • This starts capturing packets.
  3. sudo aireplay-ng <options> mon0

    • You use this to attempt to increase the number of IVs being captured so you can easily crack the password.
  4. sudo aircrack-ng <options> <file>

    • This is the application that then cracks the capture you took to extract the password.

answered Nov 13, 2014 at 4:22

Alaa Ali's user avatar

Alaa AliAlaa Ali

30.5k11 gold badges93 silver badges105 bronze badges

3

The problem is with the name of the interface. Use the following commands:

Start your wireless interface in monitoring mode

airmon-ng   

Kill all the interfering processes

airmon-ng check kill     

Instead of airodump-ng mon0, type this airodump-ng wlan0mon

Please let me know if this works for you.

Shagun Sodhani's user avatar

answered Feb 7, 2016 at 8:36

Hari's user avatar

1

From what i’ve seen, in the latest ubuntu version (15.10) there is a problem when enabling monitor mode on mon0.

To do it clean and clear, use this command to kill any process that can cause problems sudo airmon-ng check kill , then use this command to enable monitor mode on mon0 sudo airmon-ng start wlan0 .

Now you can use mon0 with other *-ng commands.

answered Jan 6, 2016 at 17:24

Sidahmed's user avatar

SidahmedSidahmed

1,0462 gold badges14 silver badges27 bronze badges

Okay, first of all let’s start with killing all processes with sudo airmon-ng check kill , then enabling monitor mode with sudo airmon-ng start wlan0 , now the answer to your question is in the output of this command. Notice that it says in the bottom (experimental wl monitor mode vif enabled for [phy0]wlan0 on [phy0]prism0) for me it says prism0 this is the interface that was created for me when I used the airmon-ng start wlan0 command which is in general called mon0 but it’s not always the same so you need to check the name of the one that was created for you and use it in the next command. For example in my case, to start capturing packets I will type airodump-ng prism0 not mon0. I hope this answers your question.

answered Sep 18, 2016 at 20:33

PazzoG's user avatar

if airodump-ng mon0 doesnt works for you;
give the previous one command as; «airmon-ng start wlp3s0» rather than «airmon-ng start wlan0» because wlan0 works for network on lan and wlp3s0 works for wireless network and then insert command «airodump-ng mon0»
this will surely work for you too

answered Dec 30, 2017 at 5:21

Pardeshi Jatin's user avatar

I am trying to enable monitoring mode for a USB wifi dongle with the RTL8188CUS chipset on a raspberry pi model b+ (or any raspberry pi for that matter).

$ lsusb
Bus 001 Device 005: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Invalid argument.

According to github/raspberrypi/linux/issues/369, you need to enable the rtlwifi/rtl8192cu kernel module that is included with the kernel distribution but not compiled. This requires minor modifications to some files as diff’ed below in ‘STEP 2’.

The USB issue mentioned in that thread has been resolved as of 4.1.6+, so the rtlwifi driver should work.

Steps to recreate on a fresh raspberry pi (model B+)…

STEP 0: Update existing modules and kernel to latest

$ sudo apt-get update
$ sudo rpi-update
$ uname -a
Linux raspberrypi 4.1.7+ #815 PREEMPT Thu Sep 17 17:59:24 BST 2015 armv6l GNU/Linux

STEP 1: Get the raspbian kernel source and add missing dependencies

$ git clone --depth=1 https://github.com/raspberrypi/linux
$ sudo apt-get install bc lshw

STEP 2: Enable the rtlwifi (kernel) drivers for RTL8188CUS (RTL8192)

edit linux/drivers/net/wireless/Kconfig
-#source "drivers/net/wireless/rtlwifi/Kconfig"
-source "drivers/net/wireless/rtl8192cu/Kconfig"
+source "drivers/net/wireless/rtlwifi/Kconfig"
+#source "drivers/net/wireless/rtl8192cu/Kconfig"

(Wheezy) edit linux/drivers/net/wireless/Makefile
-#obj-$(CONFIG_RTLWIFI)         += rtlwifi/
+obj-$(CONFIG_RTLWIFI)          += rtlwifi/

(Jessie) edit linux/drivers/net/wireless/realtek/Makefile
-#obj-$(CONFIG_RTLWIFI)         += rtlwifi/
+obj-$(CONFIG_RTLWIFI)          += rtlwifi/

STEP 3: Compile and install kernel (took many hours)

Summarized from kernel building documentation .

$ cd linux
$ KERNEL=kernel
$ make bcmrpi_defconfig

$ make zImage modules dtbs
$ sudo make modules_install
$ sudo cp arch/arm/boot/dts/*.dtb /boot/
$ sudo cp arch/arm/boot/dts/overlays/*.dtb* /boot/overlays/
$ sudo cp arch/arm/boot/dts/overlays/README /boot/overlays/
$ sudo scripts/mkknlimg arch/arm/boot/zImage /boot/$KERNEL.img

STEP 4: Reboot

$ sudo reboot

STEP 5: Check that the rtlwifi/rtl8192cu module is loaded

$ lsmod | fgrep rtl8192cu
rtl8192cu             100806  0 
rtl_usb                14781  1 rtl8192cu
rtl8192c_common        72091  1 rtl8192cu
rtlwifi               101122  3 rtl_usb,rtl8192c_common,rtl8192cu
mac80211              623281  3 rtl_usb,rtlwifi,rtl8192cu
$
$ lshw
  *-network:0
       description: Ethernet interface
       physical id: 1
       bus info: usb@1:1.3
       logical name: wlan0
       serial: 00:0b:81:94:e9:a3
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rtl8192cu driverversion=4.1.7+ firmware=N/A link=no multicast=yes

STEP 6: Try to activate monitoring mode

$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported.

What did i miss?
Issue 369 seems to indicate that it can work with the rtlwifi driver?

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

deathstroke

Level 1
Level 1
Posts: 11
Joined: Fri Jul 02, 2021 1:42 am

Monitor Mode Error

Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Operation not supported

Are there any solutions for this? Does this mean my wireless card doesnt support monitor mode? or Should I Install a different driver?
I’m a beginner in Linux, Somebody please help me out :)

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

User avatar

SMG

Level 24
Level 24
Posts: 20938
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Monitor Mode Error

Post

by SMG » Sat Jul 03, 2021 12:33 pm

deathstroke wrote: ↑

Sat Jul 03, 2021 12:25 am


I need a solution
Someone please answer!

Welcome to the forum, deathstroke.

Had you read Section 5 of READ: How To Get Help! you would have known to supply information about your hardware in order for us to be able to help you.

I do not know exactly what you are trying to accomplish, but I ran a search on the command you ran and found this Three ways to set wireless interface to Monitor mode and Managed mode. Maybe that will help.

If not, please give us information about your install by entering this command in a terminal: inxi -Fxxxrz
Click </> from the mini toolbar above the textbox where you type your reply and then place your cursor between the code markers and paste the results of the command between the code markers [code]Results[/code]. This will let us know how Mint sees your hardware.
________________________________________

Edited to add:
3 Ways to put your Wi-Fi Interface in Monitor Mode in Linux which seems like it might be specific for Kali Linux, but it does list supported chipsets (hardware).

How to Put WiFi Interface into Monitor Mode in Linux? is dated for only a couple of months ago.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

deathstroke

Level 1
Level 1
Posts: 11
Joined: Fri Jul 02, 2021 1:42 am

Re: Monitor Mode Error

Post

by deathstroke » Sun Jul 04, 2021 2:48 am

Code: Select all

:~$ inxi -Fxxxrz
System:
  Kernel: 5.4.0-77-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 4.8.6 info: plank wm: muffin 4.8.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:
  Type: Portable System: Dell product: Vostro 2520 v: N/A serial: <filter> 
  Chassis: type: 8 serial: <filter> 
  Mobo: Dell model: 0V1NDP v: A11 serial: <filter> BIOS: Dell v: A11 
  date: 02/24/2014 
CPU:
  Topology: Dual Core model: Intel Core i3-2328M bits: 64 type: MT MCP 
  arch: Sandy Bridge rev: 7 L2 cache: 3072 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 17560 
  Speed: 898 MHz min/max: 800/2200 MHz Core speeds (MHz): 1: 898 2: 898 
  3: 898 4: 898 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0116 
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) 
  v: 3.3 Mesa 20.2.6 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20 
  Sound Server: ALSA v: k5.4.0-77-generic 
Network:
  Device-1: Broadcom and subsidiaries BCM43142 802.11b/g/n 
  vendor: Dell Wireless 1704 802.11n + BT 4.0 driver: wl v: kernel 
  port: f040 bus ID: 07:00.0 chip ID: 14e4:4365 
  IF: wlan0 state: dormant mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Dell driver: r8169 v: kernel port: e000 bus ID: 09:00.0 
  chip ID: 10ec:8168 
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:
  Local Storage: total: 465.76 GiB used: 257.72 GiB (55.3%) 
  ID-1: /dev/sda vendor: Seagate model: ST500LM012 HN-M500MBB 
  size: 465.76 GiB speed: 3.0 Gb/s rotation: 5400 rpm serial: <filter> 
  rev: 0003 scheme: MBR 
Partition:
  ID-1: / size: 456.95 GiB used: 257.72 GiB (56.4%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 76.0 C mobo: 60.0 C 
  Fan Speeds (RPM): cpu: 4769 
Repos:
  Active apt repos in: /etc/apt/sources.list.d/anydesk-stable.list 
  1: deb http://deb.anydesk.com/ all main
  Active apt repos in: /etc/apt/sources.list.d/atareao-atareao-focal.list 
  1: deb http://ppa.launchpad.net/atareao/atareao/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list 
  1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/chrome-remote-desktop.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome-remote-desktop/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/deadsnakes-ppa-focal.list 
  1: deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/gezakovacs-ppa-focal.list 
  1: deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  No active apt repos in: /etc/apt/sources.list.d/metasploit-framework.list 
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com ulyssa main upstream import backport
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/opera-stable.list 
  1: deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
  Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list 
  1: deb [signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list 
  1: deb http://repository.spotify.com stable non-free
Info:
  Processes: 261 Uptime: 19m Memory: 5.68 GiB used: 2.45 GiB (43.1%) 
  Init: systemd v: 247 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash 
  v: 5.1.4 running in: gnome-terminal inxi: 3.0.38 

Here you go. I’ll refer the other links you attached and I’ll let you know.

deathstroke

Level 1
Level 1
Posts: 11
Joined: Fri Jul 02, 2021 1:42 am

Re: Monitor Mode Error

Post

by deathstroke » Sun Jul 04, 2021 3:02 am

Based on the links you sent I tried these and here are the results

Code: Select all

rithik@rithik:~$ sudo ip link set wlan0 down
rithik@rithik:~$ sudo iw wlan0 set monitor control
command failed: Operation not supported (-95)

Code: Select all

rithik@rithik:~$ sudo airmon-ng
[sudo] password for rithik:     

PHY	Interface	Driver		Chipset

phy0	wlan0		wl		Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

rithik@rithik:~$ sudo airmon-ng check kill

Killing these processes:

    PID Name
   1002 wpa_supplicant
   8204 avahi-daemon
   8208 avahi-daemon

rithik@rithik:~$ sudo airmon-ng start wlan0

Found 2 processes that could cause trouble.
Kill them using 'airmon-ng check kill' before putting
the card in monitor mode, they will interfere by changing channels
and sometimes putting the interface back in managed mode

    PID Name
   8221 avahi-daemon
   8222 avahi-daemon

PHY	Interface	Driver		Chipset

phy0	wlan0		wl		Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

		(experimental wl monitor mode vif enabled for [phy0]wlan0 on [phy0]prism0)

rithik@rithik:~$ sudo airmon-ng check kill

Killing these processes:

    PID Name
   8437 avahi-daemon
   8444 avahi-daemon

rithik@rithik:~$ sudo airmon-ng start wlan0

Found 2 processes that could cause trouble.
Kill them using 'airmon-ng check kill' before putting
the card in monitor mode, they will interfere by changing channels
and sometimes putting the interface back in managed mode

    PID Name
   8458 avahi-daemon
   8459 avahi-daemon

PHY	Interface	Driver		Chipset

phy0	wlan0		wl		Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

		(experimental wl monitor mode vif already enabled for [phy0]wlan0 on [phy0]prism0)

rithik@rithik:~$ sudo kill 8458
rithik@rithik:~$ sudo kill 8459
kill: (8459): No such process
rithik@rithik:~$ sudo airmon-ng check kill

Killing these processes:

    PID Name
   8653 avahi-daemon
   8660 avahi-daemon

rithik@rithik:~$ sudo airmon-ng start wlan0

Found 2 processes that could cause trouble.
Kill them using 'airmon-ng check kill' before putting
the card in monitor mode, they will interfere by changing channels
and sometimes putting the interface back in managed mode

    PID Name
   8673 avahi-daemon
   8674 avahi-daemon

PHY	Interface	Driver		Chipset

phy0	wlan0		wl		Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01)

		(experimental wl monitor mode vif already enabled for [phy0]wlan0 on [phy0]prism0)

rithik@rithik:~$ sudo iwconfig
eth0      no wireless extensions.

prism0    no wireless extensions.

lo        no wireless extensions.

wlan0     IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=200 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          
rithik@rithik:~$ sudo systemctl start NetworkManager
rithik@rithik:~$ 

Code: Select all

rithik@rithik:~$ sudo ifconfig wlan0 down
[sudo] password for rithik:     
rithik@rithik:~$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported

Code: Select all

rithik@rithik:~$ sudo systemctl stop NetworkManager
[sudo] password for rithik:     
rithik@rithik:~$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported.
rithik@rithik:~$ sudo iwconfig wlan0 mode monitor
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported

Doesn’t my wireless card support monitor mode?

User avatar

SMG

Level 24
Level 24
Posts: 20938
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Monitor Mode Error

Post

by SMG » Sun Jul 04, 2021 10:59 am

Your network info is showing the wireless as dormant. I am not familiar with that setting. Normally, the state is either up or down. Your Ethernet is showing as up.

Network:
Device-1: Broadcom and subsidiaries BCM43142 802.11b/g/n
vendor: Dell Wireless 1704 802.11n + BT 4.0 driver: wl v: kernel
port: f040 bus ID: 07:00.0 chip ID: 14e4:4365
IF: wlan0 state: dormant mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Dell driver: r8169 v: kernel port: e000 bus ID: 09:00.0
chip ID: 10ec:8168
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>

I did find this old thread BCM43142 monitor mode : operation not suported! which has the exact same wireless device. It seems to indicate the Linux drivers available for the card do not support monitor mode. I do not know if there is newer information or other information which might have a way for it to work.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

deathstroke

Level 1
Level 1
Posts: 11
Joined: Fri Jul 02, 2021 1:42 am

Re: Monitor Mode Error

Post

by deathstroke » Mon Jul 05, 2021 1:58 am

Code: Select all

sudo apt-get install b43-fwcutter firmware-b43-installer
[sudo] password for root:     
Reading package lists... Done
Building dependency tree       
Reading state information... Done
b43-fwcutter is already the newest version (1:019-4).
firmware-b43-installer is already the newest version (1:019-4).
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded

The threads suggest that I can work in a new interface called prism0 and not mon0
But how do set my card to that mode?

User avatar

SMG

Level 24
Level 24
Posts: 20938
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Monitor Mode Error

Post

by SMG » Mon Jul 05, 2021 11:34 am

deathstroke wrote: ↑

Mon Jul 05, 2021 1:58 am

The threads suggest that I can work in a new interface called prism0 and not mon0
But how do set my card to that mode?

What thread? I supplied quite a few links.

I do not have a computer with the same wireless card you have, so my ability to help you is limited.

I am going to return to my comment about your wireless connection being dormant. I found this explanation What does mean DORMANT mode in ip link show wlan0? which seems to indicate to me that you have to get the wireless in an up state before it is going to do anything for you.

Image
A woman typing on a laptop with LM20.3 Cinnamon.

In this tutorial we’ll enable monitor mode on a TP-LINK TL-WN722N V2/V3 wireless adapter, on a Kali Linux machine running on VMware or VirtualBox.

Some sources may be confusing, and lead you to believe that you can only enable monitor mode on TP-LINK TL-WN722N v1 because it has one of the required chipsets for monitor mode, Atheros AR9271, and that you can’t enable it on V2/V3. You can, however.

To start off, if you’re using a virtual machine, first you’ll have to connect your wireless adapter to your Kali Linux virtual machine.

Set up the Adapter

Next, we’ll run some commands to set up the adapter.

First update and upgrade your package index.

sudo apt update && sudo apt upgrade

Reboot your machine.

sudo reboot

Install Linux headers for your Kali Linux.

sudo apt install linux-headers-$(uname -r)

Run the following commands to install the bc package and remote the r8188eu.ko module.

sudo apt install bc
sudo rmmod r8188eu.ko

Clone the Realtek driver from the aircrack-ng Github repository.

git clone https://github.com/aircrack-ng/rtl8188eus

Run the following commands.

cd rtl8188eus
sudo -i
echo "blacklist r8188eu" > "/etc/modprobe.d/realtek.conf"
exit
reboot

After the reboot run the following commands (we have to cd back into the rtl8188eus directory that we cloned earlier):

cd rtl8188eus
make
sudo make install
sudo modprobe 8188eu

To enable monitor mode, run the following commands:

sudo ifconfig wlan0 down
sudo airmon-ng check kill
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up
sudo iwconfig

Here’s the output you should be seeing. You can see that the adapter is set to Mode: Monitor.

Troubleshooting When Enabling Monitor Mode

In some cases it doesn’t work right away. For example you may get the error Error for wireless request "Set Mode" (8B06) : SET failed on device wlan0 ; Operation not permitted.

The solution that has worked for me every time is the following (credit to this Github user’s comment).

Run the following commands in this order:

sudo ifconfig wlan0 up
sudo rmmod r8188eu.ko
sudo modprobe 8188eu
sudo iwconfig wlan0 mode auto
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode monitor
sudo ifconfig wlan0 up

Now when you check iwconfig you should see the adapter is in monitor mode.

Conclusion

In this tutorial we set up a TP-LINK TL-WN722N V2/V3 adapter to run in monitor mode. If you have any issues or questions then please don’t hesitate to leave a comment. Hope this helped. Thank you.

twisted_zero

Posts: 2
Joined: Tue Dec 04, 2012 11:25 am

Wifi ad-hoc setup raspbian

Hey all,

I am trying to set up an ad-hoc network from the Pi.
The setup is a clean install with the latest Raspbian-image (28-10).

I have tried it with a rt73 and a rtl8187.

What works: connect to a network.
Where i am getting stuck:

Code: Select all

pi@raspberrypi ~ $ sudo iwconfig wlan1 mode ad-hoc
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan1 ; Device or resource busy.

pi@raspberrypi ~ $ sudo iwconfig wlan0 mode ad-hoc
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not supported.
pi@raspberrypi ~ $ 

Please help me out


hosackm

Posts: 4
Joined: Fri Jul 06, 2012 7:27 pm

Re: Wifi ad-hoc setup raspbian

Thu Jan 17, 2013 11:51 pm

Not sure if you are still wondering about this post but I had the same problem. I tried shutting down the wlan0 device using:

sudo ifconfig wlan0 down

and then using the command:

sudo iwconfig wlan0 mode Ad-Hoc

but this doesn’t work. But if I put the two commands together separated by a semicolon it does work…:

sudo ifconfig wlan0 down;sudo iwconfig wlan0 mode Ad-Hoc

From there on you can change the settings of the wlan0 device ie:

sudo iwconfig essid RaspberryPiNetwork
sudo iwconfig key «somekey»
etc…




brebete

Posts: 1
Joined: Tue Sep 24, 2013 5:33 pm

Re: Wifi ad-hoc setup raspbian

Tue Sep 24, 2013 5:38 pm

The raspian has a service called ifplugd. This ifplugd is a daemon which will automatically configure your ethernet device when it is plugged in and automatically unconfigure it if it is pulled.

So, it does the device stay busy. Disabling it allow you to use ifconfig and iwconfig normally. Just use the comand:

$ sudo service ifplugd stop

And be happy :)


crack01854

Posts: 1
Joined: Wed Oct 09, 2013 2:09 am

Re: Wifi ad-hoc setup raspbian

Wed Oct 09, 2013 2:13 am

FYI, hopefully Google picks this up to save someone else some trouble, I spent a few hrs until stumbling on brebete’s post:

root@raspberrypi:~# macchanger -A wlan0
Permanent MAC: xx:xx:xx
Current MAC: xx:xx:xx
ERROR: Can’t change MAC: interface up or not permission: Device or resource busy

After kicking around why ifconfig wlan0 down wasn’t really working, his solution is spot on and wish there was a better hint in logs or screen to have helped save this time.

service ifplugd stop; ifconfig wlan0 down; macchanger -r wlan0; ifconfig wlan0 up; service ifplugd start


acutetech

Posts: 1
Joined: Sun Mar 04, 2018 8:01 pm

Re: Wifi ad-hoc setup raspbian

Sun Mar 04, 2018 8:49 pm

I also get the «Device or resource busy» error to the «sudo iwconfig wlan0 mode Ad-Hoc» command.
I tried the «sudo service ifplugd stop» fix but get «Failed to stop ifplugd.service: Unit ifplugd.service not loaded.»
So I guess that since the fix in 2013 something has changed. (I am using Raspberry Pi Zero W and Raspian Stretch)

Also, placing both commands on one line separated by a semicolon does not fix the problem.

What is causing the «Device or resource busy» error and how do I fix it?

Background — I am trying to set up the Babel mesh network using this script: https://gist.github.com/Paspartout/e063 … 10029118ab

LATER:
Further to my previous post of 4 March, it appears that my problem occurs with the Stretch release but not the Jessie release. The Babel script I quote runs OK with Jessie.

I see some references elsewhere mentioning various network problems when moving from Jessie to Stretch, especially tutorials no longer working. For example this one:

https://somesquares.org/blog/2017/10/Ra … Pi-router/

says: «Differences between what I found in previous tutorials and what I needed to do related mainly to the switch from configuring the WiFi interface device via the /etc/network/interfaces file (used under Jessie and prior versions of Raspbian) to using the /etc/dhcpcd.conf file (as used by Stretch).

Does anyone know where to look to find clear explanations of differences?



Kheti

Posts: 2
Joined: Wed Jul 11, 2018 10:00 am

How to configure Raspberry pi zero w Mesh network

Thu Aug 02, 2018 9:22 am

Hello Guys,
How Are You ? I Hope You All are Fine.

Right now I Am Working On Raspberry pi Zero W WiFi Mesh Network.

Aim : Configure Raspberry pi Zero W WiFi Mesh Network.

please help How To Archived Raspberry pi Zero W WiFi Mesh Network configuration and what’s i need ? ,so i can complete my task.

Hussain Kheti.


DirkS

Posts: 10810
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How to configure Raspberry pi zero w Mesh network

Thu Aug 02, 2018 9:27 am

Kheti wrote: ↑

Thu Aug 02, 2018 9:22 am


Hello Guys,
How Are You ? I Hope You All are Fine.

Right now I Am Working On Raspberry pi Zero W WiFi Mesh Network.

Aim : Configure Raspberry pi Zero W WiFi Mesh Network.

please help How To Archived Raspberry pi Zero W WiFi Mesh Network configuration and what’s i need ? ,so i can complete my task.

Hussain Kheti.

So why is the same, older topic solved?
viewtopic.php?f=28&t=219176&p=1346201#p1346201


User avatar

PeterO

Posts: 6095
Joined: Sun Jul 22, 2012 4:14 pm

Re: How to configure Raspberry pi zero w Mesh network

Thu Aug 02, 2018 10:46 am

«topic does not exist» …..
PeterO

Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
«The primary requirement (as we’ve always seen in your examples) is that the code is readable. » Dougie Lawson


DirkS

Posts: 10810
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How to configure Raspberry pi zero w Mesh network

Thu Aug 02, 2018 10:49 am

PeterO wrote: ↑

Thu Aug 02, 2018 10:46 am

«topic does not exist» …..
PeterO

I also reported it as a duplicate, so probably removed by mod or OP


IrishHayZeus

Posts: 6
Joined: Tue May 07, 2013 6:35 pm

Re: Wifi ad-hoc setup raspbian

Wed Aug 29, 2018 1:58 am

Same issue… Trying to configure Mesh network. Found in another thread: wpa_supplicant is running which exclusively ties up the radio modem for some reason. stop/kill wpa_supplicant, and then it let me change the mode without any issue.


nbrub

Posts: 1
Joined: Tue Sep 10, 2019 8:31 am

Re: Wifi ad-hoc setup raspbian

Tue Sep 10, 2019 8:54 am

Same issue on Raspbian Buster trying to change mode to Ad-Hoc;

Code: Select all

$ sudo iwconfig wlan0 mode Ad-Hoc
Error for wireless request "Set Mode" (8B06) : 
		SET failed on device wlan0 ; Device or resource busy

Stopping wpa_supplicant AND dhcpcd worked for me.


sismic

Posts: 1
Joined: Mon Mar 02, 2020 11:08 am

Re: Wifi ad-hoc setup raspbian

Mon Mar 02, 2020 11:21 am

Stopping the wpa_supplicant was inddeed the solution to get a working Ad-Hoc on my Raspberry 2 (buster OS).

The command were:

wpa_cli terminate
sudo ifconfig wlan0 down
sudo iwconfig wlan0 mode ad-hoc
sudo iwconfig wlan0 essid my-adhoc-name
sudo iwconfig wlan0 channel 1
sudo ifconfig wlan0 up

thx nbrub!


Return to “Beginners”

  • Перейти на CTF площадку Игры Кодебай

    Выполняйте задания по кибербезопасности в формате CTF и получайте бесценный опыт. Ознакомиться с подробным описанием можно тут.

  • B правой части каждого сообщения есть стрелки и . Не стесняйтесь оценивать ответы. Чтобы автору вопроса закрыть свой тикет, надо выбрать лучший ответ. Просто нажмите значок в правой части сообщения.

roooooot


  • #1

Купил данный девайс, kali его видит, подключиться к домашней сети даёт. Однако брал я сию вещь для режима мониторинга. Через airmon-ng отображается, однако после ввода airmon-ng start wlan0 ничегошеньки не меняется. Через команду iwconfig wlan0 mode monitor выбивает
Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Invalid argument.
Я решил что всё дело в драйверах, однако на офф сайте версия только для Kernel 2.6.18~3.19.3, а у меня как раз таки 4.19.0 , и что делать в данном случае понятия не имею. Попробовать поставить эти дрова попробовал, но кроме десятка ошибок ничего не добился. Подскажите, если кто сталкивался, есть ли вариант всё сделать «что бы работало», или легче просто другую балалайку купить?

  • #2

Купил данный девайс, kali его видит, подключиться к домашней сети даёт. Однако брал я сию вещь для режима мониторинга. Через airmon-ng отображается, однако после ввода airmon-ng start wlan0 ничегошеньки не меняется. Через команду iwconfig wlan0 mode monitor выбивает
Error for wireless request «Set Mode» (8B06) :
SET failed on device wlan0 ; Invalid argument.
Я решил что всё дело в драйверах, однако на офф сайте версия только для Kernel 2.6.18~3.19.3, а у меня как раз таки 4.19.0 , и что делать в данном случае понятия не имею. Попробовать поставить эти дрова попробовал, но кроме десятка ошибок ничего не добился. Подскажите, если кто сталкивался, есть ли вариант всё сделать «что бы работало», или легче просто другую балалайку купить?

codeby.net

TP Link TL-WN722N monitor mode IS WORK!

Спешу сообщить всем тем кто приобрел себе этот замечательный девайс для тестирования на проникновение беспроводных сетей, замечательнейшую новость

codeby.net


codeby.net

roooooot


  • #3

codeby.net

TP Link TL-WN722N monitor mode IS WORK!

Спешу сообщить всем тем кто приобрел себе этот замечательный девайс для тестирования на проникновение беспроводных сетей, замечательнейшую новость

codeby.net


codeby.net

  • Снимок экрана от 2019-08-12 20-59-37.png

    Снимок экрана от 2019-08-12 20-59-37.png

    113 КБ

    · Просмотры: 998

roooooot


  • #5

При установке драйвера ошибок не было, но ничего так и не заработало… После ввода
aireplay-ng —test wlan0
выдало

Код:

ioctl(SIOCSIWMODE) failed: Invalid argument
ioctl(SIOCSIWMODE) failed: Invalid argument
Error setting monitor mode on wlan0

  • #6

При установке драйвера ошибок не было, но ничего так и не заработало… После ввода
aireplay-ng —test wlan0
выдало

Код:

ioctl(SIOCSIWMODE) failed: Invalid argument
ioctl(SIOCSIWMODE) failed: Invalid argument
Error setting monitor mode on wlan0

Может быть
iwconfig wlan0 mode auto
aireplay-ng — — test wlan0
И да убедись что это именно wlan0

roooooot


  • #7

Может быть
iwconfig wlan0 mode auto
aireplay-ng — — test wlan0
И да убедись что это именно wlan0

Код:

root@kali:~# iwconfig
wlan0     unassociated  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth1      no wireless extensions.

eth0      no wireless extensions.

root@kali:~# iwconfig wlan0 mode auto
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not permitted.
root@kali:~# aireplay-ng --test wlan0
ioctl(SIOCSIWMODE) failed: Operation not permitted
ioctl(SIOCSIWMODE) failed: Operation not permitted
Error setting monitor mode on wlan0

  • #8

Код:

root@kali:~# iwconfig
wlan0     unassociated  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0 
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth1      no wireless extensions.

eth0      no wireless extensions.

root@kali:~# iwconfig wlan0 mode auto
Error for wireless request "Set Mode" (8B06) :
    SET failed on device wlan0 ; Operation not permitted.
root@kali:~# aireplay-ng --test wlan0
ioctl(SIOCSIWMODE) failed: Operation not permitted
ioctl(SIOCSIWMODE) failed: Operation not permitted
Error setting monitor mode on wlan0

su -i или su -l или перед каждой командой sudo
ifconfig wlan0 down
iwconfig wlan0 mode auto
ifconfig wlan0 up

roooooot


  • #9

su -i или su -l или перед каждой командой sudo
ifconfig wlan0 down
iwconfig wlan0 mode auto
ifconfig wlan0 up

Всё повторяется, одна и та же ошибка. Буду короче менять это шило на другое мыло, авось повезёт… Спасибо за помощь!

  • #10

Всё повторяется, одна и та же ошибка. Буду короче менять это шило на другое мыло, авось повезёт… Спасибо за помощь!

Так operation not permitted это всего лишь ошибка о том что у вас недостаточно прав (вы не root)
Без sudo, даже альфу в monitore Mode не переведёшь

roooooot


  • #11

Так operation not permitted это всего лишь ошибка о том что у вас недостаточно прав (вы не root)
Без sudo, даже альфу в monitore Mode не переведёшь

Вчера попробовал, теперь другую ошибку выдало. Так что решил не заморачиваться и купить wn727n. Спасибо за советы

wlan0mode


  • #12

Доброго времени суток, наткнулся на такой же баян по поводу tl-wn722n v3 всё что написали в теме сделал но ошибка та же error setting monitor mode on wlan0 есть ли у вас решение данной проблемы?

f22

f22

Codeby Team


wlan0mode


  • #14

Из первого поста я понял что с 2018 года эту проблему так и не решили и нету смысла пытаться что либо делать т.к этот адаптер не пригоден для вардрайвинга из под Линукс?

f22

f22

Codeby Team


  • #15

Из первого поста я понял что с 2018 года эту проблему так и не решили и нету смысла пытаться что либо делать т.к этот адаптер не пригоден для вардрайвинга из под Линукс?

Первая версия этого адаптера на kali работает норм.

wlan0mode


  • #16

Первая версия этого адаптера на kali работает норм.

Щас пробую через кали 2019.2 установить драйвера и завести шарманку

P.s. может кто оставить ссылку на норм альфу с али, говоря норм альфу я подразумеваю не лютую подделку, а подделку которая на норм чипсете и норм чувствительная.

Щас пробую через кали 2019.2 установить драйвера и завести шарманку

P.s. может кто оставить ссылку на норм альфу с али, говоря норм альфу я подразумеваю не лютую подделку, а подделку которая на норм чипсете и норм чувствительная.

Последнее редактирование: 13.01.2020

Rocer


  • #17

Попробуй самый простой способ программа airgeddon она покажет поддерживает твой модем режим мониторинга или нет

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error code 30005 apex legends
  • Error for wireless request set mode 8b06 set failed on device wlan0 operation not permitted
  • Error code 30005 albion online
  • Error for wireless request set mode 8b06 set failed on device wlan0 invalid argument
  • Error for wireless request set mode 8b06 set failed on device wlan0 cannot allocate memory

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии