dhcp info file date stamp.

dhcp info file date stamp.

Post by Alex » Sun, 27 Jan 2002 12:36:30



I converted to use dhcp last  weekend. The "dhcpcd-eth1.info" file has
this in it.

LEASETIME=169058
RENEWALTIME=84529
REBINDTIME=147925

The date on the file is "Jan 20 22:49".
If I read this correctly, it should have renewed in approx. 24 hours.
However, the date stamp on  the file has not changed. Does it mean that
something
wrong with dhcpcd server?
Thanks.

 
 
 

dhcp info file date stamp.

Post by Dean Thompso » Sun, 27 Jan 2002 12:54:55


Hi!,


> I converted to use dhcp last  weekend. The "dhcpcd-eth1.info" file has
> this in it.

> LEASETIME=169058
> RENEWALTIME=84529
> REBINDTIME=147925

> The date on the file is "Jan 20 22:49".
> If I read this correctly, it should have renewed in approx. 24 hours.
> However, the date stamp on  the file has not changed. Does it mean that
> something wrong with dhcpcd server?

I don't think so.  You have to watch the dates that DHCP uses as it uses GMT
time, although the local file stamp will be the local time.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

1. Date stamping commands in the shell command history file

Hi All,

I need to date stamp commands in the history file as the subject says.

I am using the Korn shell with the default history file (.sh_history and
size of 128.

I have tried things like PS1='$(date>>$HOME/.sh_history)\$' in the
profile.  This works when you log in but doesn't work after that.

How can I get it to work every time the prompt is displayed??

I presume that I'm on the right track trying to modify the primary prompt.
I know that I could do an alias for each command and script for the 30 - 40
that we commonly use but that wouldn't cover all commands.

Any help is much appreciated.

TIA
Craig

2. mprotect problems with mmaped files in Solaris 2.5.1

3. Changing File Modified Time/Date Stamp

4. shell terminal in kde disappears...

5. file date stamp

6. Print Queue Names on 4.2.1 +

7. Changing File Modified Time/Date Stamp

8. x86 boot error:

9. Keeping With Stamped Date On Downloaded Files

10. Date stamping commands in the history file in ksh

11. How do you reset file date time stamp

12. time and date stamp of a file

13. How do I set a file's date stamp?