Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better steps for your Wireguard installation. #16

Open
jumpsmm7 opened this issue May 3, 2020 · 2 comments
Open

Better steps for your Wireguard installation. #16

jumpsmm7 opened this issue May 3, 2020 · 2 comments

Comments

@jumpsmm7
Copy link

jumpsmm7 commented May 3, 2020

The install procedure current method has often fallen to unreliable as the rpi-kernel and newer changes with kernel-headers with the RPI is ever evolving. here is what I recommend for new installation instructions for wireguard as they are more reliable then using unstable debians version.

echo "deb http://raspbian.raspberrypi.org/raspbian/ bullseye main" | $SUDO tee /etc/apt/sources.list.d/wireguard-bullseye.list
printf 'Package: *\nPin: release n=bullseye\nPin-Priority: -1\n\nPackage: wireguard wireguard-dkms wireguard-tools\nPin: release n=bullseye\nPin-Priority: 100\n' | $SUDO tee /etc/apt/preferences.d/wireguard-limit-bullseye

(this part below is already in your instructions)
sudo apt update && sudo apt install raspberrypi-kernel-headers wireguard wireguard-tools wireguard-dkms qrencode -y

I recommend keeping everything else the same.
I recommend switching to the raspbian/bullseye dev and telling it to only allow usage for wireguard and associated packages, this will insure the binaries always honor the kernel-headers.

@jumpsmm7
Copy link
Author

jumpsmm7 commented May 3, 2020

I have submitted a pull request per my changes
#17

@jumpsmm7
Copy link
Author

jumpsmm7 commented May 3, 2020

this will stage wireguard to be pulled from raspbian bullseye distribution and will set it up to limit it to ONLY for wireguard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant