Jump to content


Photo

Got client installed on Arch Linux, won't connect to any servers


  • Please log in to reply
8 replies to this topic

#1 bduffy

bduffy

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 March 2018 - 11:27 PM

It launched, I give my root pw, I log in, try to connect and it cycles over a few servers and doesn't connect and sometimes gives me a max connections exceeded message halp.



#2 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1774 posts

Posted 27 March 2018 - 11:30 PM

Hello!

 

If you're using Eddie, then there's a logs tab you can click on. If you do, you can then share the logs with us here, which will help us identify the problem :).

 

There's also instructions in the link in my signature.

 

You can go to the client area and check you're not trying to make more than 5 connections.


Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. Its Guides Section has guides on Linux/Torrenting/Blocked sites & many other topics too.
Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please read the First Questions section in the link above for more details, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Tired of Windows? Why Linux Is Better.

#3 bduffy

bduffy

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 27 March 2018 - 11:35 PM

>E 2018.03.27 19:33:19 - OpenVPN > ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)



#4 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1774 posts

Posted 27 March 2018 - 11:57 PM

All of your logs please, as it contains lots of useful information besides the error itself :).


Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. Its Guides Section has guides on Linux/Torrenting/Blocked sites & many other topics too.
Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please read the First Questions section in the link above for more details, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Tired of Windows? Why Linux Is Better.

#5 bduffy

bduffy

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 28 March 2018 - 12:06 AM

