On 02/11/15 14:16, Rich Freeman wrote:
On Wed, Feb 11, 2015 at 1:58 PM, Joseph <syscon...@gmail.com> wrote:
How do I start and stop "systemd" services, I would imagine systemd works
the same across all distros.
You run systemd start <service> - that is the same on all distros
(well, if they're not writing fancy wrappers around it or whatever -
Gentoo follows upstream).
My openvpn server is running on Gentoo but client openvpn I setup on Fedora
21 (as the computer is old and slow).
Normally I would create configuration files in /etc/openvpn/
and run:
/etc/init.d/ln -s openvpn.client1 openvpn
/etc/init.d/openvpn.client1 start
But on Fedora when I do systemctl enable openvpn@eeepc.service
I ended up having to add the following to my unit:
ExecStartPre=-/bin/mkdir -p /dev/net
ExecStartPre=-/bin/mknod /dev/net/tun c 10 200
I forget if that is reported somewhere, fixed upstream, etc. It has
been a while since I studied tap/tun so it might also not be necessary
in some configurations.
--
Rich
I have tried "xubuntu" on this old eeepc 1GB of ram only and I was able to make
the openvpn to work but freenx would not work, I only need client on the laptop.
"nomachine" installed on xubuntu but they disabled ssh connection on the free download
version the only free protocol is "nx" and it doesn't work with
nxserver-freenx.
"x2go" I make it to work but the fonts are unreadable, complete gibberish.
So, I've tried Fedora just to get stuck on EVIL "systemd" :-/
I could install Gentoo on this laptop via "distcc" but it would take a long time. Besides I like the way the network works on those new laptop, it switches
seamlessly between cable "eth0" and "wifi".
--
Joseph