to let dhclient renew ip address

Zhang Weiwu weiwuzhang at
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:

(su to root)
#setenv interface fxp0
#setenv reason RENEW
(.... 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¡£  

More information about the freebsd-questions mailing list