View previous topic :: View next topic |
Author |
Message |
MoonlitKnight n00b

Joined: 10 Jun 2002 Posts: 3 Location: Austin, TX
|
Posted: Mon Jun 10, 2002 5:00 am Post subject: DHCP Lease not renewing |
|
|
I've been running Gentoo for a few months, and things have gone relatively well. I had been using a Linksys router as my DHCP server, but recently, I installed Win2k server and set it up as my DHCP server.
Gentoo will get an address from it with no problem.. however, it seems to not renew the address. After the lease period expires, the eth0 interface is just shutdown. I experimented, and ifconfig up would bring the interface up, but I still had no IP. I poked around more and did a dhcpcd at the command line, and lo & behold, the system grabbed an IP.
Any ideas on how to fix this?
Thanks,
Moonlit Knight |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Mon Jun 10, 2002 10:37 am Post subject: |
|
|
Well I read the manual of dhcpcd and it states:
Quote: | BUGS
dhcpcd uses time(3) to calculate the lease expiration time. If the system time is changed while the client is running, the lease
expiration time may not be predictable. |
Did you change the time?
or else maybe you can add the option -l to dhcpcd, but I don't have the problem and i'm not using this option. My lease time is two hours, and I never had problems with my connection, so I think its working for me.
Cya lX. _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
MoonlitKnight n00b

Joined: 10 Jun 2002 Posts: 3 Location: Austin, TX
|
Posted: Mon Jun 10, 2002 2:27 pm Post subject: |
|
|
No.. I definitely didn't change the time. Normally, I reboot at least 1-2 times a week to go back into WinXP (Financial stuff ) However, this particular week I didn't and when it hit the end of lease time.. it just simply shut the interface down.
Where would I add the -l option? One of the startup scripts?
Thanks,
Moonlit Knight |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|