PATH=/bin:/sbin:/usr/local/sbin QCOMTUNNEL=xxx.xxx.xxx.xxx # Toshiba Authentication Server - change this for your region TAS=204.210.7.25 RRTEST=166.48.172.14 RRNEWS=204.210.0.2 SUBNET=`mksubnet $ROUTER $NETMASK` # restore hostname to original hostname --file /etc/hostname # Reset the tunnel interface ifconfig tunl0 down # we don't want the default route advertised by Road Runner route delete default gw $ROUTER # nor the route to the local RR subnet route delete -net $SUBNET netmask $NETMASK # just a host-specific route to the router route add -host $ROUTER dev $DHCP_DEVICE # and host-specific routes to certain RR hosts route add -host $RRTEST gw $ROUTER route add -host $TAS gw $ROUTER route add -host $RRNEWS gw $ROUTER # and the tunnel at Qualcomm (to prevent encap loop) route add -host $QCOMTUNNEL gw $ROUTER # set up tunnel as default route ifconfig tunl0 $IPADDR pointopoint $QCOMTUNNEL route add default gw $QCOMTUNNEL dev tunl0 # keep the TAS happy if [ -f /var/run/rrlogin.pid ] then kill `cat /var/run/rrlogin.pid` rm /var/run/rrlogin.pid fi rrlogin rr_login_name rr_password