lomex2
Hi !
currently I am struggling with provider disconnects (e.g. 24h DSL disconnect) - as soon as this event is happening
the keepalive timeout gets triggered and tries to restart the process - this fails due to the process being unable to
delete the routes - and having issues with reading user/pass from the config file (which works fine when connecting the vpn in the first place.
logs:
Tue Aug 12 13:55:28 2014 TCP: connect to [AF_INET]192.168.0.1:1194 failed, will try again in 5 seconds: Connection timed out
Tue Aug 12 13:55:34 2014 TCP connection established with [AF_INET]xxx.xxx.xxx.xxx:1194
Tue Aug 12 13:55:34 2014 TCP/UDP: Dynamic remote address changed during TCP connection establishment
Tue Aug 12 13:55:34 2014 TCPv4_CLIENT link local: [undef]
Tue Aug 12 13:55:34 2014 TCPv4_CLIENT link remote: [AF_INET]xxx.xxx.xxx.xxx:1194
Tue Aug 12 13:55:34 2014 TLS: Initial packet from [AF_INET]xxx.xxx.xxx.xxx:1194, sid=xxxx xxxxx
Enter Auth Username:Tue Aug 12 13:55:34 2014 ERROR: Auth username is empty
Tue Aug 12 13:55:34 2014 Exiting due to fatal error
Tue Aug 12 13:55:34 2014 /sbin/route del -net xxx.xxx.xxx.xxx netmask 255.255.255.0
route: SIOCDELRT: Operation not permitted
Tue Aug 12 13:55:34 2014 ERROR: Linux route delete command failed: external program exited with error status: 1
Tue Aug 12 13:55:34 2014 Closing TUN/TAP interface
Tue Aug 12 13:55:34 2014 /sbin/ifconfig tun0 0.0.0.0
I would appreciate any help.
br...
ifconfig: SIOCSIFADDR: Permission denied
Tue Aug 12 13:55:34 2014 Linux ip addr del failed: external program exited with error status: 1
root@dm800se:/etc/openvpn#