Subject: Re: How to detect net cable plug-in
To: None <tech-net@NetBSD.org>
From: David Young <email@example.com>
Date: 10/14/2003 13:07:04
On Tue, Oct 14, 2003 at 10:10:44AM -0500, Brian Grayson (home) wrote:
> I'm no networking guru. Can anyone tell me if that ifconfig to
> 0.0.0.0 is really necessary? Is it only necessary if the iface is not
> already up? I can ifconfig to 184.108.40.206, unplug the cable, plug it back
> in, and dhclient changes it to 192.168.0.18 like it should....
I don't think that most of dhclient-script is necessary. It looks
like a bunch of voodoo for cross-platform compatibility to me. I
am especially wary of the 'route add ... 127.0.0.1' and
'route delete ... 127.0.0.1' lines. Maybe somebody can explain
how the script is supposed to work.
David Young OJC Technologies
firstname.lastname@example.org Urbana, IL * (217) 278-3933