-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
DietPi-Software | PiVPN: False WireGuard support detection and linux-headers-amd64 install on ARM #3910
Comments
Hi, Pls can you share the error message when the installation failed. |
Updated OP. |
hmm can you check your available package architecture
|
|
strange that PiVPN install script is trying to install |
Yes I guess armhf architecture is not supported by PiVPN. |
well my RPi3B+ is detected correctly 😉
Probably PiVPN is assuming your Orange Pi as As workaround, you could try to install native WireGuard from |
Yeah, for now I just installed it straight from the CLI... |
|
Well, unfortunately Wireguard is not listed as a separate package. Only PiVPN is listed as Wireguard server :( |
probably it's disabled on you SBC. Let's check
|
Yes it is:
Strange, because it works just fine by installing it via apt. |
I guess @MichaIng knows why |
Do you indeed use the
Using a current Linux package from Debian |
Does not return anything.
Are you suggesting to enable the backports repository? |
Hmm, how exactly did you install the initial Debian or where did you get the image from? In attempt do find out a bit more:
|
I just flashed the latest available Debian image from the official Orange Pi website: http://www.orangepi.org/downloadresources/
Maybe it is wiser to flash the latest Armbian image, as it includes kernel 5.8 already.. |
Probably. But the official Debian kernel as well supports it, Linux 5.8 when taken from backports: https://packages.debian.org/buster-backports/linux-image-armmp
Orange Pi Zero device tree is explicitly contained. What I am not 100% sure about is if u-boot needs to be configured for this. At least we could have a look into |
I wanted to download the Orange Pi Debian image but fail to. Baidu only works with a dedicated downloader program it seems, that that is a no-go for me. On Google Drive, when hitting the download button, I need to accept download regardless of missing anti-virus check (file too large) but when doing that, nothing happens. This is true somehow in all cases recently, the same happened when I tried to download Firefly images. I wonder why all (?) Chinese manufacturers host on those two sites only, instead of hosting those few GiB on their own servers. |
I've flashed the latest Armbian as base image, however the Wireguard package is still disabled for the Orange Pi SBC:
BTW: I noticed that Armbian already had Wireguard installed, but it got removed during the Dietpi PREP script..
|
Yes there is one change that needs to be done since the
|
Yes I can confirm that above path change works! BTW, I did not test the PiVPN install script. The Wireguard package alone is sufficient for me. |
AFAIK, PiVPN does not yet support builtin WireGuard modules. I posted our solution a while ago, but so far only RPi and x86_64 are supported and built the WireGuard module via headers, AFAIK. Strange that in your case, even it is clearly armhf/armv7l, it tried to install the x86_64 headers |
Yeah that would be cool! Is it correct that the installer script of the Wireguard package does not enable |
usually
|
Yes you are right, I overlooked it. |
that's the magic of DietPi I have talking above 😉 |
I was just thinking that we still don't know why the PiVPN installer detects the architecture incorrectly. Good that a related bug report links this issue. I'll have a look into it when I find time, should be easy to fix. |
Indeed a bug in the PiVPN installer: pivpn/pivpn#1180 (comment) I proposed a fix: pivpn/pivpn#1201 |
After getting an error installing Wireguard, installation of all other software fails due to an apt upgrade error with wireguard-dkms. Running
removes the problematic wireguard packages and lets you install everything like normal again. I don't think this needs a fix as it looks like the next update will fix the Wireguard installation, but it may be helpful if all installed packages get removed if the installation of software fails. |
The fix has finally been uploaded. Marking this as closed. |
Details:
Steps to reproduce:
Expected behaviour:
Actual behaviour:
Extra details:
Additional logs:
The text was updated successfully, but these errors were encountered: