Once again I've updated this web tool.
The big difference is that now you don't need to be running DHCP on your Web
server. It works 'stand alone'. Perfect for those using a router box (as
most are I'm sure).
A while ago I switched from having my Gentoo box be my firewall, router,
wifi, dhcp, mail, web, svn, etc... (basically everything) to an Ubuntu box
that does web/mail/etc. and a DIR-655 router which does firewall and wifi
too. This broke the script.
The next version when I get around to it, will be even more clean as right
now it uses 'arp' and 'nmap' to get the results. Turns out, I don't really
need 'arp' (which is also not reliable) and nmap (has XML output too) will
be perfect. Not sure when that will be, but I've got myself a Trac ticket to
> -----Original Message-----
> From: Daevid Vincent [mailto:dae...@daevid.com]
> Sent: Tuesday, December 02, 2003 11:06 PM
> To: firstname.lastname@example.org
> Cc: 'MKlinke'
> Subject: RE: [PHP] DHCP web interface. New version.
> Once again, I have a new version of my DHCP web page. The
> major fix in this
> one is that it does an "nmap -v -p 80 192.168.1.0/24" (thanks
> to Mike Klinke
> for the idea) to re-populate the "arp -n". The old version of
> my program
> would not always show ALL devices on the network. Some would
> also show up as
> "incomplete". I have removed all incomplete ones for this
> version, but you
> could simply comment out the line to put them back if you
> want them. You can
> specify the server's IP manually (as in the case of dual NIC
> cards), or let
> the script figure it out for you.
> > -----Original Message-----
> > From: Daevid Vincent [mailto:dae...@daevid.com]
> > Sent: Monday, July 28, 2003 9:41 PM
> > To: email@example.com
> > Subject: [PHP] DHCP web interface. New version.
> > Heya. I've just put up a new version of the DHCP web front
> > end if anyone is
> > using it or has a need for this type of thing.
> > Major feature of this version:
> > * a bug where if the arp table showed an "(incomplete)", I
> > ignored the entry
> > since the MAC is the hash key, many machines wouldn't show
> > up as they kept
> > over writing each other (of course, they were bunk anyways)
> > * ping & nmap tests (if ping fails, nmap is used as a backup)
> > this is useful for firewalls that may block ICMP
> > * tests can be disabled for radically faster page rendering
> > (off by default)
> > * 10 minute refresh by default rather than 10 second.
> > * SORTING! by IP now, rather than arp entries
> > * many more icons (tivo, zaurus, replay, linux, notebook,
> > servers, DAR, etc)
> > * complete/incomplete tally
> > * Name in config file is only used if dhcp doesn't show a
> name already
> > This is also IMHO an excellent way for a beginer or advanced
> > coder alike to
> > see some very useful OOP/PHP coding as I use arrays of
> > objects, sorting by
> > variables IN the object (custom sort algorithm with key
> > integrity), hashing,
> > system calls, regex parsing, DHTML, etc.
> > If anyone knows how to force the arp table to be current,
> > that would help.
> > Sometimes a machine is on the network, and I *know* for a
> > fact it is, but it
> > doesn't show up in "arp -n" *grumble*.
> > Follow the link below.
> > http://daevid.com/examples/dhcp/
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php