VPN gets removed almost immediately after making a connection

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
arturski
Level 1
Level 1
Posts: 3
Joined: Fri Jun 10, 2011 7:18 pm

VPN gets removed almost immediately after making a connection

Post by arturski » Tue Jun 19, 2018 7:36 am

Hello,

Hope somebody can help . I will start by providing some info:

Code: Select all

System:    Host: arthur-desktop Kernel: 4.10.0-38-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3) Distro: Linux Mint 18.3 Sylvia
Machine:   System: Dell product: OptiPlex 9010 v: 01
           Mobo: Dell model: 00F82W v: A00 Bios: Dell v: A14 date: 06/11/2013
CPU:       Quad core Intel Core i7-3770 (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 27139
           clock speeds: max: 3900 MHz 1: 1675 MHz 2: 1684 MHz 3: 1619 MHz 4: 1697 MHz 5: 1686 MHz 6: 1646 MHz
           7: 1674 MHz 8: 1665 MHz
Graphics:  Card: NVIDIA GK107 [GeForce GT 640 OEM] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 2560x1440@59.95hz, 2560x1440@59.95hz
           GLX Renderer: GeForce GT 640/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.130 Direct Rendering: Yes
Audio:     Card-1 Intel 7 Series/C210 Series Family High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GK107 HDMI Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
           Card-3 Plantronics driver: USB Audio usb-ID: 001-008
           Sound: Advanced Linux Sound Architecture v: k4.10.0-38-generic
Network:   Card: Intel 82579LM Gigabit Network Connection driver: e1000e v: 3.2.6-k port: f040 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 1000.2GB (2.5% used) ID-1: /dev/sda model: WDC_WD10EZEX size: 1000.2GB
           Optical: /dev/sr0 model: PLDS DVD+-RW DH-16AES rev: 3D11 dev-links: cdrom,cdrw,dvd,dvdrw
           Features: speed: 48x multisession: yes
           audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition: ID-1: / size: 468G used: 8.4G (2%) fs: ext4 dev: /dev/sda1
           ID-2: swap-1 size: 17.13GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C gpu: 0.0:47C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 325 Uptime: 3 days Memory: 10238.3/16000.0MB Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35
           
 Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 008: ID 047f:013c Plantronics, Inc. 
Bus 001 Device 004: ID 0461:4d51 Primax Electronics, Ltd 0Y357C PMX-MMOCZUL (B) [Dell Laser Mouse]
Bus 001 Device 003: ID 413c:2113 Dell Computer Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 
Ive installed and configured the priunl vpn client same as i did on my other Ubuntu 16.04 machine. About 15 seconds after i make a connection it gets killed and I cannot figure out why.

syslog shows the interface being removed by ntpd

Code: Select all

Jun 19 13:25:08 arthur-desktop ntpd[21679]: Listen normally on 8 tun0 X.X.X.X:123
Jun 19 13:25:08 arthur-desktop ntpd[21679]: Listen normally on 9 tun0 [fe80::XXXX:XXXX:XXXX:XXXX%11]:123
Jun 19 13:25:08 arthur-desktop ntpd[21679]: new interface(s) found: waking up resolver
Jun 19 13:25:36 arthur-desktop ntpd[21679]: Deleting interface #8 tun0, X.X.X.X#123, interface stats: received=0, sent=0, dropped=0, active_time=28 secs
Jun 19 13:25:36 arthur-desktop ntpd[21679]: Deleting interface #9 tun0, fe80::XXXX:XXXX:XXXX:XXXX%11#123, interface stats: received=0, sent=0, dropped=0, active_time=28 secs
pritunl log

Code: Select all

Tue Jun 19 13:25:05 2018 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
Tue Jun 19 13:25:05 2018 library versions: OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08
Tue Jun 19 13:25:05 2018 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Tue Jun 19 13:25:05 2018 Control Channel Authentication: tls-auth using INLINE static key file
Tue Jun 19 13:25:05 2018 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Jun 19 13:25:05 2018 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Jun 19 13:25:05 2018 UDPv4 link local: [undef]
Tue Jun 19 13:25:05 2018 UDPv4 link remote: [AF_INET]X.X.X.X:17978
Tue Jun 19 13:25:05 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Jun 19 13:25:05 2018 VERIFY SCRIPT OK: depth=1, O=5a9f42f0f8c9296d9593ab8d, CN=5a9f42f0f8c9296d9593ab91
Tue Jun 19 13:25:05 2018 VERIFY OK: depth=1, O=5a9f42f0f8c9296d9593ab8d, CN=5a9f42f0f8c9296d9593ab91
Tue Jun 19 13:25:05 2018 Validating certificate key usage
Tue Jun 19 13:25:05 2018 NOTE: --mute triggered...
Tue Jun 19 13:25:05 2018 12 variation(s) on previous 3 message(s) suppressed by --mute
Tue Jun 19 13:25:05 2018 [5a9f46e6f8c9296d9593ae66] Peer Connection Initiated with [AF_INET]X.X.X.X:17978
Tue Jun 19 13:25:07 2018 TUN/TAP device tun0 opened
Tue Jun 19 13:25:07 2018 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Tue Jun 19 13:25:07 2018 /sbin/ip link set dev tun0 up mtu 1500
Tue Jun 19 13:25:07 2018 /sbin/ip addr add dev tun0 X.X.X.X/24 broadcast X.X.X.X
Tue Jun 19 13:25:07 2018 /usr/share/pritunl_client/update-resolv-conf.sh tun0 1500 1602 X.X.X.X 255.255.255.0 init
dhcp-option DNS X.X.X.X
dhcp-option DNS X.X.X.X
Tue Jun 19 13:25:09 2018 Initialization Sequence Completed
Tue Jun 19 13:25:35 2018 event_wait : Interrupted system call (code=4)
Tue Jun 19 13:25:35 2018 /bin/true tun0 1500 1602 X.X.X.X 255.255.255.0 init
Tue Jun 19 13:25:35 2018 Closing TUN/TAP interface
Tue Jun 19 13:25:35 2018 /sbin/ip addr del dev tun0 X.X.X.X/24
Tue Jun 19 13:25:35 2018 /usr/share/pritunl_client/update-resolv-conf.sh tun0 1500 1602 X.X.X.X 255.255.255.0 init
Tue Jun 19 13:25:35 2018 SIGTERM[hard,] received, process exiting
So far I have tried:

- marking tun0 interface as unmanaged in network-manager configuration
- stopping network-manager
- forcing ntpd to ignore virtual interfaces by adding the -L parameter

So far nothing worked, i hope somebody can help.

EDIT

Network-manager log in debug mode

Code: Select all

Jun 20 10:29:08 arthur-desktop ntpd[7759]: new interface(s) found: waking up resolver
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9358] platform: signal: route   4   added: 10.10.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9358] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9360] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x13199c0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9361] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9361] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9362] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9362] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9364] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9366] platform: signal: route   4   added: 10.105.137.0/24 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9366] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9367] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x13199c0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9369] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9369] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9369] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9370] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9372] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9375] platform: signal: route   4   added: 10.11.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9375] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9376] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319f60)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9378] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9379] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9379] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9379] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9382] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9384] platform: signal: route   4   added: 10.12.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9384] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9385] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319c90)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9388] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9388] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9388] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9389] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9392] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9393] platform: signal: route   4   added: 10.192.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9393] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9394] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319e70)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9398] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9398] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9398] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9399] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9402] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9403] platform: signal: route   4   added: 10.20.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9403] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9404] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319f60)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9407] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9408] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9408] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9408] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9411] platform: signal: route   4   added: 172.24.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9411] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9413] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9414] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1391bc0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9418] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9418] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9418] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9418] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9419] platform: signal: route   4   added: 172.25.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9419] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9423] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9424] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319e70)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9429] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9429] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9429] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9429] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9430] platform: signal: route   4   added: 192.168.13.0/24 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9430] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9435] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9436] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x13199c0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9441] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9441] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9441] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9442] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:08 arthur-desktop NetworkManager[19427]: <debug> [1529483348.9446] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3377] platform: signal: route   4 removed: 192.168.13.0/24 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3377] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3379] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1391bc0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3384] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3384] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3385] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3385] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3386] platform: signal: route   4 removed: 172.25.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3386] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3391] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3393] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319c90)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3398] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3399] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3399] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3399] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3400] platform: signal: route   4 removed: 172.24.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3401] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3404] platform: signal: route   4 removed: 10.20.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3406] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3408] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x13199c0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3411] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3412] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3412] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3412] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3416] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3421] platform: signal: route   4 removed: 10.192.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3421] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3423] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319f60)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3426] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3426] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3426] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3426] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3430] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3431] platform: signal: route   4 removed: 10.12.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3431] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3432] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319c90)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3435] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3435] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3435] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3436] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3439] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3440] platform: signal: route   4 removed: 10.11.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3440] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3443] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319e70)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3445] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3445] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3445] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3446] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3449] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3449] platform: signal: route   4 removed: 10.105.137.0/24 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3450] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3451] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319f60)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3452] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3452] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3453] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3453] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3455] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3460] platform: signal: route   4 removed: 10.10.0.0/16 via 192.168.248.1 dev 14 metric 0 mss 0 src user scope global
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3460] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3461] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1391bc0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3462] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3463] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3463] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3463] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3465] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3484] platform: signal: address 4 removed: 192.168.248.23/24 lft forever pref forever lifetime 69-0[4294967295,4294967295] dev 14 flags permanent src kernel
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3485] default-route: resync: schedule on idle
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3485] device[0x1384c10] (tun0): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3486] platform: signal: route   4 removed: 192.168.248.0/24 via 0.0.0.0 dev 14 metric 0 mss 0 src rtprot-kernel scope link pref-src 192.168.248.23
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3488] device[0x1384c10] (tun0): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x1319e70)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3489] device[0x1384c10] (tun0): ip4-config: update IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3490] dns-mgr: (device_ip4_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3490] dns-mgr: (device_ip4_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3491] dns-mgr: (device_ip4_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3491] platform: signal: link changed: 14: tun0 <NOARP,DOWN;pointopoint,multicast,noarp> mtu 1500 arp 65534 tun* init addrgenmode random driver tun
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3492] device[0x1384c10] (tun0): queued link change for ifindex 14
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3493] platform: signal: route   6 removed: fe80::/64 via :: dev 14 metric 256 mss 0 src rtprot-kernel
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3493] device[0x1384c10] (tun0): queued IP6 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3494] platform: signal: address 6 removed: fe80::5ff0:7ad1:da41:546e/64 lft forever pref forever lifetime 69-0[4294967295,4294967295] dev 14 flags permanent,0x800 src kernel
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3505] platform: signal: link removed: 14: tun0 <NOARP,DOWN;pointopoint,multicast,noarp> mtu 1500 arp 65534 tun* not-init addrgenmode random
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3506] platform: signal: address 4 changed: 10.33.2.209/16 lft 7137sec pref 7137sec lifetime 69-5[7201,7201] dev 2 src kernel
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3507] device[0x12febd0] (eno1): queued IP4 config change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3510] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3512] device[0x1384c10] (tun0): ip6-config: update (commit=0, routes-full-sync=0, new-config=0x137fb40)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3513] device[0x1384c10] (tun0): ip6-config: update IP6Config instance (/org/freedesktop/NetworkManager/IP6Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3513] dns-mgr: (device_ip6_config_changed): queueing DNS updates (1)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3514] dns-mgr: (device_ip6_config_changed): DNS configuration did not change
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3514] dns-mgr: (device_ip6_config_changed): no DNS changes to commit (0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3514] device[0x1384c10] (tun0): unrealize (ifindex 14)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3519] device[0x1384c10] (tun0): add_pending_action (1): 'autoactivate'
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3522] device[0x1384c10] (tun0): unmanaged: flags set to [platform-init,user-settings,!sleeping,!loopback,!external-down=0x50/0x859/unmanaged/unrealized, set-unmanaged [platform-init=0x10])
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3523] device[0x1384c10] (tun0): unmanaged: flags set to [platform-init,user-settings,!sleeping=0x50/0x51/unmanaged/unrealized, forget [parent,loopback,user-udev,external-down,is-slave=0x1c0c])
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3523] device[0x1384c10] (tun0): state change: unmanaged -> unmanaged (reason 'unmanaged') [10 10 3]
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3524] device[0x12febd0] (eno1): ip4-config: update (commit=0, routes-full-sync=0, new-config=0x13199c0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3527] device[0x1384c10] (tun0): emit RECHECK_ASSUME signal
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3529] device[0x1384c10] (tun0): remove_pending_action (0): 'autoactivate'
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3530] manager: (tun0): removing device (allow_unmanage 1, managed 0)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3531] device[0x1384c10] (tun0): disposing
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3532] device[0x1384c10] (tun0): remove_pending_action (0): 'dhcp6' not pending (expected)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3532] device[0x1384c10] (tun0): remove_pending_action (0): 'autoconf6' not pending (expected)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3532] device[0x1384c10] (tun0): ip4-config: update (commit=1, routes-full-sync=1, new-config=(nil))
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3532] device[0x1384c10] (tun0): ip4-config: clear IP4Config instance (/org/freedesktop/NetworkManager/IP4Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3533] device[0x1384c10] (tun0): ip6-config: update (commit=1, routes-full-sync=1, new-config=(nil))
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3533] device[0x1384c10] (tun0): ip6-config: clear IP6Config instance (/org/freedesktop/NetworkManager/IP6Config/2)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3534] device[0x1384c10] (tun0): finalize(): NMDeviceTun
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3535] default-route: resync: sync now (439) (IPv4 changes: yes, IPv6 changes: yes)
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3580] platform-linux: UDEV event: action 'remove' subsys 'net' device 'tun0' (14); seqnum=3298
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <debug> [1529483374.3580] platform-linux: udev-remove: IFINDEX=14
Jun 20 10:29:34 arthur-desktop NetworkManager[19427]: <info>  [1529483374.3581] devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Jun 20 10:29:35 arthur-desktop ntpd[7759]: Deleting interface #11 tun0, 192.168.248.23#123, interface stats: received=0, sent=0, dropped=0, active_time=27 secs
Jun 20 10:29:35 arthur-desktop ntpd[7759]: Deleting interface #12 tun0, fe80::5ff0:7ad1:da41:546e%14#123, interface stats: received=0, sent=0, dropped=0, active_time=27 sec
I tried removing network-manager altogether but that was a big mistake. Doing this stopped cinnamon from working. I had to manually configure the interface and then reinstall cinnamon meta package

arturski
Level 1
Level 1
Posts: 3
Joined: Fri Jun 10, 2011 7:18 pm

Re: VPN gets removed almost immediately after making a connection

Post by arturski » Thu Jun 21, 2018 4:12 am

After some tinkering i tried to run the openvpn client with the profile which actually worked ok. I had to configure dns manually but thats a small price to pay.

So for some reason NetworkManager was killing the GUI client provided by pritunl

Post Reply

Return to “Other networking topics”