. 2018.03.27 20:05:39 - Eddie version: 2.14.2 / linux_x64, System: Linux, Name: Manjaro Linux \r  (\n) (\l), Version: Linux user-pc 4.14.21-1-MANJARO #1 SMP PREEMPT Fri Feb 23 00:01:40 UTC 2018 x86_64 GNU/Linux, Mono/.Net Framework: v4.0.30319
. 2018.03.27 20:05:39 - Reading options from /home/user/.airvpn/AirVPN.xml
. 2018.03.27 20:05:40 - Command line arguments (3): path="/home/user/.airvpn" path.resources="/usr/share/AirVPN" console.mode="none"
. 2018.03.27 20:05:41 - OpenVPN Driver - Found, /dev/net/tun
. 2018.03.27 20:05:41 - OpenVPN - Version: 2.4.5 - OpenSSL 1.1.0g  2 Nov 2017, LZO 2.10 (/usr/bin/openvpn)
. 2018.03.27 20:05:41 - SSH - Version: OpenSSH_7.6p1, OpenSSL 1.1.0g  2 Nov 2017 (/usr/bin/ssh)
W 2018.03.27 20:05:41 - SSL - Not available
. 2018.03.27 20:05:41 - curl - Version: 7.59.0 (/usr/bin/curl)
. 2018.03.27 20:05:41 - Certification Authorities: /usr/share/AirVPN/cacert.pem
. 2018.03.27 20:05:41 - Updating systems & servers data ...
I 2018.03.27 20:05:41 - Ready
. 2018.03.27 20:05:42 - Systems & servers data update completed
I 2018.03.27 20:05:46 - Session starting.
I 2018.03.27 20:05:47 - Checking authorization ...
! 2018.03.27 20:05:47 - Connecting to Sargas (Canada, Toronto, Ontario)
. 2018.03.27 20:05:48 - OpenVPN > OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar  1 2018
. 2018.03.27 20:05:48 - OpenVPN > library versions: OpenSSL 1.1.0g  2 Nov 2017, LZO 2.10
. 2018.03.27 20:05:48 - Connection to OpenVPN Management Interface
. 2018.03.27 20:05:48 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2018.03.27 20:05:48 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:05:48 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:05:48 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]184.75.223.194:443
. 2018.03.27 20:05:48 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2018.03.27 20:05:48 - OpenVPN > UDP link local: (not bound)
. 2018.03.27 20:05:48 - OpenVPN > UDP link remote: [AF_INET]184.75.223.194:443
. 2018.03.27 20:05:48 - OpenVPN > TLS: Initial packet from [AF_INET]184.75.223.194:443, sid=f4a407c1 8cf5d9f0
. 2018.03.27 20:05:48 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2018.03.27 20:05:48 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2018.03.27 20:05:48 - OpenVPN > VERIFY KU OK
. 2018.03.27 20:05:48 - OpenVPN > Validating certificate extended key usage
. 2018.03.27 20:05:48 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2018.03.27 20:05:48 - OpenVPN > VERIFY EKU OK
. 2018.03.27 20:05:48 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2018.03.27 20:05:48 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2018.03.27 20:05:48 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]184.75.223.194:443
. 2018.03.27 20:05:49 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2018.03.27 20:05:49 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.13.188 255.255.0.0,peer-id 35,cipher AES-256-GCM'
. 2018.03.27 20:05:49 - OpenVPN > Pushed option removed by filter: 'redirect-gateway def1 bypass-dhcp'
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1625
. 2018.03.27 20:05:49 - OpenVPN > OPTIONS IMPORT: data channel crypto options modified
. 2018.03.27 20:05:49 - OpenVPN > Data Channel: using negotiated cipher 'AES-256-GCM'
. 2018.03.27 20:05:49 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2018.03.27 20:05:49 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2018.03.27 20:05:49 - OpenVPN > ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp3s0 HWADDR=50:e5:49:55:7b:57
. 2018.03.27 20:05:49 - OpenVPN > MANAGEMENT: Client disconnected
E 2018.03.27 20:05:49 - OpenVPN > ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
. 2018.03.27 20:05:49 - OpenVPN > Exiting due to fatal error
! 2018.03.27 20:05:49 - Disconnecting
. 2018.03.27 20:05:49 - Connection terminated.
I 2018.03.27 20:05:52 - Checking authorization ...
! 2018.03.27 20:05:52 - Connecting to Saiph (Canada, Toronto, Ontario)
. 2018.03.27 20:05:53 - OpenVPN > OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar  1 2018
. 2018.03.27 20:05:53 - OpenVPN > library versions: OpenSSL 1.1.0g  2 Nov 2017, LZO 2.10
. 2018.03.27 20:05:53 - Connection to OpenVPN Management Interface
. 2018.03.27 20:05:53 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2018.03.27 20:05:53 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:05:53 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:05:53 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]184.75.223.226:443
. 2018.03.27 20:05:53 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2018.03.27 20:05:53 - OpenVPN > UDP link local: (not bound)
. 2018.03.27 20:05:53 - OpenVPN > UDP link remote: [AF_INET]184.75.223.226:443
. 2018.03.27 20:05:53 - OpenVPN > TLS: Initial packet from [AF_INET]184.75.223.226:443, sid=95abfe19 b6a0e271
. 2018.03.27 20:05:53 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2018.03.27 20:05:53 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2018.03.27 20:05:53 - OpenVPN > VERIFY KU OK
. 2018.03.27 20:05:53 - OpenVPN > Validating certificate extended key usage
. 2018.03.27 20:05:53 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2018.03.27 20:05:53 - OpenVPN > VERIFY EKU OK
. 2018.03.27 20:05:53 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2018.03.27 20:05:53 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2018.03.27 20:05:53 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]184.75.223.226:443
. 2018.03.27 20:05:54 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2018.03.27 20:05:54 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.11.5 255.255.0.0,peer-id 47,cipher AES-256-GCM'
. 2018.03.27 20:05:54 - OpenVPN > Pushed option removed by filter: 'redirect-gateway def1 bypass-dhcp'
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1625
. 2018.03.27 20:05:54 - OpenVPN > OPTIONS IMPORT: data channel crypto options modified
. 2018.03.27 20:05:54 - OpenVPN > Data Channel: using negotiated cipher 'AES-256-GCM'
. 2018.03.27 20:05:54 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2018.03.27 20:05:54 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2018.03.27 20:05:54 - OpenVPN > ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp3s0 HWADDR=50:e5:49:55:7b:57
. 2018.03.27 20:05:54 - OpenVPN > MANAGEMENT: Client disconnected
E 2018.03.27 20:05:54 - OpenVPN > ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
. 2018.03.27 20:05:54 - OpenVPN > Exiting due to fatal error
! 2018.03.27 20:05:54 - Disconnecting
. 2018.03.27 20:05:54 - Connection terminated.
I 2018.03.27 20:05:57 - Checking authorization ...
! 2018.03.27 20:05:58 - Connecting to Kraz (Canada, Toronto, Ontario)
. 2018.03.27 20:05:58 - OpenVPN > OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar  1 2018
. 2018.03.27 20:05:58 - OpenVPN > library versions: OpenSSL 1.1.0g  2 Nov 2017, LZO 2.10
. 2018.03.27 20:05:58 - Connection to OpenVPN Management Interface
. 2018.03.27 20:05:58 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2018.03.27 20:05:58 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:05:58 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:05:58 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]199.19.94.61:443
. 2018.03.27 20:05:58 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2018.03.27 20:05:58 - OpenVPN > UDP link local: (not bound)
. 2018.03.27 20:05:58 - OpenVPN > UDP link remote: [AF_INET]199.19.94.61:443
. 2018.03.27 20:05:58 - OpenVPN > TLS: Initial packet from [AF_INET]199.19.94.61:443, sid=4f129633 1273aecd
. 2018.03.27 20:05:58 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2018.03.27 20:05:58 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2018.03.27 20:05:58 - OpenVPN > VERIFY KU OK
. 2018.03.27 20:05:58 - OpenVPN > Validating certificate extended key usage
. 2018.03.27 20:05:58 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2018.03.27 20:05:58 - OpenVPN > VERIFY EKU OK
. 2018.03.27 20:05:58 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2018.03.27 20:05:58 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2018.03.27 20:05:58 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]199.19.94.61:443
. 2018.03.27 20:05:59 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2018.03.27 20:05:59 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.13.75 255.255.0.0,peer-id 33,cipher AES-256-GCM'
. 2018.03.27 20:05:59 - OpenVPN > Pushed option removed by filter: 'redirect-gateway def1 bypass-dhcp'
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1625
. 2018.03.27 20:05:59 - OpenVPN > OPTIONS IMPORT: data channel crypto options modified
. 2018.03.27 20:05:59 - OpenVPN > Data Channel: using negotiated cipher 'AES-256-GCM'
. 2018.03.27 20:05:59 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2018.03.27 20:05:59 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2018.03.27 20:05:59 - OpenVPN > ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp3s0 HWADDR=50:e5:49:55:7b:57
. 2018.03.27 20:05:59 - OpenVPN > MANAGEMENT: Client disconnected
E 2018.03.27 20:05:59 - OpenVPN > ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
. 2018.03.27 20:05:59 - OpenVPN > Exiting due to fatal error
! 2018.03.27 20:05:59 - Disconnecting
. 2018.03.27 20:05:59 - Connection terminated.
I 2018.03.27 20:06:02 - Checking authorization ...
! 2018.03.27 20:06:03 - Connecting to Ukdah (Canada, Toronto, Ontario)
. 2018.03.27 20:06:03 - OpenVPN > OpenVPN 2.4.5 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Mar  1 2018
. 2018.03.27 20:06:03 - OpenVPN > library versions: OpenSSL 1.1.0g  2 Nov 2017, LZO 2.10
. 2018.03.27 20:06:03 - Connection to OpenVPN Management Interface
. 2018.03.27 20:06:03 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2018.03.27 20:06:03 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:06:03 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:06:03 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]184.75.221.58:443
. 2018.03.27 20:06:03 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2018.03.27 20:06:03 - OpenVPN > UDP link local: (not bound)
. 2018.03.27 20:06:03 - OpenVPN > UDP link remote: [AF_INET]184.75.221.58:443
. 2018.03.27 20:06:03 - OpenVPN > TLS: Initial packet from [AF_INET]184.75.221.58:443, sid=2fdfb1e3 27d4a692
. 2018.03.27 20:06:03 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2018.03.27 20:06:03 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2018.03.27 20:06:03 - OpenVPN > VERIFY KU OK
. 2018.03.27 20:06:03 - OpenVPN > Validating certificate extended key usage
. 2018.03.27 20:06:03 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2018.03.27 20:06:03 - OpenVPN > VERIFY EKU OK
. 2018.03.27 20:06:03 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2018.03.27 20:06:03 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2018.03.27 20:06:03 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]184.75.221.58:443
. 2018.03.27 20:06:05 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2018.03.27 20:06:05 - 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.10.169 255.255.0.0'
. 2018.03.27 20:06:05 - OpenVPN > Pushed option removed by filter: 'redirect-gateway def1 bypass-dhcp'
. 2018.03.27 20:06:05 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2018.03.27 20:06:05 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2018.03.27 20:06:05 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2018.03.27 20:06:05 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2018.03.27 20:06:05 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2018.03.27 20:06:05 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2018.03.27 20:06:05 - OpenVPN > Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:06:05 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2018.03.27 20:06:05 - OpenVPN > Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.03.27 20:06:05 - OpenVPN > ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp3s0 HWADDR=50:e5:49:55:7b:57
. 2018.03.27 20:06:05 - OpenVPN > MANAGEMENT: Client disconnected
E 2018.03.27 20:06:05 - OpenVPN > ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
. 2018.03.27 20:06:05 - OpenVPN > Exiting due to fatal error
! 2018.03.27 20:06:05 - Disconnecting
. 2018.03.27 20:06:05 - Connection terminated.
I 2018.03.27 20:06:08 - Cancel requested.
I 2018.03.27 20:06:08 - Session terminated.


