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
60 stars 26 forks source link

Installation Problems #49

Open rory-ward opened 1 year ago

rory-ward commented 1 year ago

Hi,

When I run: curl -fsSL https://raw.githubusercontent.com/nexmonster/nexmon_csi_bin/main/install.sh | sudo bash

I get the error: "Pre-compiled binaries probably don't exist for your kernel's version: 6.1.21-v8+."

What can I do to work around this?

Thanks

zeroby0 commented 1 year ago

Nexmon_csi is only available for kernel versions 5.10.x, 5.4.x, and 4.19.x. The latest supported kernel is 5.10.92. You'll find the url to the rpi os with kernel 5.10.92 here: https://github.com/nexmonster/nexmon_csi_bin#install

Flash that instead of the latest rpi os.

rory-ward commented 1 year ago

This has worked thanks.

I've managed to get the tool up and running. The issue that I am having now is that when I run: tcpdump -i wlan0 dst port 5500 -vv -w output.pcap -c 1000

I get: 0 packets captured 0 packets received by filter 0 packets dropped by kernel.

I thought maybe that there was no traffic going to the board, so from a laptop on the same network I pinged the board and specific port. But that does not seem to make any difference.

Any thoughts on why its not working?

Thanks.

rory-ward commented 1 year ago

Hi,

So an update to my last question. I can get the raspberry pi to log packets but only when I use netcat.

nc -u [raspberry pi ip address] 5500 < /dev/random

The problem then is that I am unable to read these pcap files into any tool as the length of the packets are different.

Any thoughts on what I am doing wrong or how I can fix it?

Thanks

zeroby0 commented 1 year ago

...... 5500 < /dev/random

You're reading random data from /dev/random, not actual csi data.