angristan/wireguard-install

Debian 11 Support

ipod86 opened this issue · 6 comments

ipod86 commented

Hello, the script looks really great. I would be happy to use it. Unfortunately I can't run it on Debian 11, it references Debian 10. Is support for Debian 11 planned?

mator commented

define "i can't run on debian 11", i.e. what is your actual problem?

ipod86 commented

I get the answer from line 39 in the script.

"Your version of Debian (${VERSION_ID}) is not supported. Please use Debian 10 Buster or later"

Could you run the script with bash -x ./wireguard-install.sh?

It should not happen, because the script checks if the version is <10, so >=10 should be supported.

mator commented

or just post here the output of /etc/os-release :

$ cat /etc/os-release

so we would see how does VERSION_ID is defined

For the record, I just installed wireguard on Debian 11 without a problem

the values for ID and VERSION_ID from my os-release are as follows.

ID=debian
VERSION_ID="11"

If yours are different you might want to check if it is really Debian 11 you have installed.

Install on a virtual private machine with a public internet address then connecting from an android client worked very smoothly for me. On the server:

$ cat /etc/debian_version 
11.8