Hi,
I am using vpnc-0.5.3r512-2ubuntu1 on 64 bit ubuntu.
I amended the vpnc-script as follows:
root@Work:~# head /etc/vpnc/vpnc-script
#!/bin/sh
echo "Calling /etc/vpnc/vpnc-script with reason $reason" | ts >>
/root/reconnect.log
# List of parameters passed through environment
#* reason -- why this script was called, one of:
pre-init connect disconnect
...
e.g. I added the echo line.
This is the current content of /root/reconnect.log
root@Work:~# cat reconnect.log
Jul 31 06:48:36 Calling /etc/vpnc/vpnc-script with reason pre-init
Jul 31 06:48:37 Calling /etc/vpnc/vpnc-script with reason connect
Aug 01 06:47:28 Calling /etc/vpnc/vpnc-script with reason pre-init
Aug 01 06:47:28 Calling /etc/vpnc/vpnc-script with reason connect
e.g. for some reason I did not get a callback on disconnect.
What could be the reason? How do I go about finding the problem?
Thanks,
Florian
--
Florian Burkart
florian.burkart@gmail.com
I am using vpnc-0.5.3r512-2ubuntu1 on 64 bit ubuntu.
I amended the vpnc-script as follows:
root@Work:~# head /etc/vpnc/vpnc-script
#!/bin/sh
echo "Calling /etc/vpnc/vpnc-script with reason $reason" | ts >>
/root/reconnect.log
# List of parameters passed through environment
#* reason -- why this script was called, one of:
pre-init connect disconnect
...
e.g. I added the echo line.
This is the current content of /root/reconnect.log
root@Work:~# cat reconnect.log
Jul 31 06:48:36 Calling /etc/vpnc/vpnc-script with reason pre-init
Jul 31 06:48:37 Calling /etc/vpnc/vpnc-script with reason connect
Aug 01 06:47:28 Calling /etc/vpnc/vpnc-script with reason pre-init
Aug 01 06:47:28 Calling /etc/vpnc/vpnc-script with reason connect
e.g. for some reason I did not get a callback on disconnect.
What could be the reason? How do I go about finding the problem?
Thanks,
Florian
--
Florian Burkart
florian.burkart@gmail.com