It's what I do with a permanent modem connection. You could adapt it to suit yourself.
cd /etc/ppp ps ax | fgrep pppd | fgrep -v fgrep > /dev/null || /usr/sbin/pppd
run this through a cron job every five minutes or so and it will check whether your connection is up.
Ben
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
