Posted: Sat 12 Jun 2010, 07:40 Post_subject:
LAN IP checker Sub_title: much faster than ping
I intend to write a front end to Luigi's lanfile (a LAN file transfer program -
http://www.murga-linux.com/puppy/viewtopic.php?t=56276), and had, as a first step, to come up with a LAN IP scanner (sounds like a reinvention of the wheel). What I did was use fping and wrote a script that parses and outputs the results. I use fping since a normal ping takes over 4 minutes for 255 addresses while fping takes 40 seconds. The results are sent to a gui, to a terminal and to a text file for later use by the forthcoming lanfile gui (the reason we want a text file is to avoid invoking the IP scan if we know nothing has really changed on the LAN; why wait 40 seconds for no reason?). I also make use of a tiny splash program I once wrote in c because it is easier to kill than, for example, a gtkdialog window. All binaries and sources are included in the archive. Just unpack and click on chk_ip. If you have any suggestions, please let me know.