allowing to use also tap0/tun0
added better handling of errors - canceling ifconfig timer if ssh has quitted