l-n-s / wireguard-install

WireGuard VPN server installer
MIT License
656 stars 166 forks source link

Error message during setup #7

Closed hendryque closed 5 years ago

hendryque commented 5 years ago

Tried to install WG with the script. After I enter the name of the client, I get this error message:

wireguard-install.sh: Zeile 170: -4: Teilstring-Ausdruck < 0

This happens regardless what I enter as the client name. Server is a Linux box with Debian 9.

Is there anything I can do here?

l-n-s commented 5 years ago

Can you translate it to English?

hendryque commented 5 years ago

Should be

wireguard-install.sh: Line 170: -4: Substring-Expression < 0

l-n-s commented 5 years ago

Great, thanks. I'll try to fix it soon.

OhioVR commented 5 years ago

I had this problem when I followed someone else's tutorial (and didn't get anywhere) and came here hoping to find the solution. The error went away when I removed the /etc/wireguard/wg0.conf and started over. Looks like a good script I'm cleaning up the other messes I made.

l-n-s commented 5 years ago

@hendryque actually, I can't understand, what can be the cause for this error. Can you send your config file which causes error? /etc/wireguard/wg0.conf (replace your keys with XXX).

l-n-s commented 5 years ago

OK, this is basically the same problem as #16