nexmonster / nexmon_csi

Channel State Information for Raspberry Pi. Use the pi-5.10.92 branch.
https://github.com/nexmonster/nexmon_csi/tree/pi-5.10.92
63 stars 27 forks source link

Nexutil command not working #39

Closed Sankalp1Singh closed 1 year ago

Sankalp1Singh commented 1 year ago

Im using a Raspberry pi 4b with raspbian os 32bit system The installation ran smoothly I keep getting this error when I run the nexutil -Iwlan0 -s500 -b -l34 -vm+IBEQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==

I keep getting this error nex_init_netlink: socket error (93: Protocol not supported) nex_init_netlink: socket error (93: Protocol not supported) nex_init_netlink: bind error (9: Bad file descriptor) nex_init_netlink: connect error (9: Bad file descriptor) ERR (__nex_driver_netlink): no valid answer received Ss print Please respond asap

zeroby0 commented 1 year ago

Try restarting the pi :D

Sankalp1Singh commented 1 year ago

Try restarting the pi :D

Hii I tried it and it ended up taking out the wlan0 interface I faced this issue multiple times so I reflashed the sd card and restarted the entire installation but this is where I keep getting stuck. Please help me out

zeroby0 commented 1 year ago

I would need more information. Post the exact steps you took to install and include as much information as you can.

The most frequent reason for issues is that the install instructions aren't followed exactly. I recommend installing https://github.com/nexmonster/nexmon_csi_bin on a fresh installation while following the instructions exactly.

The error can still occur if the firmware crashes, and the fastest and easiest fix is to restart the pi.

Also check if you're using the right kernel version: uname -a

https://github.com/seemoo-lab/nexmon_csi/issues?q=93

Sankalp1Singh commented 1 year ago

This is the output log of the installation. Here the patch files are installed in 7_45_189, but according to the firmware I have, ie 5.4.51-v7l+ and I should be installing the patch in 7_45_206.

DISASSEMBLING UCODE^[[0m /home/pi/nexmon/firmwares/bcm43455c0/7_45_189/ucode.bin => gen/ucode.asm ^[[0;31m PATCHING UCODE^[[0m src/csi.ucode.bcm43455c0.7_45_189.patch => src/csi.ucode.bcm43455c0.7_45_189.asm ^[[0;31m ASSEMBLING UCODE^[[0m src/csi.ucode.bcm43455c0.7_45_189.asm => gen/ucode.bin

Capture