VPN does not work

Hello,
PPTP is not connected on Lx 4.2. Logs…

/usr/sbin/pppd: Plugin /usr/lib64/pppd/2.4.5/nm-pptp-pppd-plugin.so is for pppd version 2.4.7, this is 2.4.9

Where to find nm-pptp-pppd-plugin.so for the ppp-2.4.9?

Welcome to OM forum @andreas.

You mean journal logs? First I am just a user in terms of knowledge. Do not know anything much about ppp. To contact folks like developers ask about this on OpenMandriva Cooker IRC. More on OM IRC here.

If I simply try to run /usr/sbin/pppd on Lx 4.2 (fully up to date) I get this in journal:

$ journalctl -b | grep ppp
Jul 23 11:51:38 vbox-64-3765 sudo[1635]:    ben79 : HOST=vbox-64-3765 ; TTY=pts/1 ; PWD=/home/ben79 ; USER=root ; COMMAND=/usr/sbin/pppd
Jul 23 11:51:38 vbox-64-3765 pppd[1641]: pppd 2.4.9 started by ben79, uid 0
Jul 23 11:51:38 vbox-64-3765 pppd[1641]: Using interface ppp0
Jul 23 11:51:38 vbox-64-3765 pppd[1641]: Connect: ppp0 <--> /dev/pts/1
Jul 23 11:52:08 vbox-64-3765 pppd[1641]: LCP: timeout sending Config-Requests
Jul 23 11:52:08 vbox-64-3765 pppd[1641]: Connection terminated.
Jul 23 11:52:08 vbox-64-3765 pppd[1641]: Receive serial link is not 8-bit clean:
Jul 23 11:52:08 vbox-64-3765 pppd[1641]: Problem: all had bit 7 set to 0
Jul 23 11:52:08 vbox-64-3765 pppd[1641]: Modem hangup
Jul 23 11:52:08 vbox-64-3765 pppd[1641]: Exit.

These are the default packages in fully up to date Lx 4.2 system:

$ rpm -qa | grep ppp
ppp-2.4.9-2.x86_64
ppp-pppoatm-2.4.9-2.x86_64
ppp-radius-2.4.9-2.x86_64
rp-pppoe-3.14-1.x86_64

I see this in /usr/lib64/pppd:

$ ls -lh /usr/lib64/pppd
total 8.0K
drwxr-xr-x 2 root root 4.0K Feb 11 19:17 2.4.5
drwxr-xr-x 2 root root 4.0K Feb 11 19:16 2.4.9

To find what packages are available use dnf search ppp.

Hope some of this was helpful.

There is a package networkmanager-ppp available and looks like installed by default in our Rolling branch. Rolling is currently also OM Lx 4.3 RC and users report it to be working well.

I am using a NetworkManager:

$ nmcli con up myinternet
Error: Connection activation failed: The VPN service stopped unexpectedly
Hint: use ‘journalctl -xe NM_CONNECTION=215f8b9a-46e7-46fa-858d-94f694c9a2a8 + NM_DEVICE=enp0s3’ to get more details.

$ journalctl -xe
Jul 23 15:00:15 localhost.localdomain NetworkManager[680]: [1627052415.4985] vpn-connection[0x1244540,215f8b9a-46e7-46fa-858d-94f694c9a2a8,“myinternet”,0]: VPN plugin: state changed: starting (3)
Jul 23 15:00:15 localhost.localdomain NetworkManager[1657]: /usr/sbin/pppd: Plugin /usr/lib64/pppd/2.4.5/nm-pptp-pppd-plugin.so is for pppd version 2.4.7, this is 2.4.9
Jul 23 15:00:15 localhost.localdomain pppd[1657]: Plugin /usr/lib64/pppd/2.4.5/nm-pptp-pppd-plugin.so is for pppd version 2.4.7, this is 2.4.9
Jul 23 15:00:15 localhost.localdomain NetworkManager[680]: [1627052415.5061] vpn-connection[0x1244540,215f8b9a-46e7-46fa-858d-94f694c9a2a8,“myinternet”,0]: VPN plugin: failed: login-failed (0)
Jul 23 15:00:15 localhost.localdomain NetworkManager[680]: [1627052415.5062] vpn-connection[0x1244540,215f8b9a-46e7-46fa-858d-94f694c9a2a8,“myinternet”,0]: VPN plugin: failed: connect-failed (1)
Jul 23 15:00:15 localhost.localdomain NetworkManager[680]: [1627052415.5062] vpn-connection[0x1244540,215f8b9a-46e7-46fa-858d-94f694c9a2a8,“myinternet”,0]: VPN plugin: state changed: stopping (5)
Jul 23 15:00:15 localhost.localdomain NetworkManager[680]: [1627052415.5062] vpn-connection[0x1244540,215f8b9a-46e7-46fa-858d-94f694c9a2a8,“myinternet”,0]: VPN plugin: state changed: stopped (6)
Jul 23 15:00:15 localhost.localdomain NetworkManager[680]: [1627052415.5214] vpn-connection[0x1244540,215f8b9a-46e7-46fa-858d-94f694c9a2a8,“myinternet”,0]: VPN service disappeared

$ rpm -qa | grep ppp
ppp-2.4.9-2.x86_64
ppp-pppoatm-2.4.9-2.x86_64
ppp-radius-2.4.9-2.x86_64
rp-pppoe-3.14-1.x86_64

With ppp-2.4.7 on Lx 4.1 is worked pptp-connection.

Plugin problem. I need to rollback to an older version ppp((.

1 Like

Then do as I suggested and ask our developers.

Post-edit: With apologies I am just trying to save you some time. I am taking a look a our vpn software myself. But no point in trying to help with something that I do not know much about.

I need to correct myself. Maybe contacting our devs is not such a good idea for what you want to do.

There are ppp 2.4.7-9 packages here.

To me it would be more productive to get the newer packages working properly. Developers would likely want to help with that. But that is just me.

Helpful hint about posting code here.

Apologies again, now my posts are partly just me trying to learn a bit about this. Do not know if this helps anything but maybe keep the current packages and create a symbolic link:

$ sudo ln -s /usr/lib64/pppd/2.4.5/nm-pppt-pppd-plugin.so /usr/lib64/pppd/2.4.9/

Post-edit: If that were to work then I would want to ask developers if that file should be put back in current packages. Also I wonder if maybe they kept the 2.4.5 directory just for this reason?

Unfortunately symlink does not solve the problem. Plugin requires ppp-2.4.7 version.

1 Like

Thank you very much. It works now!

1 Like