Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Nov 2001 13:41:41 -0300
From:      "Guido Fortunati" <zuez@smartdigitalinc.com>
To:        <Freebsd-questions@freebsd.org>
Subject:   RE: forcing renew of DHCP lease
Message-ID:  <001001c16618$c0cd8ff0$55000b0a@home>
In-Reply-To: <NEBBIGLHNDFEJMMIEGOOAEAAEFAA.peter@skyrunner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
If your IP address is dynamic and you'd like to be notified when the
DHCP client receives a new address, is that what you mean? 
If so, fetch
http://www.wicklein.org/~chrisw/FreeBSD/dhclient/dhclient-exit-hooks and

save the file as /etc/dhclient-exit-hooks and chmod it, chmod 540
/etc/dhclient-exit-hooks
that's all you need afaik.

-guido


-----Original Message-----
From: owner-freebsd-questions@FreeBSD.ORG
[mailto:owner-freebsd-questions@FreeBSD.ORG] On Behalf Of Peter Brezny
Sent: Lunes, 05 de Noviembre de 2001 01:36 p.m.
To: freebsd-questions@FreeBSD.ORG
Subject: forcing renew of DHCP lease


How do you force an interface to renew its dhcp lease?

I've tried taking the devise up and down again

ifconfig fxp1 down|up

and 

ficonfig fxp1 inet DHCP

Searched the ifconfig man page for dhcp...no luck...

TIA

Peter Brezny
Skyrunner.net

 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c16618$c0cd8ff0$55000b0a>