RE: How do I get my VPN-daemon to run in the background? 05-07-2021, 06:44 PM
#29
(05-06-2021, 06:44 PM)Drako Wrote:(05-06-2021, 06:16 PM)AnalAssAssin Wrote:(05-06-2021, 05:31 AM)Equinox Wrote: I'm inclined to believe that this much is going to be down to user-end configuration. Read up on some of the configuration for Mullvad and WireGuard and using the daemon. At the very least, now you know that it should start up automatically for you when your computer starts once it is properly configured. Something to note is that just because you've ran the standalone application before without issue doesn't mean the daemon will do the same. There are different configuration files that the two are pulling from -- while the standalone application may run without issue, it is pulling configuration from your user home directory. The daemon on the other hand is not, and is pulling from system-wide configuration files.
All that being said, do a little bit of research, find the files the daemon is pulling data from. At the end of it, you will be able to restart or reload the daemon (depending on if the service unit specifies instructions for reloading or restarting the daemon) or at the very least you'll be able to restart and see if changes have been applied.
At the end of the day, it's all just a learning experience. You don't need to feel disappointed in yourself, just look at it for face value, that being that you aren't experienced in this and you stand to learn something from it. Most of all, have fun doing it. Pulling system configuration files and working with [slightly] lower level parts of the userspace is something you can get a lot from. I mean, hell, even I am learning something from this experience, even though I'm just trying to help you figure it out. I've never used mullvad, or wireguard, or openvpn. But I've got several years of working with linux and various programs, and I especially have a lot of experience working with systemd and the init process as a whole. But that being the case, if I ever find someone needing to learn about mullvad or openvpn/wireguard and their services, I'll be able to further assist people in the future with it. After all, teaching is the best way to learn.
Yeah, well, the daemon is up and running now. I checked it and there was something with 'vendor process' or smth that wasnt running, but I feel like I probably can handle that on my own and we have together made process with my mullvad-vpn-daemon. If you hadnt helped me with this, it would have been really bad but thanks to you and @Drako I think Im going to be able to make it work in a couple daysI was meddling with it before, but right now Im playing WoW. Its important to take breaks too.
I only have barely 2 years of experience with linux and Arch, so I feel like I know almost nothing. But like even if you spend 4 hours just to compile something, maybe you learn something from it too and have fun
It depends on how much time you have to tinker with Linux, and what you do with that time. If you're like me and use distros and niche programs that require lots of maintenance or troubleshooting, you'll learn a lot in 2 years. But not everyone has the luxury of time. So a lot of people are put-off by Linux due to stereotypes like that.
But I'm glad I was able to help you get the daemon running.
Yeah, thank you.
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)