Comments (12)
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.
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.
Slide 29
from nexmon.
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.
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.
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.
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.
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.
jlcastillo, yes, by using this method I can use airodump-ng to monitor all channels with embedded rpi3 WiFi adapter
from nexmon.
@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.
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.
Awesome, thanks @vzxrs - works a treat!
from nexmon.
which bcm did you choose ?
I failed with error "operation not supported"
from nexmon.
Related Issues (20)
- orange pi zero 2 w HOT 1
- [Help] recompiling nexmon for RPI 4
- RPI Zero 2W | Not all versions supported? HOT 2
- The Nexus5 phone cannot connect to the network HOT 5
- Nexmon introduces local InfoDisclosure vulnerability?? HOT 2
- Jammer
- Error when running 'make' in patches directory HOT 19
- Nexus 6p Malformed Packets Capture Issue HOT 1
- How to Install on Asus RT-AX86U Pro HOT 1
- Raspberry Pi 4 firmware version not in patches HOT 11
- BCM43455C0: firmware has halted or crashed HOT 50
- Set channel failed: chspec=**** HOT 7
- monitor interface cannot be set
- different drivers being used HOT 1
- unable to compile, Raspberry Pi 5 kernel 6.6.y HOT 11
- unable to compile for RPI4 aarch64 kernel 5.15 HOT 3
- BPi M2 Zero installation HOT 4
- wlan0 disappears on pi zero w after install (6.1.y and 5.15.y)
- About security issues HOT 2
- RPi02W: Firmware halted or crashed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nexmon.