#6 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1774 posts

Posted 28 March 2018 - 12:27 AM

Thank you.

 

Please try look here and see if it helps you.


Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. Its Guides Section has guides on Linux/Torrenting/Blocked sites & many other topics too.
Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please read the First Questions section in the link above for more details, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Tired of Windows? Why Linux Is Better.

#7 bduffy

bduffy

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 28 March 2018 - 02:48 PM

>In Arch linux installing the networkmanager-vpnc package will solve the problem

 

okay this was already installed

 

> ran into a similar problem when trying to run openvpn on OVH Cloud VPS, openvpn complains that cannot find TUN interface.

modprobe will always return module not found :

$ sudo modprobe tun
FATAL: Module tun not found.


Finally, I found that tun is not a module but built in kernel, so what I do to solve was created the missing dir and nod:

$ sudo mkdir /dev/net
$ sudo mknod /dev/net/tun c 10 200


And then openvpn can find and use the tun device.

To be noted that afterward, modprobe will still return an error, because tun is not a module.

$ sudo modprobe tun
FATAL: Module tun not found.

 

 

I found an alternate way of activating the tun module via insmod. First locate the module with this command:

find /lib/modules/ -iname 'tun.ko.gz'


Then use insmod with the returned path (I only got one match), for example:

insmod /lib/modules/3.6.9-1-ARCH/kernel/drivers/net/tun.ko.gz

 

