Replies: 14 comments 10 replies
|
oh interesting, might be useful for a headless rpi zero install |
|
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. |
|
OpenWrt works on x86 hardware as well |
|
For the panel antennas every photo tripod is fine: or a floodlight tripod: |
|
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 |
|
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. |
|
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. |
|
The third way: |
|
Please do not use a pre-configured OpenWRT image or a pre-configured .config! Attached an example of a Raspberry Pi Zero .config file. |
|
If everything is fine yous should see this running hcxlabtool (the same applies to hcxdumptool) on your OpenWRT system: |
|
I managed to compile We are the champions! Again! :) |
|
Glad to read that it is working, now. |
|
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 |
|
It fits with my comments and recommendations: And that may not be what you want. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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
All reactions