You are not logged in.
Pages: 1
I solved it using OpenVPN instead of WireGuard ;-)
thank you so much for both of us
Look at the patch in #15, works fine.
Rolf
I have no idea how to apply it.
I'm sorry, but I don't have the necessary skills.
I start it manually.
Is it possible to remove what we have done so far?
thanks. excuse the trouble
My encrypted partitions are working but I have a problem when shutting down the system: The console blocks and displays the message
Stopping remaining crypt disks...sda2_crypt(busy)
several times. After about one minute it displays an error message
stopping early crypto disks failed.
and the system is shut down.
I have the same problem with ascii. Has it been solved in the meantime? What to do? thanks
Thank you. done but not working. does not start automatically
update-rc.d wireguard defaults
insserv: script wireguard is not an executable regular file, skipped!
Releases me this error.
(I thought you were asking me not to mention long fragments of conversation. now I have not mentioned anything. excuse me.)
pota wrote:with the extension .ini
No "extension" is needed, that's a Windows thing. And .ini-style files are what systemd uses.
Also, please don't full quote for a straight reply, it reduces the readability of the thread.
Okay. Sorry. So I'm giving this command:
nano /etc/init.d/wireguard
I insert the text you posted to me. and finally activate it with the command:
update-rc.d wireguard defaults
right?
The wgquick@.service unit file uses the .ini style ('cos the devs love Windows, presumably) and so cannot be used with sysvinit, you will need to convert it to a shell script instead.
Something like this executable file in /etc/init.d/wireguard might work:
#!/bin/sh -e ### BEGIN INIT INFO # Provides: wireguard # Required-Start: mountkernfs $local_fs # Required-Stop: $local_fs # Default-Start: S # Default-Stop: 0 6 # Short-Description: WireGuard via wg-quick(8) ### END INIT INFO . /lib/init/vars.sh . /lib/lsb/init-functions do_start() { /usr/bin/wg-quick up mullvad-se4 } do_stop() { /usr/bin/wg-quick down mullvad-se4 } case $1 in (start|restart|reload|force-reload) do_invoke start ;; (stop) do_invoke stop ;; (*) echo >&2 "Usage: $0 {start|stop|restart|reload|force-reload}" exit 3 ;; esac
Enable it with
# update-rc.d wireguard defaults
Disclaimer: I'm crap with sysvinit scripts so perhaps wait for somebody to point out my mistakes before trying this.
so. summarizing. I have to create a "blank file" in /etc/init.d/wireguard with the extension .ini named as I want. I paste into it the content of the text you provided me. I make it executable and active with the command
# update-rc.d wireguard defaults
okay?
Sorry again and thanks
Here is the unit file:
https://git.zx2c4.com/WireGuard/plain/s … k@.service
The ExecStart line is the command that is executed by the unit file, replace %i with mullvad-se4 and incorporate it into a boot script for sysvinit.
Thank you for your answer.
in which folder do I find the file unit to be edited?
excuse ignorance
I'm trying to configure WireGuard (with Mullvad) on Devuan by following this guide:
https://mullvad.net/it/guides/easy-wire … ultihop-wg
everything works.
the only problem is the following passage which obviously on devuan is not possible:
Q: How do I make WireGuard start automatically on boot?
A: systemctl enable wg-quick@mullvad-se4
how to do on devuan?
thank you!
Bye, everybody.
Did any of you try Mullvad VPN client?
base on Devuan does not work.
a Mullvad operator advised me to follow this thread but I wouldn't know where to start.
https://forum.mxlinux.org/viewtopic.php … it=mullvad
Can someone help me?
Pages: 1