VPN autoconnect not working

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
borg101

VPN autoconnect not working

Post by borg101 »

I setup my VPN (IPVanish) using Open VPN. When I manually turn it on, the VPN works. However. when I have my VPN set to autoconnect, when I reboot my lan connection is disconnected as is my VPN. I reenable them and they function just fine. I don't recall having this issue in Mint 17.3, 18.0, or 18.1.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
borg101

Re: VPN autoconnect not working

Post by borg101 »

Does anyone have any idea on how I can troubleshoot this?
K3lvin

Re: VPN autoconnect not working

Post by K3lvin »

I too am trying to set up an auto connect for the VPN. I have run across references of how to do it in past version, some show a check box in the edit connection dialog. Does anyone know the reason this was removed? Any alternative methods of setting up an auto connect would also be appreciated.

TIA
hrmcrm

Re: VPN autoconnect not working

Post by hrmcrm »

Autoconnect to wireless and VPN after boot or resume works correctly on Mint 18.2 KDE 64-bit. What desktop are you using?
K3lvin

Re: VPN autoconnect not working

Post by K3lvin »

The wifi on my system connects automatically when I boot but I must go into the network manager applet after each boot up and select the VPN. I have listed my System info below.

Code: Select all

System:    Host: Elizabeth-ThinkPad-SL500 Kernel: 4.8.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.3 (Gtk 3.18.9-1ubuntu3.3) dm: lightdm Distro: Linux Mint 18.2 Sonya
Machine:   System: LENOVO (portable) product: 2746BKU v: ThinkPad SL500
           Mobo: LENOVO model: 2746BKU v: LENOVO 6AET50WW Bios: LENOVO v: 6AET50WW date: 11/10/2008
CPU:       Dual core Intel T1600 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 ssse3) bmips: 6650 
           clock speeds: max: 1662 MHz 1: 1662 MHz 2: 1662 MHz
Graphics:  Card: Intel Mobile 4 Series Integrated Graphics Controller bus-ID: 00:02.0 chip-ID: 8086:2a42
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1280x800@60.01hz
           GLX Renderer: Mesa DRI Mobile Intel GM45 Express
           GLX Version: 2.1 Mesa 12.0.6 Direct Rendering: Yes
Audio:     Card Intel 82801I (ICH9 Family) HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0 chip-ID: 8086:293e
           Sound: Advanced Linux Sound Architecture v: k4.8.0-53-generic
Network:   Card-1: Qualcomm Atheros AR242x / AR542x Wireless Network Adapter (PCI-Express)
           driver: ath5k bus-ID: 02:00.0 chip-ID: 168c:001c
           IF: wlp2s0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e800 bus-ID: 0c:00.0 chip-ID: 10ec:8168
           IF: enp12s0 state: down mac: <filter>
Drives:    HDD Total Size: 160.0GB (4.9% used)
           ID-1: /dev/sda model: FUJITSU_MHZ2160B size: 160.0GB serial: K60WT8A2DUSG
Partition: ID-1: / size: 64G used: 5.5G (10%) fs: ext4 dev: /dev/sda6
           ID-2: swap-1 size: 2.05GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      System: supported: N/A
           No RAID devices: /proc/mdstat, md_mod kernel module present
           Unused Devices: none
Sensors:   System Temperatures: cpu: 60.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Repos:     Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http: //packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
           deb http: //archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
           deb http: //archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
           deb http: //security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
           deb http: //archive.canonical.com/ubuntu/ xenial partner
Info:      Processes: 194 Uptime: 27 min Memory: 1280.2/2973.6MB
           Init: systemd v: 229 runlevel: 5 default: 2 Gcc sys: 5.4.0
Client: Unknown python2.7 client inxi: 2.2.35
Bender72
Level 1
Level 1
Posts: 37
Joined: Mon Jul 18, 2016 8:22 pm

Re: VPN autoconnect not working

Post by Bender72 »

I have the same problem. It appears to be a known, still unresolved issue:

viewtopic.php?f=150&t=180176&p=1431354
Locked

Return to “Networking”