On 28 May 2002 at 21:08, Lukas Ertl wrote: > On Tue, 28 May 2002, Dan Langille wrote: > > > That looks good. I've tried it, but have been unable to connect to the > > office, which is running an MS PPtP server. I know the *can* work > > because pptp-client can connect.
FWIW, here's what I'm running from cron every five minutes: #!/bin/sh ping -n -c 1 -t 2 10.0.1.249 2>&1 > /dev/null if [ $? -ne 0 ] then NETMASK=`ifconfig tun0 | grep -c netmask` if [ $NETMASK -eq 0 ] then echo "TUN0 is not healthy. starting VPN again." /usr/local/etc/rc.d/pptp.sh start else # echo "TUN0 looks healthy" fi else # echo "link is OK" fi -- Dan Langille To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message