WireGuard Installation - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: Pinebook Pro Tutorials (https://forum.pine64.org/forumdisplay.php?fid=117) +--- Thread: WireGuard Installation (/showthread.php?tid=8225) |
WireGuard Installation - Vercas - 11-06-2019 I wrote a guide for installing WireGuard on the Pinebook Pro (for MrFixit's Stretch distro) here: https://vercas.com/2019/11/05/wireguard-pbp.html Blog post is hosted on GitHub Pages, so it's available here as well. RE: WireGuard Installation - mitchejj - 11-21-2019 (11-06-2019, 02:02 PM)Vercas Wrote: I wrote a guide for installing WireGuard on the Pinebook Pro (for MrFixit's Stretch distro) here: https://vercas.com/2019/11/05/wireguard-pbp.html So I'm trying to learn a little more about the Pine Book Pro as I think I might want to buy, and since I do use Wireguard daily I'm wondering why Wireguard has issues on the PineBook Pro. What are the issues with the wireguard-dkms package. RE: WireGuard Installation - bendit - 11-28-2019 (11-21-2019, 03:08 PM)mitchejj Wrote:(11-06-2019, 02:02 PM)Vercas Wrote: I wrote a guide for installing WireGuard on the Pinebook Pro (for MrFixit's Stretch distro) here: https://vercas.com/2019/11/05/wireguard-pbp.html I followed ayufan instructions and initially had an issue with running the wireguard kernel module, the error msg about some protocol not supported when invoking the link on wg0. However after a sudo apt remove wireguard followed by sudo apt-get install wireguard the dkms wireguard module succesfully installed itself. Now it works like a charm. RE: WireGuard Installation - Vercas - 11-30-2019 (11-21-2019, 03:08 PM)mitchejj Wrote:(11-06-2019, 02:02 PM)Vercas Wrote: I wrote a guide for installing WireGuard on the Pinebook Pro (for MrFixit's Stretch distro) here: https://vercas.com/2019/11/05/wireguard-pbp.html mrfixit's Debian image doesn't include the tools you need to use DKMS packages (or to build kernel modules in general). RE: WireGuard Installation - mainer - 02-06-2020 Wireguard working on Ubuntu Mate (Bionic Mate) I need a functional wireguard instalation for my Pinebook Pro to be a truly useful laptop for remote access. I have finally gotten it installed and completely functional, so have decide to post what I did to help anyone else having difficulties. First, based on a comment in a previous post, I found from: https://github.com/ayufan-rock64/linux-build/blob/master/recipes/dkms.md these instructions: sudo apt-get install -y dkms git-core sudo apt-get install -y debootstrap binutils-aarch64-linux-gnu sudo debootstrap --arch=arm64 --variant=minbase --include=gcc bionic /opt/gcc-arm64 http://ports.ubuntu.com/ubuntu-ports/ echo "export CROSS_COMPILE=/opt/gcc-arm64/usr/bin/aarch64-linux-gnu-" | sudo tee -a /etc/dkms/framework.conf echo "export LD_LIBRARY_PATH=/opt/gcc-arm64/usr/lib/aarch64-linux-gnu/:/opt/gcc-arm64/lib/aarch64-linux-gnu/:\$LD_LIBRARY_PATH" | sudo tee -a /etc/dkms/framework.conf I already had dkms git wireguard wireguard-tools and wireguard-dkms installed (but wireguard-dkms gave errors). I installed: binutils-common:arm64 (2.30-21ubuntu1~18.04.2) debootstrap (1.0.95) they also installed: libbinutils:arm64 (2.30-21ubuntu1~18.04.2) zlib1g:arm64 (1:1.2.11.dfsg-0ubuntu2) I then ran as root (su -i) per the instructions: sudo debootstrap --arch=arm64 --variant=minbase --include=gcc bionic /opt/gcc-arm64 http://ports.ubuntu.com/ubuntu-ports/ echo "export CROSS_COMPILE=/opt/gcc-arm64/usr/bin/aarch64-linux-gnu-" | sudo tee -a /etc/dkms/framework.conf echo "export LD_LIBRARY_PATH=/opt/gcc-arm64/usr/lib/aarch64-linux-gnu/:/opt/gcc-arm64/lib/aarch64-linux-gnu/:\$LD_LIBRARY_PATH" | sudo tee -a /etc/dkms/framework.conf Those completed without errors. I then used synaptic to reinstall wireguard-dkms and it installed without errors! I already had a /etc/wireguard/wg0.conf from previous attempts. Ran (as root) wg-quick up wg0 and wg-quick down wg0 but got errors from the script related to iptables. Checked, and iptables was not installed so I installed iptables Re-ran wg-quick up wg0 and was connected to the remote site! wg reported the status and info on the connection. wg-quick down wg0 terminated the connection without errors. SOLVED, hope this helps someone. BTW I have found the Bionic Ubuntu Mate distribution to be very reliable and have been able to install packages with synaptic that just work. I have alsi installed the Vivaldi browser without problems. Wireguard working on Ubuntu Mate (Bionic Mate) I need a functional wireguard instalation for my Pinebook Pro to be a truly useful laptop for remote access. I have finally gotten it installed and completely functional, so have decide to post what I did to help anyone else having difficulties. First, based on a comment in a previous post, I found from: https://github.com/ayufan-rock64/linux-build/blob/master/recipes/dkms.md these instructions: sudo apt-get install -y dkms git-core sudo apt-get install -y debootstrap binutils-aarch64-linux-gnu sudo debootstrap --arch=arm64 --variant=minbase --include=gcc bionic /opt/gcc-arm64 http://ports.ubuntu.com/ubuntu-ports/ echo "export CROSS_COMPILE=/opt/gcc-arm64/usr/bin/aarch64-linux-gnu-" | sudo tee -a /etc/dkms/framework.conf echo "export LD_LIBRARY_PATH=/opt/gcc-arm64/usr/lib/aarch64-linux-gnu/:/opt/gcc-arm64/lib/aarch64-linux-gnu/:\$LD_LIBRARY_PATH" | sudo tee -a /etc/dkms/framework.conf I already had dkms git wireguard wireguard-tools and wireguard-dkms installed (but wireguard-dkms gave errors). I installed: binutils-common:arm64 (2.30-21ubuntu1~18.04.2) debootstrap (1.0.95) they also installed: libbinutils:arm64 (2.30-21ubuntu1~18.04.2) zlib1g:arm64 (1:1.2.11.dfsg-0ubuntu2) I then ran as root (su -i) per the instructions: sudo debootstrap --arch=arm64 --variant=minbase --include=gcc bionic /opt/gcc-arm64 http://ports.ubuntu.com/ubuntu-ports/ echo "export CROSS_COMPILE=/opt/gcc-arm64/usr/bin/aarch64-linux-gnu-" | sudo tee -a /etc/dkms/framework.conf echo "export LD_LIBRARY_PATH=/opt/gcc-arm64/usr/lib/aarch64-linux-gnu/:/opt/gcc-arm64/lib/aarch64-linux-gnu/:\$LD_LIBRARY_PATH" | sudo tee -a /etc/dkms/framework.conf Those completed without errors. I then used synaptic to reinstall wireguard-dkms and it installed without errors! I already had a /etc/wireguard/wg0.conf from previous attempts. Ran (as root) wg-quick up wg0 and wg-quick down wg0 but got errors from the script related to iptables. Checked, and iptables was not installed so I installed iptables Re-ran wg-quick up wg0 and was connected to the remote site! wg reported the status and info on the connection. wg-quick down wg0 terminated the connection without errors. SOLVED, hope this helps someone. BTW I have found the Bionic Ubuntu Mate distribution to be very reliable and have been able to install packages with synaptic that just work. I have alsi installed the Vivaldi browser without problems. |