For a personal project I’m working on, I need to monitor all the devices currently on my home network. Getting PHP to poll the network for devices is hard… I believe there is a way to poll devices in perl, but I was looking for something easier. The quickest solution I was able to come up with is to screen scrap my router’s “Device List” page. My router is a Linksys E2000 (For all the nerds out there, it’s a Broadcom BCM4716 chip rev 1 pkg 9, overclocked to a blazin’ 356MHz). It’s currently running Tomato Version 1.28.
The results are var_dump()’ed to the page (again, this is just adown and dirty hack). They look something like this: