Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not put device in monitor mode #86

Open
ibexnet opened this issue Oct 27, 2023 · 2 comments
Open

Could not put device in monitor mode #86

ibexnet opened this issue Oct 27, 2023 · 2 comments

Comments

@ibexnet
Copy link

ibexnet commented Oct 27, 2023

HI,
I try to use owl with an wifi card that I know support monitor mode.
Below the commands used:

# iw phy `iw dev wlan0 info | gawk '/wiphy/ {printf "phy" $2}'` interface add mon0 type monitor
# iw mon0 info
Interface mon0
        ifindex 11
        wdev 0x100000004
        addr 00:e0:4c:4b:bb:76
        type monitor
        wiphy 1
        txpower 20.00 dBm
#
# owl -i mon0
--omitted output --
14:40:16 ERROR: Error while receiving via netlink: Operation not supported
14:40:16 ERROR: Could not put device in monitor mode: mon0
14:40:16 ERROR: could not initialize core

I used this interface with various kali tools and the monitor mode work:

# aireplay-ng --test mon0
14:40:54  Trying broadcast probe requests...
14:40:55  Injection is working!
14:40:56  Found 1 AP 

14:40:56  Trying directed probe requests...
14:40:56  AB:CD:EF:12:34:56 - channel: 11 - '****'
14:41:02  Ping (min/avg/max): 8.359ms/75.606ms/142.687ms Power: -94.75
14:41:02   4/30:  13%
@MarkusTieger
Copy link

Does your wifi card support "active monitor mode" ?
The way i set my card into monitor mode:

  • ip link set wlan0 down
  • iw wlan0 set type monitor
  • iw wlan0 set monitor active (error "command failed: Operation not supported (-95)" means, that it isn't supported on your card)
  • ip link set wlan0 up

@JanBdf
Copy link

JanBdf commented May 28, 2024

This is probably a bit late at this point but I will comment on it anyways for others experiencing the same issue. As far as I know you have to use -N with owl here to tell it that the device is already in monitor mode. Otherwise owl tries to change the mode from monitor to monitor which doesn't work. My source is this tutorial on how to use owl on an RPi 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants