Date: Tue, 22 Apr 2003 00:12:58 +0200 (CEST) From: Martin Blapp <mb@imp.ch> To: Alexander Pohoyda <alexander.pohoyda@gmx.net> Cc: hackers@freebsd.org Subject: Re: [PATCH] dhclient active interface detection patch Message-ID: <20030422000930.C95995@cvs.imp.ch> In-Reply-To: <20030420171922.Q95995@cvs.imp.ch> References: <20030418132152.X6156@cvs.imp.ch> <20030420014419.T95995@cvs.imp.ch><20030420171922.Q95995@cvs.imp.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi all, Just to note. If you start your laptop without net connection it will hang when dhclient gets started. To prevent/workaround this, you'll have to add the option -nw. Of course one could just skip the autodetection of the interface and proceed anyway. But then the polling is not done and one has still to restart dhclient manually. I added this to the patchset I've made together with two different minor fixes. I beleave that this patch now really works good for all cases. --- etc/rc.d/dhclient.orig Tue Apr 22 00:00:05 2003 +++ etc/rc.d/dhclient Tue Apr 22 00:00:16 2003 @@ -17,7 +17,7 @@ . /etc/network.subr name="dhclient" -command="/sbin/${name}" +command="/sbin/${name} -nw" pidfile="/var/run/${name}.pid" case "${OSTYPE}" in FreeBSD)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030422000930.C95995>