to let dhclient renew ip address

Zhang Weiwu weiwuzhang at hotmail.com
Fri Feb 6 04:22:52 PST 2004


I am using a notebook (5.2 on a Thinkpad T40). Sometimes I move it from one 
room to another (managed by different dhcp server), and I cannot figure out 
a fast way to tell the dhclient(8) to renew my address. 

I read the manuals. It seems the only way I can do is to:

weiwu>su
(su to root)
#setenv interface fxp0
#setenv reason RENEW
#dhclient-script
(.... dhclient output)

Isn't there a faster way to do it? I am courious why not dhclient be 
designed to just renew the address upon receiving a signal, say INT?

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com  



More information about the freebsd-questions mailing list