Hi at all,
I am new to DietPi and wondered why Wireguard is nowhere to be seen on my Pi Zero?
I would like to install it in order to make PiHole usable from anywhere.
Best wishes!
Wireguard missing from list?
-
- Posts: 42
- Joined: Wed May 08, 2019 3:00 pm
Re: Wireguard missing from list?
It doesn't work on the Pi Zero. It needs a Pi2/3/4 (Arm V7 or higher).
See https://github.com/MichaIng/DietPi/issues/2474
See https://github.com/MichaIng/DietPi/issues/2474
-
- Posts: 42
- Joined: Wed May 08, 2019 3:00 pm
Re: Wireguard missing from list?
Glad to hear it's fixed
But it still probably explains why it's missing at the moment, if that fix hasn't been included in the current release.
I can confirm it's there when running on a later Pi - I've had it happily working on a Pi3 DietPi installation for a while now.

But it still probably explains why it's missing at the moment, if that fix hasn't been included in the current release.
I can confirm it's there when running on a later Pi - I've had it happily working on a Pi3 DietPi installation for a while now.
Re: Wireguard missing from list?
Yeah guys, check out the issue linked by @naddel81, basically:
1. G_AGUP && G_AGUG
2. reboot # to load new kernel, if it was updated
3. Compiling WireGuard from source: https://github.com/MichaIng/DietPi/issu ... -513595547
4. Creating key pairs:
5. Server config: https://github.com/MichaIng/DietPi/issu ... -513587615
6. Client config: https://github.com/MichaIng/DietPi/blob ... 034-L10060
7. systemctl enable --now wg-quick@wg0
8. To print a QR code that can be scanned from mobile WireGuard client:
grep -v '^#' /etc/wireguard/wg0-client.conf | qrencode -t ansiutf8
To check server and client connection state: wg
I hope I find time to implement this option into DietPi-Software soon as well.
1. G_AGUP && G_AGUG
2. reboot # to load new kernel, if it was updated
3. Compiling WireGuard from source: https://github.com/MichaIng/DietPi/issu ... -513595547
4. Creating key pairs:
Code: Select all
cd /etc/wireguard
wg genkey > server_private.key
wg pubkey < server_private.key > server_public.key
wg genkey > client_private.key
wg pubkey < client_private.key > client_public.key
6. Client config: https://github.com/MichaIng/DietPi/blob ... 034-L10060
7. systemctl enable --now wg-quick@wg0
8. To print a QR code that can be scanned from mobile WireGuard client:
grep -v '^#' /etc/wireguard/wg0-client.conf | qrencode -t ansiutf8
To check server and client connection state: wg
I hope I find time to implement this option into DietPi-Software soon as well.