You are not logged in.

#1 2023-03-15 06:14:06

arsh minux
Member
Registered: 2023-03-15
Posts: 4

[Solved] NetworkManager-Openvpn Trouble since upgrade.

Network Manager working fine, with everything else.

Openvpn over ethernet works fine from command line.

updated to 6.2.6 Zen -Still happening.

Endless password loop. Connects to network - all ok. Connect to VPN via nm-applet/networkmanager/openvpn with an imported ovpn file...

Endless password request loop. Ovpn works on all other (older) installs.

Any suggestions?

Last edited by arsh minux (2023-04-04 05:54:42)

Offline

#2 2023-03-15 13:42:42

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

My openvpn connection also just started to fail with NetworkManager. I downgraded openvpn to 2.5.8, and then it worked.

Offline

#3 2023-03-15 16:43:03

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 629

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

I use NordVPN, posting this over VPN.

Edit: I don't use the NordVPN binary from the aur, I just import the configuration file that I download from Nord.

7: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 500
    link/none 
    inet 10.8.2.3/24 brd 10.8.2.255 scope global noprefixroute tun0
       valid_lft forever preferred_lft forever
    inet6 fe80::f346:f343:614a:bf53/64 scope link stable-privacy 
       valid_lft forever preferred_lft forever


6.2.6-zen1-1-zen

openvpn 2.6.1-1

networkmanager 1.42.4-1

network-manager-applet 1.30.0-1

networkmanager-openvpn 1.10.2-1

Last edited by Zod (2023-03-15 16:51:01)

Offline

#4 2023-03-15 17:23:36

loqs
Member
Registered: 2014-03-06
Posts: 17,196

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

Offline

#5 2023-03-17 02:12:31

arsh minux
Member
Registered: 2023-03-15
Posts: 4

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

Tried downgrade. No luck. 2.5.8-1 "failed" but no password loop.

2.5.8-2 - password loop.

Well I have an old easy work around for those interested ... create an openvpn launcher on  the desktop (if your desktop allows it).. and cli it in the launcher through terminal with config file, double or single click - password...

Anyway, downgrades didn't work. will have to check logs... I upgraded from a kernel from about 6 months ago.

So I can't remember which it was on.
Anybody else fix it ?

Offline

#6 2023-03-17 06:50:36

SimonJ
Member
Registered: 2021-05-11
Posts: 119

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

I had a similar issue and have scripted start for vpn after the network is up, also a hook for resume from sleep which does the same job, no issues at all with this workround for a few months

script

while ! ping -c 1 -W 1 192.168.0.1; do
	notify-send --icon computer 'Waiting on network'
    sleep 1
done
nmcli con up "vpn-006" passwd-file ~/.ssh/vpn-pass

Last edited by SimonJ (2023-03-17 06:51:42)

Offline

#7 2023-03-18 02:46:40

n0ko
Member
Registered: 2020-04-13
Posts: 2

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

I'd like to point your attention to these two threads:
1. https://bbs.archlinux.org/viewtopic.php?id=284350 (arch wiki)
2. https://github.com/OpenVPN/openvpn3-linux/issues/171 (github issues)

TLDR - The newer glibc library breaks openvpn3 (I'm not sure if it is specific to just this vpn client or the encryption associated with tunneling). The immediate solution here was to downgrade the glib2 library (with the downgrade binary from AUR) with the command = `sudo downgrade glib2=2.74.6`. It is not recommended to ignore the glib library upgrades.

Offline

#8 2023-03-21 05:31:10

arsh minux
Member
Registered: 2023-03-15
Posts: 4

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

Thanks for the reply & threads. Openvpn itself is fine - All cli openvpn (the arch package) stuff works perfect.

Only networkmanager-openvpn plugin not working right. Just a password loop - enter password via window -- and back to that window.. over and over. The password and VPN file work fine from the command line.

Anyway, may try another update soon - haven't had time to work on it, aside from tyring suggestions.

Thanks!

Offline

#9 2023-03-23 19:59:52

Thomas_Do
Member
Registered: 2011-08-12
Posts: 65

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

networkmanager-openvpn-git works.

Offline

#10 2023-04-04 05:51:03

arsh minux
Member
Registered: 2023-03-15
Posts: 4

Re: [Solved] NetworkManager-Openvpn Trouble since upgrade.

Worked!

On... 6.2.6-zen1-1-zen

will try lts/regular later.



THANK YOU!


The fix: Read Thomas_Do reply..

install via AUR networkmanager-openvpn-git -- select remove regular version during install...

Working w/o reboot (on mine).

Last edited by arsh minux (2023-04-04 05:55:29)

Offline

Board footer

Powered by FluxBB