Announcement

Collapse
No announcement yet.

Network Manager Fails to connect to open vpn (expressvpn) - terminal works fine

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] Network Manager Fails to connect to open vpn (expressvpn) - terminal works fine

    Hi,

    My System:

    ----------------------------------------------------------------------------------------
    :~$ inxi -Fxzd
    System:
    Kernel: 5.19.0-26-generic arch: x86_64 bits: 64 compiler: N/A
    Desktop: KDE Plasma v: 5.25.5 Distro: Ubuntu 22.10 (Kinetic Kudu)
    Machine:
    Type: Desktop System: Micro-Star product: Z370 Gaming Infinite X(MS-B916)
    v: 1.0 serial: <superuser required>
    Mobo: Micro-Star model: Z370M GAMING PRO AC (MS-7B44) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 9.40
    date: 12/27/2017
    Battery:
    Device-1: hidpp_battery_0 model: Logitech Wireless Mouse charge: 55%
    (should be ignored) status: discharging
    Device-2: hidpp_battery_1 model: Logitech Wireless Keyboard charge: 55%
    (should be ignored) status: discharging
    CPU:
    Info: 6-core model: Intel Core i7-8700K bits: 64 type: MT MCP
    arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
    Speed (MHz): avg: 3219 high: 3700 min/max: 800/5000 cores: 1: 3700
    2: 3700 3: 829 4: 3700 5: 3700 6: 3700 7: 3700 8: 800 9: 3700 10: 3700
    11: 3700 12: 3700 bogomips: 88796
    Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
    Graphics:
    Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Micro-Star MSI
    driver: nvidia v: 515.65.01 arch: Pascal bus-ID: 01:00.0
    Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.3 driver:
    X: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa
    gpu: nvidia,nvidia-nvswitch resolution: 1: 2560x1440 2: 2560x1440
    3: 2560x1440
    OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA
    515.65.01 direct render: Yes
    Audio:
    Device-1: Intel 200 Series PCH HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 1-13:8 bus-ID: 00:1f.3
    Device-2: NVIDIA GP104 High Definition Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 01:00.1
    Device-3: SteelSeries ApS Arctis 7 type: USB
    driver: hid-generic,snd-usb-audio,usbhid
    Sound Server-1: ALSA v: k5.19.0-26-generic running: yes
    Sound Server-2: PipeWire v: 0.3.58 running: yes
    Network:
    Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6
    IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
    Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak]
    driver: iwlwifi v: kernel bus-ID: 03:00.0
    IF: wlp3s0 state: down mac: <filter>
    Bluetooth:
    Device-1: Intel Wireless-AC 3168 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-7:4
    Report: hciconfig ID: hci0 rfk-id: 0 state: down
    bt-service: enabled,running rfk-block: hardware: no software: yes
    address: <filter>
    RAID:
    Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0
    bus-ID: 00:17.0
    Drives:
    Local Storage: total: 10.3 TiB used: 5.85 TiB (56.8%)
    ID-1: /dev/sda vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB
    ID-2: /dev/sdb vendor: Samsung model: SSD 870 EVO 1TB size: 931.51 GiB
    ID-3: /dev/sdc type: USB vendor: Seagate model: Expansion Desk
    size: 5.46 TiB
    ID-4: /dev/sdd type: USB vendor: Actions model: HS USB FlashDisk
    size: 58.59 GiB
    ID-5: /dev/sde type: USB vendor: Micron model: MTFDDAK256MAM-1K12
    size: 238.47 GiB
    Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRAM GUD0N rev: 1.00
    dev-links: cdrom
    Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
    Partition:
    ID-1: / size: 915.32 GiB used: 99.25 GiB (10.8%) fs: ext4 dev: /dev/sdb2
    ID-2: /boot/efi size: 511 MiB used: 33.9 MiB (6.6%) fs: vfat
    dev: /dev/sdb1
    Swap:
    ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
    Sensors:
    System Temperatures: cpu: 45.0 C mobo: N/A gpu: nvidia temp: 54 C
    Fan Speeds (RPM): N/A gpu: nvidia fan: 50%
    Info:
    Processes: 298 Uptime: 1h 17m Memory: 31.29 GiB used: 3.11 GiB (9.9%)
    Init: systemd target: graphical (5) Compilers: gcc: N/A Packages: 2308
    Shell: Bash v: 5.2.2 inxi: 3.3.21
    -----------------------------------------------------------------------------------------



    I setup my VPN today = expressvpn
    tried a test connection and it works great

    I then download the pre-made ovpn files from expressvpn for the Ubuntu network connection manager and set a few of those up using instructions on Expressvpn
    --I have done this before about a month ago on 20.04 LTS and all was working great
    --I had a system crash due to bad user behaviour (I forgot I should NOT delete anything from /var - EVER - been a long time since I ran Linux as daily driver - so re-learning a bunch of stuff and THAT was a hard lesson)

    I decided if I HAD to reinstall everything, may as well go with the most recent OS and install Kubuntu 22.10

    The ExpressVPN connection setups in network manager were working fine until I got to the fifth one.

    I set up Toronto = connect and disconnected fine
    I set up Toronto2 = connect and disconnected fine
    I set up Montreal = connect and disconnected fine
    I set up Barcelona = connect and disconnected fine
    I set up Barcelona2 = connect and disconnected fine
    I set up Madrid= did not connect gave error failed to activate Madrid <-I thought maybe node down so continued
    I set up Mexico = did not connect gave error failed to activate Mexico <-I thought maybe node down so continued
    I set up New Jersey = did not connect gave error failed to activate New Jersey <-I thought no way 3 nods are down - this is unheard of for ExpressVPN
    I go back to my first 5 connection that worked and tried them again - all are failing to connect with failed to activate error from KDE Plasma network manager
    I go to terminal and all the above are connecting fine from the terminal
    I run sudo tail -f /var/log/syslog
    I try to use network manager again:
    -----------tail output below------------
    Dec 02 21:25:50 who-r-u NetworkManager[874]: <info> [1670034350.2335] audit: op="connection-update" uuid="23b2a451-911d-4f6c-969f-d9f0b1bc2976" name="my_expressvpn_spain_-_barcelona_udp" args="vpn.secrets,vpn.data,ipv6.addr-gen-mode" pid=6257 uid=>
    Dec 02 21:25:52 who-r-u NetworkManager[874]: <info> [1670034352.5891] audit: op="statistics" interface="enp0s31f6" ifindex=2 args="2000" pid=2025 uid=1000 result="success"
    Dec 02 21:25:54 who-r-u NetworkManager[874]: <info> [1670034354.6357] vpn[0x559b6b160200,23b2a451-911d-4f6c-969f-d9f0b1bc2976,"my_expressvpn_spain_-_barcelona_udp"]: starting openvpn
    Dec 02 21:25:54 who-r-u NetworkManager[874]: <info> [1670034354.6363] audit: op="connection-activate" uuid="23b2a451-911d-4f6c-969f-d9f0b1bc2976" name="my_expressvpn_spain_-_barcelona_udp" pid=2025 uid=1000 result="success"
    Dec 02 21:25:54 who-r-u NetworkManager[6342]: 2022-12-02 21:25:54 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
    Dec 02 21:25:54 who-r-u NetworkManager[6342]: Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: keysize (2.6_git)
    Dec 02 21:25:54 who-r-u NetworkManager[6342]: Use --help for more information.
    Dec 02 21:25:54 who-r-u NetworkManager[874]: <warn> [1670034354.7061] vpn[0x559b6b160200,23b2a451-911d-4f6c-969f-d9f0b1bc2976,"my_expressvpn_spain_-_barcelona_udp"]: dbus: failure: connect-failed (1)
    Dec 02 21:25:54 who-r-u NetworkManager[874]: <warn> [1670034354.7062] vpn[0x559b6b160200,23b2a451-911d-4f6c-969f-d9f0b1bc2976,"my_expressvpn_spain_-_barcelona_udp"]: dbus: failure: connect-failed (1)
    Dec 02 21:26:03 who-r-u NetworkManager[874]: <info> [1670034363.3413] audit: op="statistics" interface="enp0s31f6" ifindex=2 args="0" pid=2025 uid=1000 result="success"
    ​-----------tail output above-----------

    Al through out this the terminal works fine - which is, I suppose a blessing, but I AM a long time Windows user who is GUI addicted - I AM learning more about terminal though, thank god.

    I have seen posts all over the web with this particular situation with network manager not working and this exact error from Arch to Ubuntu, Debian Fedora, Mint - this list goes on and it goes from 2013 to 2022 as near as I can find on the web.

    I can use the terminal but prefer the GUI and network manager is my one and only option for VPN.
    Any help resolving this would be MOST appreciated
    ​
    Last edited by yodamin; Dec 03, 2022, 07:44 PM.

    #2
    I got the network manager working .
    If anyone is here in the future for this reason - > open up the opvn file and comment out keysize 256

    IE:

    cipher AES-256-CBC
    #keysize 256
    auth SHA512
    sndbuf 524288
    rcvbuf 524288
    auth-user-pass​

    Comment

    Users Viewing This Topic

    Collapse

    There are 0 users viewing this topic.

    Working...
    X