On Thu, Dec 13, 2001 at 06:39:15PM -0500, dman wrote: > On Thu, Dec 13, 2001 at 03:30:09PM -0800, Greg Wiley wrote: > | On Thursday, December 13, 2001 1:58 PM, dman wrote: > | > or not). I don't think that can be automated (GPS ;-)?). What I > | > really need to do is configure dhcpd at home sometime. > | > | Someone here posted that he had a program that would > | check for the presence of another host on the LAN. > > Sounds like a chicken-vs-egg situation. The machine must be on the > LAN to use it, and it must be able to use it to determine if another > machine is there, and it must determine if the other machine is there > to determine how to get on the LAN. :-).
OK, plug mode :) whereami is up to the job. It works independently of the interfaces file, but just hold on a week or two and we'll be on top of that too. We solve the chicken-vs-egg using timeouts - send a request to a known machine and wait etc. There are other tests integrated too, such as a network cable check and docking station (hardware) check. For something that is integrated with Debian and already in the archives, take a look at guessnet, which provides detection via arp ping packets. Chris -- Chris Halls | Frankfurt, Germany
pgpEtxPvRkjz0.pgp
Description: PGP signature