VPN Connection

Hi,

I have two ‘free’ VPN accounts.
One is a openvpn connection the other a pptp connection.
Both work on several distro, except on OpenMandria.
Connection refused.

What do I mis?

at first you need to collect and show any logs.

Fedya,

Not much to log.
Only output of journalctl filterded with vpn, ppp and pptp.vpn.txt (339.1 KB)

I’m looking on it. I’ll release some updated packages which may help in this case.

Thanks TPG.

Things are fixed in new networkmanager-openvpn package

You may want to wait for this package or run these commands as root:

groupadd -r nm-openvpn

useradd -r -g nm-openvpn -d / -s /sbin/nologin -c "Default user for running openvpn spawned by NetworkManager" nm-openvpn

TPG,

One down, one to go …
OpenVPN connection works, thanks for it.

The pptp connection not yet.
I think it is that OpenMandriva has compile the pppd deamon with the option “require-mppe-128” missing.

NetworkManager[4955]: /usr/sbin/pppd: unrecognized option ‘require-mppe-128’

But this option is needed see (6): https://hide.me/en/vpnsetup/ubuntu/pptp/
For this account.

1 Like

Our kernel is compiled with CONFIG_PPP_MPPE=m
This means MPPE is build as a module, so you need to load it by hand.

Can you try to run modprobe and load this module, then start pptp connection ?

This should help to find the module
lsmod | grep -i mppe

The best wishes for 2018 TPG,

But sorry, on the other distro’s the module ppp_mppe is not loaded bij default.
It is automatic loaded when I start de pptp VPN connection.

OpenMandriva doesn’t do that. Even when I load the module ppp_mppe manualy before I start the pptp VPN connection. OpenMandriva fails to connect.

Jan 03 17:47:18 Lx3.BlueWorld NetworkManager[4941]: /usr/sbin/pppd: unrecognized option ‘require-mppe-128’
Jan 03 17:47:18 Lx3.BlueWorld NetworkManager[4941]: pppd version 2.4.7
Jan 03 17:47:18 Lx3.BlueWorld NetworkManager[4941]: Usage: /usr/sbin/pppd [ options ], where options are:
Jan 03 17:47:18 Lx3.BlueWorld NetworkManager[4941]: See pppd(8) for more options.
Jan 03 17:47:18 Lx3.BlueWorld pppd[6632]: unrecognized option ‘require-mppe-128’

@MauRice can you please run these as root:
modprobe ppp_generic
modprobe ppp_generic

and start pptp connection then ?

TPG,

Also with loading the module “ppp_generic” & “ppp_mppe” manually before connection pptp VPN. No connection.

Jan 03 20:41:31 Lx3.BlueWorld kernel: LoadPin: kernel-module old-api-pinning-ignored obj= pid=6146 cmdline=“modprobe ppp_generic”
Jan 03 20:41:31 Lx3.BlueWorld kernel: LoadPin: kernel-module old-api-pinning-ignored obj= pid=6146 cmdline=“modprobe ppp_generic”
Jan 03 20:41:31 Lx3.BlueWorld kernel: PPP generic driver version 2.4.2
Jan 03 20:41:33 Lx3.BlueWorld kernel: LoadPin: kernel-module old-api-pinning-ignored obj= pid=6163 cmdline=“modprobe ppp_mppe”
Jan 03 20:41:33 Lx3.BlueWorld kernel: PPP MPPE Compression module registered
Jan 03 20:41:48 Lx3.BlueWorld NetworkManager[4921]: /usr/sbin/pppd: unrecognized option ‘require-mppe-128’
Jan 03 20:41:48 Lx3.BlueWorld NetworkManager[4921]: pppd version 2.4.7
Jan 03 20:41:48 Lx3.BlueWorld NetworkManager[4921]: Usage: /usr/sbin/pppd [ options ], where options are:
Jan 03 20:41:48 Lx3.BlueWorld NetworkManager[4921]: See pppd(8) for more options.
Jan 03 20:41:48 Lx3.BlueWorld pppd[6196]: unrecognized option ‘require-mppe-128’

By the way, mine smartphone (android) has also the possibility to conecct pptp VPN.
Here works the account too.

I may found the real issue. Please try with ppp-2.4.7-5

Sorry TPG,

After recent update, include the ppp, it is worse.
OpenVPN does not work anymore.
Message for both connection is: “Could not find source connection.”

And wiith the kernel update, it f**k up mine nVidia340 driver as usually.
So an problem more, finding the right patch.
There is also the 340.104 version available on the nVidia site.
OpenMandriva has the 340.102-2 version.

I’m sorry, I loved Mandriva, but OpenMandriva is not worthy to used on daily based.
To much issues.

Ok then I’ll revert my changes to ppp. Sorry for a disappoint.

OK TPG,

Thanks in advance.

TPG,

OpenVPN is restored.
Thanks.

PPtP not yet, same messages as before.

pppd[6621]: unrecognized option ‘require-mppe-128’

I do not know how to fix it, sorry.

TPG,

No problem, thanks for the efforts.