Connection crashes on a Debian Jessie/Sid client

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
frenke
OpenVpn Newbie
Posts: 3
Joined: Sun Jul 14, 2013 9:11 am

Connection crashes on a Debian Jessie/Sid client

Post by frenke » Sun Jul 14, 2013 9:19 am

Hi,

I have a Debian headless machine where I'm using OpenVPN to connect to an external VPN Host. I've had it working in the past but after 1 year abroad I now am unable to have a stable connection to the host. It crashes immediately after 5 seconds. The message I receive in the log is:

Sun Jul 14 11:05:36 2013 SENT CONTROL [xxxxxx.xxx]: 'PUSH_REQUEST' (status=1)
Sun Jul 14 11:05:36 2013 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.8.$
Sun Jul 14 11:05:36 2013 OPTIONS IMPORT: --ifconfig/up options modified
Sun Jul 14 11:05:36 2013 OPTIONS IMPORT: route options modified
Sun Jul 14 11:05:36 2013 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Jul 14 11:05:36 2013 ROUTE default_gateway=192.168.1.1
Sun Jul 14 11:05:36 2013 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Sun Jul 14 11:05:36 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Jul 14 11:05:36 2013 /sbin/ifconfig x.x.x.x pointopoint x.x.x.x mtu 1500
SIOCSIFADDR: No such device
: ERROR while getting interface flags: No such device
SIOCSIFDSTADDR: No such device
: ERROR while getting interface flags: No such device
SIOCSIFMTU: No such device
Sun Jul 14 11:05:36 2013 Linux ifconfig failed: external program exited with error status: 1
Sun Jul 14 11:05:36 2013 Exiting

I'm able to run ifconfig "manually" so I don't think that's the issue. Please excuse me for being a newbie in this area.

Thank you for your help!

BR,
Frenke

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Connection crashes on a Debian Jessie/Sid client

Post by maikcat » Sun Jul 14, 2013 11:18 am

this says it all...
Sun Jul 14 11:05:36 2013 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
can you tell us more info about your setup?
is a physical server or a VM? (VZ maybe?)

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

frenke
OpenVpn Newbie
Posts: 3
Joined: Sun Jul 14, 2013 9:11 am

Re: Connection crashes on a Debian Jessie/Sid client

Post by frenke » Sun Jul 14, 2013 4:27 pm

It's a virtual machine (on an ESX4.1 server). It's connected through the E1000 network adapter.
VMware tools is installed. 4 GB RAM and 2 CPU cores for the affected guest.
Regular Internet access works well within this guest.

I hope this information will suffice, otherwise please let me know and I'll post it ASAP.

Thanks Michael for taking your time!

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Connection crashes on a Debian Jessie/Sid client

Post by maikcat » Mon Jul 15, 2013 7:37 am

can you post the output of

modinfo tun

your system cant start tun/tap driver which is usually a kernel module...

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

frenke
OpenVpn Newbie
Posts: 3
Joined: Sun Jul 14, 2013 9:11 am

Re: Connection crashes on a Debian Jessie/Sid client

Post by frenke » Mon Jul 15, 2013 7:42 am

This is what I receive when i type "modinfo tun" as root:

filename: /lib/modules/2.6.32-5-686/kernel/drivers/net/tun.ko
alias: char-major-10-200
license: GPL
author: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
description: Universal TUN/TAP device driver
depends:
vermagic: 2.6.32-5-686 SMP mod_unload modversions 686

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Connection crashes on a Debian Jessie/Sid client

Post by maikcat » Wed Jul 17, 2013 5:46 pm

ok then, please issue

modprobe tun

and try to start openvpn...

Michael.
Amiga 500 , Zx +2 owner
Long live Dino Dini (Kick off 2 Creator)

Inflammable means flammable? (Dr Nick Riviera,Simsons Season13)

"objects in mirror are losing"

Post Reply