Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\thiery.crispeels.ELIN-KOR-NB32> ssh pi@192.168.1.107 pi@192.168.1.107's password: Linux thebrewery 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Feb 16 08:00:34 2023 from 192.168.1.100 pi@thebrewery:~ $ sudo apt update Err:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Temporary failure resolving 'raspbian.raspberrypi.org' Err:2 https://download.docker.com/linux/raspbian buster InRelease Temporary failure resolving 'download.docker.com' Err:3 http://archive.raspberrypi.org/debian buster InRelease Temporary failure resolving 'archive.raspberrypi.org' Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. W: Failed to fetch http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease Temporary failure resolving 'raspbian.raspberrypi.org' W: Failed to fetch https://download.docker.com/linux/raspbian/dists/buster/InRelease Temporary failure resolving 'download.docker.com' W: Failed to fetch http://archive.raspberrypi.org/debian/dists/buster/InRelease Temporary failure resolving 'archive.raspberrypi.org' W: Some index files failed to download. They have been ignored, or old ones used instead. pi@thebrewery:~ $ sudo apt install -y wireguard Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: python-colorzero Use 'sudo apt autoremove' to remove it. The following additional packages will be installed: wireguard-tools The following NEW packages will be installed: wireguard wireguard-tools 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 85.1 kB of archives. After this operation, 302 kB of additional disk space will be used. Err:1 http://archive.raspberrypi.org/debian buster/main armhf wireguard-tools armhf 1.0.20200827-1~bpo10+1 Temporary failure resolving 'archive.raspberrypi.org' Err:2 http://archive.raspberrypi.org/debian buster/main armhf wireguard all 1.0.20200827-1~bpo10+1 Temporary failure resolving 'archive.raspberrypi.org' E: Failed to fetch http://archive.raspberrypi.org/debian/pool/main/w/wireguard/wireguard-tools_1.0.20200827-1~bpo10+1_armhf.deb Temporary failure resolving 'archive.raspberrypi.org' E: Failed to fetch http://archive.raspberrypi.org/debian/pool/main/w/wireguard/wireguard_1.0.20200827-1~bpo10+1_all.deb Temporary failure resolving 'archive.raspberrypi.org' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? pi@thebrewery:~ $ sudo nano /etc/sysctl.conf pi@thebrewery:~ $ wg genkey | sudo tee /etc/wireguard/private.key | wg pubkey | sudo tee /etc/wireguard/public.key -bash: wg: command not found -bash: wg: command not found tee: /etc/wireguard/private.key: No such file or directory tee: /etc/wireguard/public.key: No such file or directory pi@thebrewery:~ $ client_loop: send disconnect: Connection reset PS C:\Users\thiery.crispeels.ELIN-KOR-NB32> ssh pi@192.168.1.107 pi@192.168.1.107's password: Linux thebrewery 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Feb 16 16:43:19 2023 from 192.168.1.100 pi@thebrewery:~ $ wg genkey | sudo tee /etc/wireguard/private.key | wg pubkey | sudo tee /etc/wireguard/public.key -bash: wg: command not found -bash: wg: command not found tee: tee: /etc/wireguard/private.key/etc/wireguard/public.key: No such file or directory: No such file or directory pi@thebrewery:~ $