Jump to content
Not connected, Your IP: 52.15.71.146
theyflewaway

AirVPN client stuck in restart loop

Recommended Posts

I'm currently in the phase of testing different VPNs to see if they're the right one for me to invest in. AirVPN seems like the best bet for me on account of the integrated SSL/SSH protocols.

 

I intend to use VPN on two wifi networks: one for home, and one for uni. My uni wifi network is a little more locked-down than my home wifi - for example, major VPN websites (including AirVPN) are blocked. I can still access them via Tor, however. When I installed AirVPN I expected this to be the issue. However, the issue I'm having is still present on home wifi.

 

No matter what protocol I choose, AirVPN changes between "Connecting to X" and "Restart in X sec."

 

What's happening here? How do I fix it?

 

In the spoiler is my entire log after a few reconnections.

 

I 2017.03.29 16:51:39 - Eddie client version: 2.12.4 / linux_x64, System: Linux, Name: Ubuntu 14.04.5 LTS \n \l, Mono/.Net Framework: v4.0.30319
. 2017.03.29 16:51:39 - Reading options from /home/denna/.airvpn/AirVPN.xml
. 2017.03.29 16:51:40 - Data path: /home/denna/.airvpn
. 2017.03.29 16:51:40 - Application path: /usr/lib/AirVPN
. 2017.03.29 16:51:40 - Executable path: /usr/lib/AirVPN/AirVPN.exe
. 2017.03.29 16:51:40 - Command line arguments (1): path="/home/denna/.airvpn"
. 2017.03.29 16:51:40 - Operating System: Unix 3.14.0.0 - Linux localhost 3.14.0 #1 SMP PREEMPT Sat Mar 18 09:21:47 PDT 2017 x86_64 x86_64 x86_64 GNU/Linux
I 2017.03.29 16:51:40 - OpenVPN Driver - Found, /dev/net/tun
I 2017.03.29 16:51:40 - OpenVPN - Version: 2.3.2 -  (/usr/sbin/openvpn)
I 2017.03.29 16:51:40 - SSH - Version: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.8, OpenSSL 1.0.1f 6 Jan 2014 (/usr/bin/ssh)
I 2017.03.29 16:51:40 - SSL - Version: stunnel 4.53 (/usr/bin/stunnel4)
I 2017.03.29 16:51:40 - curl - Version: 7.35.0 (/usr/bin/curl)
I 2017.03.29 16:51:40 - Certification Authorities: /usr/share/AirVPN/cacert.pem
! 2017.03.29 16:51:40 - Ready
. 2017.03.29 16:51:40 - Updating systems & servers data ...
. 2017.03.29 16:51:40 - Systems & servers data update completed
I 2017.03.29 16:51:42 - Session starting.
. 2017.03.29 16:51:42 - Unable to understand if IPv6 is active.
I 2017.03.29 16:51:58 - Checking authorization ...
! 2017.03.29 16:51:58 - Connecting to Orion (Netherlands, Alblasserdam)
. 2017.03.29 16:51:58 - OpenVPN > OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
. 2017.03.29 16:51:58 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2017.03.29 16:51:58 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2017.03.29 16:51:58 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:51:58 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:51:58 - OpenVPN > Socket Buffers: R=[212992->131072] S=[212992->131072]
. 2017.03.29 16:51:58 - OpenVPN > UDPv4 link local: [undef]
. 2017.03.29 16:51:58 - OpenVPN > UDPv4 link remote: [AF_INET]213.152.161.238:443
. 2017.03.29 16:51:58 - OpenVPN > TLS: Initial packet from [AF_INET]213.152.161.238:443, sid=25275297 058dc785
. 2017.03.29 16:51:59 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2017.03.29 16:51:59 - OpenVPN > Validating certificate key usage
. 2017.03.29 16:51:59 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2017.03.29 16:51:59 - OpenVPN > VERIFY KU OK
. 2017.03.29 16:51:59 - OpenVPN > Validating certificate extended key usage
. 2017.03.29 16:51:59 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2017.03.29 16:51:59 - OpenVPN > VERIFY EKU OK
. 2017.03.29 16:51:59 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Orion, emailAddress=info@airvpn.org
. 2017.03.29 16:51:59 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:51:59 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:51:59 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:51:59 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:51:59 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-SHA, 4096 bit RSA
. 2017.03.29 16:51:59 - OpenVPN > [Orion] Peer Connection Initiated with [AF_INET]213.152.161.238:443
. 2017.03.29 16:52:01 - OpenVPN > SENT CONTROL [Orion]: 'PUSH_REQUEST' (status=1)
. 2017.03.29 16:52:01 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.2.83 255.255.0.0'
. 2017.03.29 16:52:01 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2017.03.29 16:52:01 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2017.03.29 16:52:01 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2017.03.29 16:52:01 - OpenVPN > OPTIONS IMPORT: route options modified
. 2017.03.29 16:52:01 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2017.03.29 16:52:01 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2017.03.29 16:52:01 - OpenVPN > ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlan0 HWADDR=a4:c4:94:ea:93:77
. 2017.03.29 16:52:01 - OpenVPN > TUN/TAP device tun0 opened
. 2017.03.29 16:52:01 - OpenVPN > TUN/TAP TX queue length set to 100
. 2017.03.29 16:52:01 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2017.03.29 16:52:01 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2017.03.29 16:52:01 - OpenVPN > /sbin/ip addr add dev tun0 10.4.2.83/16 broadcast 10.4.255.255
. 2017.03.29 16:52:06 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:06 - OpenVPN > /sbin/ip route add 213.152.161.238/32 via 192.168.0.1
. 2017.03.29 16:52:06 - OpenVPN > /sbin/ip route add 0.0.0.0/1 via 10.4.0.1
. 2017.03.29 16:52:06 - OpenVPN > RTNETLINK answers: Network is unreachable
. 2017.03.29 16:52:06 - Above log line repeated 1 times more
. 2017.03.29 16:52:06 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 2
. 2017.03.29 16:52:06 - OpenVPN > /sbin/ip route add 128.0.0.0/1 via 10.4.0.1
. 2017.03.29 16:52:06 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 2
. 2017.03.29 16:52:06 - Starting Management Interface
. 2017.03.29 16:52:06 - OpenVPN > Initialization Sequence Completed
. 2017.03.29 16:52:06 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:06 - Above log line repeated 812 times more
. 2017.03.29 16:52:06 - /etc/resolv.conf moved to /etc/resolv.conf.eddie as backup
. 2017.03.29 16:52:06 - DNS of the system updated to VPN DNS (Rename method: /etc/resolv.conf generated)
I 2017.03.29 16:52:06 - Checking route
E 2017.03.29 16:52:07 - Checking route don't match
. 2017.03.29 16:52:07 - Checking route (2° try)
E 2017.03.29 16:52:08 - Checking route don't match
. 2017.03.29 16:52:08 - Checking route (3° try)
E 2017.03.29 16:52:10 - Checking route don't match
E 2017.03.29 16:52:10 - Routing checking failed.
. 2017.03.29 16:52:10 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2017.03.29 16:52:10 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:10 - Above log line repeated 3496 times more
! 2017.03.29 16:52:10 - Disconnecting
. 2017.03.29 16:52:10 - Management - Send 'signal SIGTERM'
. 2017.03.29 16:52:10 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:10 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:10 - Above log line repeated 22 times more
. 2017.03.29 16:52:10 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:10 - OpenVpn Management > >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
. 2017.03.29 16:52:10 - Above log line repeated 749 times more
. 2017.03.29 16:52:10 - OpenVPN > MANAGEMENT: CMD 'signal SIGTERM'
. 2017.03.29 16:52:10 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:10 - OpenVPN > SIGTERM received, sending exit notification to peer
. 2017.03.29 16:52:10 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:15 - Above log line repeated 254709 times more
. 2017.03.29 16:52:15 - OpenVPN > RTNETLINK answers: No such process
. 2017.03.29 16:52:15 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:15 - Above log line repeated 49 times more
. 2017.03.29 16:52:15 - OpenVPN > RTNETLINK answers: No such process
. 2017.03.29 16:52:15 - OpenVPN > Cannot find device "tun0"
. 2017.03.29 16:52:15 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:15 - Above log line repeated 145 times more
. 2017.03.29 16:52:15 - Connection terminated.
. 2017.03.29 16:52:15 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:15 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:15 - Above log line repeated 64 times more
. 2017.03.29 16:52:15 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:15 - DNS of the system restored to original settings (Rename method)
. 2017.03.29 16:52:15 - Above log line repeated 386 times more
. 2017.03.29 16:52:15 - OpenVPN > /sbin/ip route del 213.152.161.238/32
. 2017.03.29 16:52:15 - OpenVPN > /sbin/ip route del 0.0.0.0/1
. 2017.03.29 16:52:15 - OpenVPN > ERROR: Linux route delete command failed: external program exited with error status: 2
. 2017.03.29 16:52:15 - OpenVPN > /sbin/ip route del 128.0.0.0/1
. 2017.03.29 16:52:15 - OpenVPN > ERROR: Linux route delete command failed: external program exited with error status: 2
. 2017.03.29 16:52:15 - OpenVPN > Closing TUN/TAP interface
. 2017.03.29 16:52:15 - OpenVPN > /sbin/ip addr del dev tun0 10.4.2.83/16
. 2017.03.29 16:52:15 - OpenVPN > Linux ip addr del failed: external program exited with error status: 1
. 2017.03.29 16:52:15 - OpenVPN > SIGTERM[soft,exit-with-notification] received, process exiting
I 2017.03.29 16:52:18 - Checking authorization ...
! 2017.03.29 16:52:18 - Connecting to Edasich (Netherlands, Alblasserdam)
. 2017.03.29 16:52:18 - OpenVPN > OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
. 2017.03.29 16:52:18 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2017.03.29 16:52:18 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2017.03.29 16:52:18 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:18 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:18 - OpenVPN > Socket Buffers: R=[212992->131072] S=[212992->131072]
. 2017.03.29 16:52:18 - OpenVPN > UDPv4 link local: [undef]
. 2017.03.29 16:52:18 - OpenVPN > UDPv4 link remote: [AF_INET]213.152.161.210:443
. 2017.03.29 16:52:18 - OpenVPN > TLS: Initial packet from [AF_INET]213.152.161.210:443, sid=a4e4bbf0 2a871a2a
. 2017.03.29 16:52:18 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2017.03.29 16:52:18 - OpenVPN > Validating certificate key usage
. 2017.03.29 16:52:18 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2017.03.29 16:52:18 - OpenVPN > VERIFY KU OK
. 2017.03.29 16:52:18 - OpenVPN > Validating certificate extended key usage
. 2017.03.29 16:52:18 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2017.03.29 16:52:18 - OpenVPN > VERIFY EKU OK
. 2017.03.29 16:52:18 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Edasich, emailAddress=info@airvpn.org
. 2017.03.29 16:52:20 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:20 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:20 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:20 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:20 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-SHA, 4096 bit RSA
. 2017.03.29 16:52:20 - OpenVPN > [Edasich] Peer Connection Initiated with [AF_INET]213.152.161.210:443
. 2017.03.29 16:52:23 - OpenVPN > SENT CONTROL [Edasich]: 'PUSH_REQUEST' (status=1)
. 2017.03.29 16:52:23 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.1.194 255.255.0.0'
. 2017.03.29 16:52:23 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2017.03.29 16:52:23 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2017.03.29 16:52:23 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2017.03.29 16:52:23 - OpenVPN > OPTIONS IMPORT: route options modified
. 2017.03.29 16:52:23 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2017.03.29 16:52:23 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2017.03.29 16:52:23 - OpenVPN > ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlan0 HWADDR=a4:c4:94:ea:93:77
. 2017.03.29 16:52:23 - OpenVPN > Cannot find device "tun0"
. 2017.03.29 16:52:23 - OpenVPN > TUN/TAP device tun0 opened
. 2017.03.29 16:52:23 - OpenVPN > TUN/TAP TX queue length set to 100
. 2017.03.29 16:52:23 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2017.03.29 16:52:23 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2017.03.29 16:52:23 - OpenVPN > Linux ip link set failed: external program exited with error status: 1
. 2017.03.29 16:52:23 - OpenVPN > Exiting due to fatal error
! 2017.03.29 16:52:23 - Disconnecting
. 2017.03.29 16:52:23 - Connection terminated.
I 2017.03.29 16:52:26 - Checking authorization ...
! 2017.03.29 16:52:26 - Connecting to Andromeda (Netherlands, Alblasserdam)
. 2017.03.29 16:52:26 - OpenVPN > OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
. 2017.03.29 16:52:26 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2017.03.29 16:52:26 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2017.03.29 16:52:26 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:26 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:26 - OpenVPN > Socket Buffers: R=[212992->131072] S=[212992->131072]
. 2017.03.29 16:52:26 - OpenVPN > UDPv4 link local: [undef]
. 2017.03.29 16:52:26 - OpenVPN > UDPv4 link remote: [AF_INET]213.152.161.228:443
. 2017.03.29 16:52:26 - OpenVPN > TLS: Initial packet from [AF_INET]213.152.161.228:443, sid=95fd9960 77697b93
. 2017.03.29 16:52:26 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2017.03.29 16:52:26 - OpenVPN > Validating certificate key usage
. 2017.03.29 16:52:26 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2017.03.29 16:52:26 - OpenVPN > VERIFY KU OK
. 2017.03.29 16:52:26 - OpenVPN > Validating certificate extended key usage
. 2017.03.29 16:52:26 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2017.03.29 16:52:26 - OpenVPN > VERIFY EKU OK
. 2017.03.29 16:52:26 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Andromeda, emailAddress=info@airvpn.org
. 2017.03.29 16:52:26 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:26 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:26 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:26 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:26 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-SHA, 4096 bit RSA
. 2017.03.29 16:52:26 - OpenVPN > [Andromeda] Peer Connection Initiated with [AF_INET]213.152.161.228:443
. 2017.03.29 16:52:29 - OpenVPN > SENT CONTROL [Andromeda]: 'PUSH_REQUEST' (status=1)
. 2017.03.29 16:52:29 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.2.24 255.255.0.0'
. 2017.03.29 16:52:29 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2017.03.29 16:52:29 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2017.03.29 16:52:29 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2017.03.29 16:52:29 - OpenVPN > OPTIONS IMPORT: route options modified
. 2017.03.29 16:52:29 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2017.03.29 16:52:29 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2017.03.29 16:52:29 - OpenVPN > ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlan0 HWADDR=a4:c4:94:ea:93:77
. 2017.03.29 16:52:29 - OpenVPN > TUN/TAP device tun0 opened
. 2017.03.29 16:52:29 - OpenVPN > TUN/TAP TX queue length set to 100
. 2017.03.29 16:52:29 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2017.03.29 16:52:29 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2017.03.29 16:52:29 - OpenVPN > /sbin/ip addr add dev tun0 10.4.2.24/16 broadcast 10.4.255.255
. 2017.03.29 16:52:34 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:34 - OpenVPN > /sbin/ip route add 213.152.161.228/32 via 192.168.0.1
. 2017.03.29 16:52:34 - OpenVPN > /sbin/ip route add 0.0.0.0/1 via 10.4.0.1
. 2017.03.29 16:52:34 - OpenVPN > RTNETLINK answers: Network is unreachable
. 2017.03.29 16:52:34 - Above log line repeated 1 times more
. 2017.03.29 16:52:34 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 2
. 2017.03.29 16:52:34 - OpenVPN > /sbin/ip route add 128.0.0.0/1 via 10.4.0.1
. 2017.03.29 16:52:34 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 2
. 2017.03.29 16:52:34 - Starting Management Interface
. 2017.03.29 16:52:34 - OpenVPN > Initialization Sequence Completed
. 2017.03.29 16:52:34 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:34 - Above log line repeated 812 times more
. 2017.03.29 16:52:34 - /etc/resolv.conf moved to /etc/resolv.conf.eddie as backup
. 2017.03.29 16:52:34 - DNS of the system updated to VPN DNS (Rename method: /etc/resolv.conf generated)
I 2017.03.29 16:52:34 - Checking route
E 2017.03.29 16:52:34 - Checking route don't match
. 2017.03.29 16:52:34 - Checking route (2° try)
E 2017.03.29 16:52:35 - Checking route don't match
. 2017.03.29 16:52:35 - Checking route (3° try)
E 2017.03.29 16:52:37 - Checking route don't match
E 2017.03.29 16:52:37 - Routing checking failed.
. 2017.03.29 16:52:37 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2017.03.29 16:52:37 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:37 - Above log line repeated 785 times more
. 2017.03.29 16:52:37 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
! 2017.03.29 16:52:37 - Disconnecting
. 2017.03.29 16:52:37 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:37 - Management - Send 'signal SIGTERM'
. 2017.03.29 16:52:37 - Above log line repeated 3 times more
. 2017.03.29 16:52:37 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:37 - OpenVpn Management > >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
. 2017.03.29 16:52:37 - Above log line repeated 791 times more
. 2017.03.29 16:52:37 - OpenVPN > MANAGEMENT: CMD 'signal SIGTERM'
. 2017.03.29 16:52:37 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:37 - OpenVPN > SIGTERM received, sending exit notification to peer
. 2017.03.29 16:52:37 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:42 - Above log line repeated 253251 times more
. 2017.03.29 16:52:42 - OpenVPN > RTNETLINK answers: No such process
. 2017.03.29 16:52:42 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:42 - Above log line repeated 49 times more
. 2017.03.29 16:52:42 - OpenVPN > RTNETLINK answers: No such process
. 2017.03.29 16:52:42 - OpenVPN > Cannot find device "tun0"
. 2017.03.29 16:52:42 - OpenVPN > read from TUN/TAP : File descriptor in bad state (code=77)
. 2017.03.29 16:52:42 - Above log line repeated 568 times more
. 2017.03.29 16:52:42 - OpenVPN > /sbin/ip route del 213.152.161.228/32
. 2017.03.29 16:52:42 - OpenVPN > /sbin/ip route del 0.0.0.0/1
. 2017.03.29 16:52:42 - OpenVPN > ERROR: Linux route delete command failed: external program exited with error status: 2
. 2017.03.29 16:52:42 - OpenVPN > /sbin/ip route del 128.0.0.0/1
. 2017.03.29 16:52:42 - OpenVPN > ERROR: Linux route delete command failed: external program exited with error status: 2
. 2017.03.29 16:52:42 - OpenVPN > Closing TUN/TAP interface
. 2017.03.29 16:52:42 - OpenVPN > /sbin/ip addr del dev tun0 10.4.2.24/16
. 2017.03.29 16:52:42 - OpenVPN > Linux ip addr del failed: external program exited with error status: 1
. 2017.03.29 16:52:42 - OpenVPN > SIGTERM[soft,exit-with-notification] received, process exiting
. 2017.03.29 16:52:42 - Connection terminated.
. 2017.03.29 16:52:42 - DNS of the system restored to original settings (Rename method)
I 2017.03.29 16:52:45 - Checking authorization ...
! 2017.03.29 16:52:45 - Connecting to Pleione (Netherlands, Alblasserdam)
. 2017.03.29 16:52:45 - OpenVPN > OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
. 2017.03.29 16:52:45 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2017.03.29 16:52:45 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2017.03.29 16:52:45 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:45 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:45 - OpenVPN > Socket Buffers: R=[212992->131072] S=[212992->131072]
. 2017.03.29 16:52:45 - OpenVPN > UDPv4 link local: [undef]
. 2017.03.29 16:52:45 - OpenVPN > UDPv4 link remote: [AF_INET]213.152.162.148:443
. 2017.03.29 16:52:45 - OpenVPN > TLS: Initial packet from [AF_INET]213.152.162.148:443, sid=0dc4a040 dcef75f9
. 2017.03.29 16:52:45 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2017.03.29 16:52:45 - OpenVPN > Validating certificate key usage
. 2017.03.29 16:52:45 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2017.03.29 16:52:45 - OpenVPN > VERIFY KU OK
. 2017.03.29 16:52:45 - OpenVPN > Validating certificate extended key usage
. 2017.03.29 16:52:45 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2017.03.29 16:52:45 - OpenVPN > VERIFY EKU OK
. 2017.03.29 16:52:45 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2017.03.29 16:52:46 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:46 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:46 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:46 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:46 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
. 2017.03.29 16:52:46 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]213.152.162.148:443
. 2017.03.29 16:52:48 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2017.03.29 16:52:48 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.18.206 255.255.0.0'
. 2017.03.29 16:52:48 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2017.03.29 16:52:48 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2017.03.29 16:52:48 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2017.03.29 16:52:48 - OpenVPN > OPTIONS IMPORT: route options modified
! 2017.03.29 16:52:48 - Disconnecting
. 2017.03.29 16:52:48 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2017.03.29 16:52:48 - Connection terminated.
. 2017.03.29 16:52:48 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2017.03.29 16:52:48 - OpenVPN > ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlan0 HWADDR=a4:c4:94:ea:93:77
. 2017.03.29 16:52:48 - OpenVPN > TUN/TAP device tun0 opened
. 2017.03.29 16:52:48 - OpenVPN > TUN/TAP TX queue length set to 100
. 2017.03.29 16:52:48 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2017.03.29 16:52:48 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2017.03.29 16:52:48 - OpenVPN > Linux ip link set failed: external program exited with error status: 1
. 2017.03.29 16:52:48 - OpenVPN > Exiting due to fatal error
. 2017.03.29 16:52:48 - OpenVPN > Cannot find device "tun0"
I 2017.03.29 16:52:51 - Checking authorization ...
! 2017.03.29 16:52:51 - Connecting to Alterf (Netherlands, Alblasserdam)
. 2017.03.29 16:52:51 - OpenVPN > OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
. 2017.03.29 16:52:51 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2017.03.29 16:52:51 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2017.03.29 16:52:51 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:51 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:51 - OpenVPN > Socket Buffers: R=[212992->131072] S=[212992->131072]
. 2017.03.29 16:52:51 - OpenVPN > UDPv4 link local: [undef]
. 2017.03.29 16:52:51 - OpenVPN > UDPv4 link remote: [AF_INET]213.152.161.169:443
. 2017.03.29 16:52:51 - OpenVPN > TLS: Initial packet from [AF_INET]213.152.161.169:443, sid=aea4686b e1f7eb19
. 2017.03.29 16:52:51 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2017.03.29 16:52:51 - OpenVPN > Validating certificate key usage
. 2017.03.29 16:52:51 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2017.03.29 16:52:51 - OpenVPN > VERIFY KU OK
. 2017.03.29 16:52:51 - OpenVPN > Validating certificate extended key usage
. 2017.03.29 16:52:51 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2017.03.29 16:52:51 - OpenVPN > VERIFY EKU OK
. 2017.03.29 16:52:51 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2017.03.29 16:52:54 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:54 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:54 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2017.03.29 16:52:54 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2017.03.29 16:52:54 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
. 2017.03.29 16:52:54 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]213.152.161.169:443
. 2017.03.29 16:52:56 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2017.03.29 16:52:56 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.105.202 255.255.0.0'
. 2017.03.29 16:52:56 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2017.03.29 16:52:56 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2017.03.29 16:52:56 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2017.03.29 16:52:56 - OpenVPN > OPTIONS IMPORT: route options modified
. 2017.03.29 16:52:56 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2017.03.29 16:52:56 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2017.03.29 16:52:56 - OpenVPN > ROUTE_GATEWAY 192.168.0.1/255.255.255.0 IFACE=wlan0 HWADDR=a4:c4:94:ea:93:77
. 2017.03.29 16:52:56 - OpenVPN > Cannot find device "tun0"
. 2017.03.29 16:52:56 - OpenVPN > TUN/TAP device tun0 opened
. 2017.03.29 16:52:56 - OpenVPN > TUN/TAP TX queue length set to 100
. 2017.03.29 16:52:56 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2017.03.29 16:52:56 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2017.03.29 16:52:56 - OpenVPN > Linux ip link set failed: external program exited with error status: 1
. 2017.03.29 16:52:56 - OpenVPN > Exiting due to fatal error
! 2017.03.29 16:52:56 - Disconnecting
. 2017.03.29 16:52:56 - Connection terminated.
I 2017.03.29 16:52:59 - Checking authorization ...
I 2017.03.29 16:53:03 - Cancel requested.
! 2017.03.29 16:53:03 - Session terminated.

 

 

Thank you very much for anyone taking the time to help me out.

Share this post


Link to post

Solved

 

The critical line was

. 2017.03.29 16:52:48 - OpenVPN > Cannot find device "tun0"

For some reason the tun device wasn't available to me. I was able to remedy this by blacklisting tun in the shill service:

sudo stop shill
sudo start shill BLACKLISTED_DEVICES=tun0

This may help others who are having this issue and using crouton.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...