Well, you could install a decent operating system. Windows NT will let you do ICMP pings without having to be root. (: [ Sorry, I get sick of this kind of stupid and useless response when things work the other way. ]
You can use a set-UID Perl script.
You would probably have good luck "pinging" things that you know the destination provides. For example, "ping" port 80 of a webserver by asking for headers using LWP::Simple. "Ping" the telnet or SMTP or FTP port of servers that provide those services.
If you don't have a firewall in the way, you can probably also do TCP "pings" to ports that don't provide a service. A "connection refused" error means that the site is up, heard you, and doesn't offer what you were asking for. Firewalls tend to be configured to remove this helpful stuff in favor of silence. :(
- tye (but my friends call me "Tye")In reply to RE: RE: Re: Net::Ping not working
by tye
in thread Net::Ping not working
by geektron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |