Well is a server that acts as gateway for my small corporate network, it has a satellital connection with static ip, but from time to time the connection drops and i have to restar the interfaces with /etc/rc.d/netif restart and the routing (/etc/rc.d/routing restart. i need a solution that automatically handle this issue at any time, i though that a ping scrip can do the job, pingin for example to google and then if fail execute the necesary command to keep connected. I hope to be clear because my english its not so well hehe...