PDA

Bekijk de volledige versie : Advanced ping or another way to list available computers



oversc0re
12-02-2007, 13:12
Hello!

I am trying to get a list of computers, that are currently online. I can ping every computer and list the details, but the problem is a delay that is introduced by the offline computers. Normal linux ping has a -W flag where you can specify time to wait for ping an then exit, but the busybox ping does not have that option. Is there a more advanced ping, or can you suggest me another method of listing the computers?

Thanx!

over.

oleo
12-02-2007, 14:26
nmap at http://insecure.org/nmap available as Optware packages. But you also use cat /proc/net/arp for arp cache.

oversc0re
12-02-2007, 17:45
Nice thingie, this arp cache. Thanx for the tip!

Greetings,

over.