Subject: Re: Dynamic configuration...
To: Richard Rauch <rauch@rice.edu>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 12/04/2001 00:09:41
On Sun, Dec 02, 2001 at 11:26:11PM -0600, Richard Rauch wrote:
> Err, yes, that would be the script to modify, I suppose.  But that's a bit
> of a high-level answer.  I'm relatively naive when it comes to network
> configuration & administration, so what I'd like to know is if there are
> any tools (bundled with NetBSD, or tucked into pkgsrc) that would be of
> help.  I think that my first ideas about how to poll a configuration would
> potentially leave my system sleeping for several minutes waiting for
> timeouts on the network...but, if the config is correct for the physical
> situation, the responseshould come back in milliseconds (or fractions
> thereof).
> 
> If polling is the only way to go, how could the polling be done in a
> reasonable manner?  (Hm.  it looks like ``ping -r'' may do what I want.
> Ideally, I'd like to get a list of hosts directly attached to the same
> network...)

For this I would just have the script ask the user to type on keyboard
'1', '2', '3', ...

--
Manuel Bouyer <bouyer@antioche.eu.org>
--