Replies: 14 comments 8 replies
-
oh interesting, might be useful for a headless rpi zero install |
Beta Was this translation helpful? Give feedback.
-
I recommend to use OpenWRT image builder to build the image for a Raspberry Pi. By the way, this also applies to KALI: hcxdumptool may not work as expected if it is not configured/customized. |
Beta Was this translation helpful? Give feedback.
-
OpenWrt works on x86 hardware as well |
Beta Was this translation helpful? Give feedback.
-
For the panel antennas every photo tripod is fine: or a floodlight tripod: |
Beta Was this translation helpful? Give feedback.
-
Hi, Mike I was running OpenWrt on x86_64 laptop, mainly for self-education and fun. I was able to compile Latest release of OpenWrt (23.05.5) use kernel 5.15.167 Latest release of SDK use gcc 12.3.0 Development snapshot use gcc 13.3.0 However, you recommend gcc >= 14 Probably the best way is to compile your tool in Arch Linux, linking it to |
Beta Was this translation helpful? Give feedback.
-
The recommended way is to install the openwrt toolchain and to compile hcxlabtool/hcxdumtool directly to the image or to build a package. This is the Make file to be used by the toolchain. It is designed to compile hcxlabtool (== hcxdumptool v 7.0.0).
Everything should compile fine (e.g. cross compile for a Raspberry Pi Zero):
The requirements mentioned in README.md are recommendations only. and a still supported Linux kernel So, gcc 12.x and Linux kernel 5.15 are fine. |
Beta Was this translation helpful? Give feedback.
-
It is also possible to build a single package (.opkg) via the toolchain. Copy it to the target system and install it via packet manager. |
Beta Was this translation helpful? Give feedback.
-
The third way: |
Beta Was this translation helpful? Give feedback.
-
Please do not use a pre-configured OpenWRT image or a pre-configured .config! Attached an example of a Raspberry Pi Zero .config file. |
Beta Was this translation helpful? Give feedback.
-
If everything is fine yous should see this running hcxlabtool (the same applies to hcxdumptool) on your OpenWRT system:
|
Beta Was this translation helpful? Give feedback.
-
I managed to compile
We are the champions! Again! :) |
Beta Was this translation helpful? Give feedback.
-
Glad to read that it is working, now. |
Beta Was this translation helpful? Give feedback.
-
Here are some details. My home folder is
From https://downloads.openwrt.org/releases/23.05.5/targets/x86/64 Edit
The second line above is only needed if you have enabled the BPF compiler in the
You should see (partial output)
if all goes well, you'll see your package For more information, see here By the way, the package description is outdated |
Beta Was this translation helpful? Give feedback.
-
It fits with my comments and recommendations: And that may not be what you want. |
Beta Was this translation helpful? Give feedback.
-
Starting in February 2022, support for ARMv5 and ARMv6 architectures have been ended in Arch Linux ARM:
https://archlinuxarm.org/forum/viewtopic.php?f=3&t=15721
OpenWRT is by far the best alternative.
As of today I changed the recommendation for the operating system (README.md):
For small computer systems like a Raspberry Pi or a router I strongly recommend OpenWRT.
It is easy to create an image if you follow the instructions here:
https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem
It is easy to compile hcxdumptool for OpenWRT, if you follow the instructions here:
https://openwrt.org/docs/guide-developer/helloworld/start
Or get a "Raspberry Pi Ready-to-use" image here:
https://openwrt.org/toh/raspberry_pi_foundation/raspberry_pi
Or get a user defined image here:
https://firmware-selector.openwrt.org/
All supported devices:
https://openwrt.org/toh/start
Beta Was this translation helpful? Give feedback.
All reactions