Bekijk de volledige versie : Utility to check if In ternet is OK

07-01-2005, 21:25
Exist compiled package for asus with this simple function - RUN on BACKGROUND ang check if internet connection is ok? eg. just ping server or download page AND store log about it?

07-01-2005, 22:49
This would help you. A script (ping.sh contained in ping.tar) need to be executed each minute using crond. Suppose you untar ping.tar in /tmp/harddisk/script then add following line to crontab:

*/1 * * * * /tmp/harddisk/script/ping.sh
Create /tmp/ping directory. This cronjob will create a daily file in the form 'pingmmdd' in /tmp/ping dir and writes '#' each minute server is reachable, '@' when server is not reachable, but connection with ISP is valid or '-' when both are not reachable on an hourly new line.

When a webserver is running (busybox_httpd) then you can put next two scripts contained in ping_cgi.tar in /www/cgibin directory. Then you can show statisctics of a selectable day using HTML form.

Good luck!