improved installation instruction

This commit is contained in:
faraphel 2024-12-22 23:37:48 +01:00
parent 2fa6bd4212
commit 9f96f92f32

View file

@ -8,12 +8,30 @@ If found, it will wake up the destination machine based on its MAC address.
## Dependencies
Debian :
```
```bash
# Build dependencies
sudo apt install build-essential ninja-build cmake
# Application dependencies
sudo apt install libpcap-dev
```
## Downloads
```bash
git clone --recurse-submodules https://git.isriupjv.fr/ISRI/gns3-wol-emulator
```
## Build
```bash
cmake -S ./ -B ./build/ -G "Ninja"
cd ./build/
ninja
```
cmake ...
## Run
```bash
# Root required for sniffing the network
sudo ./gns3_wol_emulator
```