62 lines
1.0 KiB
Markdown
62 lines
1.0 KiB
Markdown
# Quick Start: Raspberry Pi 5
|
|
|
|
## 1. Clone Repository
|
|
|
|
```bash
|
|
# On Raspberry Pi 5
|
|
git clone https://git.umber.com/rjmcmahon/wireless-monitor.git
|
|
cd wireless-monitor
|
|
```
|
|
|
|
## 2. Build
|
|
|
|
**Option A: Use automated script**
|
|
```bash
|
|
./build_pi5.sh
|
|
```
|
|
|
|
**Option B: Manual build**
|
|
```bash
|
|
# Install dependencies
|
|
sudo apt-get update
|
|
sudo apt-get install -y build-essential autoconf automake libtool \
|
|
pkg-config libpcap-dev libnl-genl-3-dev libnl-3-dev
|
|
|
|
# Build
|
|
./autogen.sh
|
|
./configure
|
|
make
|
|
```
|
|
|
|
## 3. Run
|
|
|
|
```bash
|
|
# Run as root (required for monitor mode)
|
|
sudo ./src/wireless_monitor wlan0 11
|
|
|
|
# With MAC filter (to match ESP32)
|
|
sudo ./src/wireless_monitor wlan0 11 80:84:89:93:c4:b6
|
|
```
|
|
|
|
## 4. Compare with ESP32
|
|
|
|
Run both simultaneously on the same channel and compare outputs:
|
|
|
|
**ESP32:**
|
|
```
|
|
monitor start -c 11
|
|
monitor debug on
|
|
monitor filter 80:84:89:93:c4:b6
|
|
```
|
|
|
|
**Raspberry Pi 5:**
|
|
```bash
|
|
sudo ./src/wireless_monitor wlan0 11 80:84:89:93:c4:b6
|
|
```
|
|
|
|
Compare:
|
|
- Same TA/RA addresses?
|
|
- Same frame counts?
|
|
- Same durations?
|
|
- Same retry flags?
|