[plug] Auto connect for VPN tunnel on Fedora 20
Ian Kent
raven at themaw.net
Sun Mar 2 07:49:46 UTC 2014
On Fri, 2014-02-28 at 20:17 +0800, Pavel Volský wrote:
> try under root : chkconfig --level 345 openvpn on
> this will turn on openvpn on rulnevels 3, 4 and 5
Except that there is no /etc/init.d/openvpn in Fedora these days.
I see on F17 that there's a systemd service file installed by the rpm
but its name is invalid, it's located
at /usr/lib/systemd/system/openvpn at .service.
I can't see any comments in the repository that talk about how this is
meant to be used either and it looks like the systemd service file is
not part of the tar distribution.
>From other places in the rpm spec file which refer to openvpn.service
and not openvpn at .service it looks like the naming is a hack to stop the
service from getting in the road of desktop usage by NetworkManager.
You could try renaming the service file to get rid of the "@" and then
do "systemctl daemon-reload" and try to start it as normal, aka.
"service openvpn start" or "systemctl start openvpn.service".
Of course "/etc/init.d/openvpn start" can't be used any more.
>
>
>
>
> On 28 February 2014 19:27, Chris Griffin <griffinster at gmail.com>
> wrote:
> Pavel, thanks for the information.
>
> I do have the files in the /etc/openvpn directory but how do I
> "make sure the daemon starts during the boot".
>
> I have been looking everywhere I can think of but cannot find
> out how the services are started automatically these days.
>
> Can anyone please help?
>
>
> Regards,
>
> Chris
>
>
>
> On Wed, Feb 26, 2014 at 10:28 PM, Pavel Volský
> <pavel.volsky at gmail.com> wrote:
> Hi Chris,
> I had the same problem with openvpn through the
> network manager. If you have the same scenario try to
> put the configuration file in the /etc/openvpn/ and
> make sure the daemon starts during the boot.
>
> Otherwise we need more information.
>
> Pavel
>
> On 26 Feb 2014 12:41, "Chris Griffin"
> <griffinster at gmail.com> wrote:
>
> Folks,
>
> I have been playing with Fedora 20 and have a
> VPN definition, which is working fine, but I
> do not seem to be able to find a setting to
> tell it to start it at boot time.
>
> I do not really want to have to manually start
> it every time.
>
> Any clues?
>
>
> Regards,
> Chris
>
>
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.org.au
> PLUG Membership:
> http://www.plug.org.au/membership
>
>
>
>
> _______________________________________________
> PLUG discussion list: plug at plug.org.au
> http://lists.plug.org.au/mailman/listinfo/plug
> Committee e-mail: committee at plug.org.au
> PLUG Membership: http://www.plug.org.au/membership
More information about the plug
mailing list