this is my terminal

 

[user@user-pc ~]$ sudo mkdir /dev/net
[sudo] password for user: 
Sorry, try again.
[sudo] password for user: 
mkdir: cannot create directory ‘/dev/net’: File exists
[user@user-pc ~]$ sudo mknod /dev/net/tun c 10 200
mknod: /dev/net/tun: File exists
[user@user-pc ~]$ find /lib/modules/ -iname 'tun.ko.gz'
[user@user-pc ~]$ insmod /lib/modules/3.6.9-1-ARCH/kernel/drivers/net/tun.ko.gz
insmod: ERROR: could not load module /lib/modules/3.6.9-1-ARCH/kernel/drivers/net/tun.ko.gz: No such file or directory

 



#8 bduffy

bduffy

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 28 March 2018 - 04:03 PM

https://forum.manjaro.org/t/module-tun-not-found-in-directory-lib-modules-4-14-15-1-manjaro/39993

 

nevermind it was this.  i'm on a fresh install and it updated the kernel but i hadn't rebooted lmao.



#9 LZ1

LZ1

    It's nice to be nice to nice people

  • Moderators
  • 1774 posts

Posted 28 March 2018 - 04:08 PM

https://forum.manjaro.org/t/module-tun-not-found-in-directory-lib-modules-4-14-15-1-manjaro/39993

 

nevermind it was this.  i'm on a fresh install and it updated the kernel but i hadn't rebooted lmao.

Haha, well there you go :). Thanks for sharing the steps and solution with us.


Hi there, are you new to AirVPN? Many of your questions are already answered in this guide. Its Guides Section has guides on Linux/Torrenting/Blocked sites & many other topics too.
Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please read the First Questions section in the link above for more details, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

Tired of Windows? Why Linux Is Better.





Similar Topics Collapse

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 14693 - BW: 36006 Mbit/sYour IP: 54.156.37.174Guest Access.