The officially official Devuan Forum!

You are not logged in.

#1 Re: Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-23 09:00:19

I solved it using OpenVPN instead of WireGuard ;-)

#3 Re: Installation » Installing devuan to lvm partitions within dm-crypt container » 2019-04-22 16:18:37

rolfie wrote:

Look at the patch in #15, works fine.

Rolf

I have no idea how to apply it.

#4 Re: Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-22 16:16:53

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

#5 Re: Installation » Installing devuan to lvm partitions within dm-crypt container » 2019-04-22 12:57:21

giorgiob wrote:

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

#6 Re: Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-22 12:38:18

Thank you. done but not working. does not start automatically

#7 Re: Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-22 11:43:13

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.)

#8 Re: Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-22 11:27:20

Head_on_a_Stick wrote:
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?

#9 Re: Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-22 09:50:46

Head_on_a_Stick wrote:

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

#10 Re: Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-22 08:18:50

Head_on_a_Stick wrote:

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

#11 Desktop and Multimedia » Devuan and WireGuard / Mullvad VPN » 2019-04-21 20:10:37

pota
Replies: 16

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!

#12 Desktop and Multimedia » Mullvad VPN client » 2019-02-08 18:18:48

pota
Replies: 0

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?

Board footer

Forum Software