Giter Site home page Giter Site logo

Comments (12)

DH-Mike avatar DH-Mike commented on June 14, 2024 1

Little tip,
While in monitor mode (nexutil -m2),
You can manually change the channel on the interface by using the 'nexutil' binary like this:

nexutil -k$SOMECHANNEL

This works great on my RPI 3 B!

from nexmon.

haensche avatar haensche commented on June 14, 2024

I've got the same issue.
I think that they haven't included channel switching yet. The error code is generated because wlan0 is managed via the nexmon patch and can no longer be accessed the normal way. Reboot and take the old driver module to configure wlan0 with iwconfig and iw.

Sources:
https://2016.mrmcd.net/fahrplan/system/event_attachments/attachments/000/002/897/original/nexmon_mrmcd16.pdf

Slide 29

from nexmon.

jlcastillo avatar jlcastillo commented on June 14, 2024

Do you know how to do it without rebooting? So far I successfully changed from monitored to managed mode:

  • go into managed mode from monitored mode (provided wlan0 is up and in monitor mode as shown by 'ifconfig' and 'iwconfig')
rmmod brcmfmac 
cp /home/pi/nexmon/patches/bcm43438/7_45_41_26/nexmon/brcmfmac43430-sdio.bin.orig /lib/firmware/brcm/brcmfmac43430-sdio.bin	
modprobe brcmfmac
ifconfig wlan0 up

however I cannot change the channel with 'iwconfig wlan0 channel 10' or 'iw wlan0 set channel 10'.

Error for wireless request "Set Frequency" (8B04) :
SET failed on device wlan0 ; Operation not supported.

from nexmon.

JBaczuk avatar JBaczuk commented on June 14, 2024

I am also having a similar problem, though when I try the above commands to change channels I get:

Error for wireless request "Set Frequency" (8B04) :
    SET failed on device wlan0 ; Device or resource busy.

from nexmon.

durika avatar durika commented on June 14, 2024

Got the same issue
`
CH 13 ][ Elapsed: 6 mins ][ 2017-06-07 15:56 ][ fixed channel wlan0: -1

BSSID PWR RXQ Beacons #Data, #/s CH MB ENC CIPHER AUTH ESSID

BSSID STATION PWR Rate Lost Frames Probe

`

from nexmon.

vzxrs avatar vzxrs commented on June 14, 2024

changing type of monitor mode with nexutil solved this issue for me.

nexutil -m0
nexutil -m1
nexutil -m2

After this hoping seems work fine.

Also try to switch through another modes (-m5, -m6, m7 even not existing modes), launch airodump-ng (it closes with errors) and then revert to -m2. Sometimes only this solution fixes the issue.

from nexmon.

jlcastillo avatar jlcastillo commented on June 14, 2024

vzxrs, were you able to use airmon to monitor all channels? Last time I tried I was able to receive some packets from adjacent channels, but not all. In the end I bought a small dongle that is working fine without hacks.

from nexmon.

vzxrs avatar vzxrs commented on June 14, 2024

jlcastillo, yes, by using this method I can use airodump-ng to monitor all channels with embedded rpi3 WiFi adapter

from nexmon.

jlcastillo avatar jlcastillo commented on June 14, 2024

@vzxrs can you please write here all commands that you execute since the Raspberri Pi boots up until you get it to work with aurodump-ng ? Can you also tell us the model of your Raspberri Pi?

from nexmon.

vzxrs avatar vzxrs commented on June 14, 2024

here it is

sudo rmmod brcmfmac
sudo insmod <PATH TO KERNEL MODULE>/brcmfmac.ko - kernel module is in /nexmon/patches/bcm43438/7_45_41_26/nexmon/brcmfmac_kernel49 folder by default
nexutil -m7
sudo airodump-ng -i wlan0

Here it outputs:
ioctl(SIOCSIWMODE) failed: Operation not supported
ioctl(SIOCSIWMODE) failed: Operation not supported
Error setting monitor mode on wlan0

Then

nexutil -m2
sudo airodump-ng -i wlan0

That's all

from nexmon.

g0blinResearch avatar g0blinResearch commented on June 14, 2024

Awesome, thanks @vzxrs - works a treat!

from nexmon.

spadejack014 avatar spadejack014 commented on June 14, 2024

which bcm did you choose ?
I failed with error "operation not supported"

from nexmon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.