You are not logged in.

#1 2014-06-05 08:29:19

panmictic
Member
Registered: 2014-02-24
Posts: 2

[SOLVED] OpenVPN client issue: "no resolvconf in ((null))"

Hi all,

I'm trying to connect to a third-party VPN provider using the keys, certificate and configuration files they provided. Here's the ouput from sudo openvpn --config mullvad_linux.conf It's the third line from the bottom that's giving me problems.

Thu Jun  5 10:08:28 2014 OpenVPN 2.3.4 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on May  3 2014
Thu Jun  5 10:08:28 2014 library versions: OpenSSL 1.0.1g 7 Apr 2014, LZO 2.06
Thu Jun  5 10:08:28 2014 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu Jun  5 10:08:28 2014 Socket Buffers: R=[212992->131072] S=[212992->131072]
Thu Jun  5 10:08:28 2014 UDPv4 link local: [undef]
Thu Jun  5 10:08:28 2014 UDPv4 link remote: [AF_INET]46.165.228.118:1194
Thu Jun  5 10:08:28 2014 TLS: Initial packet from [AF_INET]46.165.228.118:1194, sid=d4654e22 9e7656a9
Thu Jun  5 10:08:28 2014 CRL: CRL crl.pem is from a different issuer than the issuer of certificate C=NA, ST=None, L=None, O=Mullvad, CN=Mullvad CA, emailAddress=info@mullvad.net
Thu Jun  5 10:08:28 2014 VERIFY OK: depth=2, C=NA, ST=None, L=None, O=Mullvad, CN=Mullvad CA, emailAddress=info@mullvad.net
Thu Jun  5 10:08:28 2014 CRL: CRL crl.pem is from a different issuer than the issuer of certificate C=NA, ST=None, L=None, O=Mullvad, CN=master.mullvad.net, emailAddress=info@mullvad.net
Thu Jun  5 10:08:28 2014 VERIFY OK: depth=1, C=NA, ST=None, L=None, O=Mullvad, CN=master.mullvad.net, emailAddress=info@mullvad.net
Thu Jun  5 10:08:28 2014 Validating certificate key usage
Thu Jun  5 10:08:28 2014 ++ Certificate has key usage  00a0, expects 00a0
Thu Jun  5 10:08:28 2014 VERIFY KU OK
Thu Jun  5 10:08:28 2014 Validating certificate extended key usage
Thu Jun  5 10:08:28 2014 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Thu Jun  5 10:08:28 2014 VERIFY EKU OK
Thu Jun  5 10:08:28 2014 CRL CHECK OK: C=NA, ST=None, L=None, O=Mullvad, CN=de3.mullvad.net, emailAddress=info@mullvad.net
Thu Jun  5 10:08:28 2014 VERIFY OK: depth=0, C=NA, ST=None, L=None, O=Mullvad, CN=de3.mullvad.net, emailAddress=info@mullvad.net
Thu Jun  5 10:08:29 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jun  5 10:08:29 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jun  5 10:08:29 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Thu Jun  5 10:08:29 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jun  5 10:08:29 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Thu Jun  5 10:08:29 2014 [de3.mullvad.net] Peer Connection Initiated with [AF_INET]46.165.228.118:1194
Thu Jun  5 10:08:32 2014 SENT CONTROL [de3.mullvad.net]: 'PUSH_REQUEST' (status=1)
Thu Jun  5 10:08:32 2014 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.8.0.1,route 10.8.0.1,topology net30,ifconfig 10.8.0.6 10.8.0.5'
Thu Jun  5 10:08:32 2014 OPTIONS IMPORT: --ifconfig/up options modified
Thu Jun  5 10:08:32 2014 OPTIONS IMPORT: route options modified
Thu Jun  5 10:08:32 2014 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Jun  5 10:08:32 2014 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=wlp0s11f1u7 HWADDR=00:0a:bd:24:37:09
Thu Jun  5 10:08:32 2014 TUN/TAP device tun0 opened
Thu Jun  5 10:08:32 2014 TUN/TAP TX queue length set to 100
Thu Jun  5 10:08:32 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Jun  5 10:08:32 2014 /usr/bin/ip link set dev tun0 up mtu 1500
Thu Jun  5 10:08:32 2014 /usr/bin/ip addr add dev tun0 local 10.8.0.6 peer 10.8.0.5
Thu Jun  5 10:08:32 2014 /usr/share/openvpn/update-resolv-conf tun0 1500 1542 10.8.0.6 10.8.0.5 init
which: no resolvconf in ((null))
Thu Jun  5 10:08:32 2014 WARNING: Failed running command (--up/--down): external program exited with error status: 1
Thu Jun  5 10:08:32 2014 Exiting due to fatal error

/usr/share/openvpn/update-resolv-conf contains the exact contents the Arch Wiki gives for it and is executable.
Any ideas on how to resolve this? There seems to be a discussion of the exact same problem here but it's in German and what I understand from Google Translate is that they didn't find a solution.

Last edited by panmictic (2014-06-05 10:00:32)

Offline

#2 2014-06-05 09:51:12

uleenucks
Member
Registered: 2014-04-30
Posts: 5
Website

Re: [SOLVED] OpenVPN client issue: "no resolvconf in ((null))"

Have you tried it without that update-resolv-conf?

Otherwise try this in update-resolv-conf

## You might need to set the path manually here, i.e.
RESOLVCONF=/usr/bin/resolvconf
#RESOLVCONF=$(which resolvconf)

Offline

#3 2014-06-05 10:01:05

panmictic
Member
Registered: 2014-02-24
Posts: 2

Re: [SOLVED] OpenVPN client issue: "no resolvconf in ((null))"

I tried your second suggestion first and that solved it, thanks!

Offline

Board footer

Powered by FluxBB