-
Notifications
You must be signed in to change notification settings - Fork 449
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
Does it work on rpi zero 2 W ? #500
Comments
you could run nexutil -V and post the output for a start
… On 11. Nov 2021, at 07:39, Dhruv ***@***.***> wrote:
Pi zero 2 W has bcm2710a1 chip, I don't have it on hand but if anyone owns it can you test if nexmon works on the new raspberry pi zero 2 W too ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#500>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACZ773QTSQYQUDPDCP66CR3ULNQLHANCNFSM5HZWREYA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Here's a
|
It looks like a new revision of the chip already known from the Raspberry Pi 3. See also: https://github.com/seemoo-lab/nexmon/blob/master/REVINFO.md <https://github.com/seemoo-lab/nexmon/blob/master/REVINFO.md>
So you could try, if its firmware also runs on the Zero 2 W. If not, you need to patch the Zero 2 W firmware.
… On 15. Nov 2021, at 06:06, skontrolle ***@***.***> wrote:
Here's a nextutil -V dump on a zero2.
firmware 9.88.4.65 (test) ***@***.***) (r679549) FWID 01-f40f3270
vendorid 0x14e4
deviceid 0x43e2
radiorev 0x403da000
chipnum 0xa9a6
chiprev 0x2
chippackage 0x4
corerev 0x27
boardid 0x726
boardvendor 0x14e4
boardrev P101
driverrev 0x9580000
ucoderev 0x4135105
bus 0x0
phytype 0xc
phyrev 0x1
anarev 0x0
nvramrev 0x0
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#500 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACZ773TBRDAUAYN3P4AHJK3UMCIOVANCNFSM5HZWREYA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@matthiasseemoo thanks for the tip. I was unable to get anything renaming the 7_45_41_46 firmware to 43436. I think we might need to patch the 43436 firmware. How involved is that? Are the patches similar between generations? Complaint when using renamed patched brcmfmac43430-sdio:
Successful modprobe with the official firmware:
|
Any updates on this? |
Not that I know off. Still waiting on the driver updates. |
Started looking at it, it's using a different format for flashpatches (looks like bcm43596 patches format) |
How can I help? |
I'd need someone experienced in rev eng helping me finding all the offsets/patches for this new fw. |
generally yes. it will ensure that ucode compression works so that you have enough space for other patches.
… On 8. Jan 2022, at 14:41, DrSchottky ***@***.***> wrote:
I'd need someone experienced in rev eng helping me finding all the offsets/patches for this new fw.
I already ported definitions.mk and part of rom_extraction code, but even the simplest patch doesn't work (chip is dead after loading custom fw).
@matthiasseemoo <https://github.com/matthiasseemoo> is patch.c <https://github.com/seemoo-lab/nexmon/blob/master/patches/bcm43430a1/7_45_41_46/nexmon/src/patch.c> the bare minimum to test if definitions.mk is ok, right?
—
Reply to this email directly, view it on GitHub <#500 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ACZ773V42WMFXJ3CVSSI2TDUVA5I3ANCNFSM5HZWREYA>.
Triage notifications on the go with GitHub Mobile for iOS <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you were mentioned.
|
Any update on this? |
Yes, it's done. |
Awesome job! |
awesome work. thank you |
Plsss i need it |
Very good work, we all thank your for your work and support. |
any ETA on this @DrSchottky ? (sorry, we're all waiting anxiously for the patched driver) |
Out of curiosity. Who needs to give permission for publication? And how does that work? |
Who sponsored me to work on this. @davenicoll I hope in the next few weeks. |
Thank you! |
I sent a PR with the patches Tested it with basic patches (monitor mode and injection) and they look fine. Your feedback is welcome |
Ty I go to test it now!! |
Found a bug: If you inject frames too fast or do chan hopping while injecting (both scenarios can be reproduced with aireplay) firmware crashes
Working on a patch... UPDATE: |
I tried to use the code from https://github.com/DrSchottky/nexmon.git. BUILDING DRIVER for kernel 5.4 brcmfmac_5.4.y-nexmon/brcmfmac.ko (details: log/driver.log) Actually the brcmfmac_5.4.y-nexmon folder is void. |
I included brcmfmac only for 5.10 since it's the kernel shipped with the latest Raspberry Pi OS. |
Thank you for your swift feedback. BUILDING DRIVER for kernel 5.4 brcmfmac_5.4.y-nexmon/brcmfmac.ko (details: log/driver.log) |
I had some similar issues but I downgraded kernel |
Or switch to Raspberry Pi OS |
I am getting |
I installed a fresh Raspberry pi OS lite but still is not working. processor : 0 processor : 1 processor : 2 processor : 3 Hardware : BCM2835 Any ideas and suggestions would be very welcome. |
Use 32bit Raspberry Pi OS |
I am running into these issues on pwnagotchi
My best guess is ephemeral port exhaustion |
Thank you for your support. |
After installing did you move the driver as explained here:
|
l
Thank you so much for the heads-up. wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 iwconfig: mon0 IEEE 802.11 Mode:Monitor Frequency:2.437 GHz Tx-Power=31 dBm ip a: iw dev: System: Raspberry pi zero 2 w, Raspberry Pi OS, kernel 5.10.92-v7+ |
That's because wlan0 seems to be connected to your home network. |
Thank you for your reply. |
As @moni11811 stated, it's not possible to use the wlan adapter and have it in monitor mode, no. If you need access to your pi, connect it to a laptop via USB and SSH from there (how to guide: https://pwnagotchi.ai/configuration/#connecting-to-pi0w-with-microusb-cable-on-linux-host). |
Thank you for clarifying this topic. |
From my very poor understanding I have seemingly done all steps pointed out in the guide and what this thread has had to say and yet my wlan0 remains managed and my mon0 empty, would anyone be able to help. I'm happy to provide more details if are needed. |
Pi zero 2 W has bcm2710a1 chip, I don't have it on hand but if anyone owns it can you test if nexmon works on the new raspberry pi zero 2 W too ?
The text was updated successfully, but these errors were encountered: