Last active
February 3, 2023 07:35
-
-
Save Depicus/b6e1dd5f7a9cae42cd5918102a9298c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download image from https://www.raspberrypi.org/downloads/raspbian/ | |
Create filesysstem with https://www.balena.io/etcher/ | |
Create a file called SSH in the root of the drive | |
Create a file called wpa_supplicant.conf in the root and add the following | |
country=GB | |
ctrl_interface=DIR=/var/run/wpa_supplicant | |
update_config=1 | |
network={ | |
ssid="myNet" | |
scan_ssid=1 | |
psk="password" | |
} | |
Login with ssh pi@192.168.x.x and the password Raspberry | |
Configure with raspi-config | |
Compile with gcc wolf.c -o wolf | |
Run with ./wolf | |
Add a file in /etc/init.d called wolf and add the content from https://raw.githubusercontent.com/Depicus/WoLF/master/wolf-service | |
Make sure you change the path of the wolf file to match your location | |
sudo chmod +x /etc/init.d/wolf | |
sudo update-rc.d wolf defaults | |
sudo service wolf start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment