Open yujianyuanhaha opened 2 years ago
Heyo Jet!
Can you post your uname -a
? And also attach files created with journalctl -x | cat > journalctl.txt
, dmesg > dmesg.txt
. And also the exact commands you ran. Maybe post history | cat
as both pi
and root
.
Does it happen immediately after you restart the Pi, or after you set any chanspec?
I'll setup a pi tomorrow or on Saturday to see if I'll get the same error
hi @zeroby0, I am following 5.41-plus version [https://github.com/nexmonster/nexmon_csi/tree/pi-5.4.51-plus]
pi@raspberrypi:~ $ uname -a
Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux
And the loggoing .txt file are at debug folder
Soooo I installed Nexmon_csi on an SD card, and didn't get any errors. Did you set wifi country via raspi-config at the start?
Also, the wlan0 not found error
is when you run nexutil, right?
@zeroby0 I do set raspi-config
, and while wlan0 not found error
come from ifconfig wlan0 up
Wanna try an alternative process with pre-compiled binaries? These are for the pi-5.4.51 branch. The install process takes less than a minute now 😆
ssh
, without any extension, on the boot partition of the SD card.sudo raspi-config
, set WiFi Country to US, set your Time Zone, and then Expand File System.wget https://github.com/nexmonster/nexmon_csi/files/7662477/nexbin.tar.gz
tar -xzvf nexbin.tar.gz
cd nexbin
sudo bash install.sh
Precompiled binaries: nexbin.tar.gz
@zeroby0 brilliant work, it works, thanks a lot.
Best
Jet
Hi @zeroby0, I prepared the rpi and install by this solution
when i execute sudo bash install.sh
, I get the following error at installing nexmon_csi step
insmod: ERROR: could not insert module ./brcmfmac.ko: Invalid module format
and wlan0 is still not found
How to handle this problem? Thanks
Ok, so latest rpi is supported now, stop using these extra solutions, go directly to https://github.com/seemoo-lab/nexmon_csi#bcm43455c0
just make sure to install python-is-python2
I haven't tested it yet, but I hope the 5.10 version on seemoo-lab/nexmon_csi is much more stable than the previous versions. I love having this repo, but it would be better for CSI research if there is one version that works perfectly. So please test the seemoo-lab/nexmon_csi repo if you're experiencing problems here. Let's slowly migrate people to the main repo.
I might package the 5.10 version's pre-compiled binaries though, just so people can install faster
faster installation can lead to errors. slow and steady wins the race
Thank you @mzakharo , this new link works quite well on my raspberry pi. Great work. BTW, do you know which function in brcmfmac_4.19.y-nexmon folder is responsible for relaying the UDP packet to host/kernal 5500 port?
Thanks a lot.
I think this error is because either the driver or the firmware isn't loaded.
You can check by running lsmod | grep brcm
. If you don't see brcmfmac
in the output, the firmware hasn't been loaded. If brcmutil
isn't present, it's the driver.
Try running modprobe brcmutil
to load the driver. To load the firmware, insmod brcmfmac.ko
in nexmon/patches/bcm43455c0/7_45_189/nexmon_csi/brcmfmac_5.4.y-nexmon
folder. Or insmod brcmfmac.ko.orig
to load the original firmware.
That said, there is a /lib/firmware/brcm/brcmfmac43455-sdio.bin
file, and I don't know what it does, but it is overwritten by Nexmon_csi. So the roles of brcmfmac.ko
and brcmfmac43455-sdio.bin
aren't really clear to me.
@dingyiyi0226
when i execute sudo bash install.sh, I get the following error at installing nexmon_csi step insmod: ERROR: could not insert module ./brcmfmac.ko: Invalid module format
What is your kernel version, and which Raspberry Pi are you using?
@zeroby0 kernel version: 5.4.51, Raspberry Pi 4B
I wonder if it's because I'm compiling on a Pi 3B+. I don't have a free Pi 4B available to compile or test right now.
@yujianyuanhaha did you run the binaries on a Pi 4B?
@dingyiyi0226 did you manage to solve the issue? I am getting the similar issue
@avi3shake Yes. I followed the instruction on https://github.com/seemoo-lab/nexmon_csi#bcm43455c0 instead of using install.sh
greetings,
I once have successfully install and been able to collect CSI at summer. But when I want to setup some other device I notice the manual does not work for unknown reason. The issue is
wlan0 not found error
mention before @zeroby0I tries three way the 5.4.51, 5.4.51+ and 4.19.97. But all of them has
wlan0 not found error
after reboot.The way I tried but not work is try to used the old version like
but it does not work either.
I also attached the install.sh and output.log for reference, the terminal does not pop any error all the way.
Best
Jet