[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DHCP questions...

On Monday 25 October 2004 09:08, Kevin Wang wrote:
> Hello, all,
> PS print a line as below:
> 318 ?        S      0:00 /sbin/dhclient-2.2.x -q eth0
> I've referred to man page of dhclient, see no argument of 'q', however.
> What does it affect after all?
I don't have a stable box to check, but does man dhcp-options-dhclient help?  
How about man dhclient-script?  If neither of those show the option, how 
about running /sbin/dhclient-2.2.x -h?  If none of them show what it does, 
you should submit a bug report.

If you want my guess as to what -q does, it puts the program in quiet mode, 
suppressing most output, to make the program more suitable for running in a 
script (such as a boot script).

> Second, where or how to check if the lease of DHCP expires? I know
> "ipconfig /all" can do this under Windows.
There may be a better way, but one way you can do this is look through the 
log, probably /var/log/syslog.  If it's been a while since you brought up 
networking, you may have to look in an older copy of syslog.

> Thanks!
> Kevin Wang

Justin Guerin

Reply to: