Check connection
Simple script to check connection to a host, that in case of failure asks for new IP address through DHCP.
Add entry to crond of account with privileges to get address through dhclient:
chmod 755 /<folder>/checkConnection.sh
- crontab -e
* * * * * /<folder>/checkConnection.sh
On Slackware the logger output should appear on /var/log/messages.