LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2005, 11:03 PM   #1
pnellesen
Member
 
Registered: Oct 2004
Location: Missouri, USA
Distribution: Slackware 12.2, Xubuntu 9.10
Posts: 371

Rep: Reputation: 31
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time


I'm running Slackware 10, connected via DHCP to a wired port on a Linksys 4-port/Wireless router. I've noticed that if I put my machine into standby mode (by hitting the power button) and I don't come back for "a while" (say 24 hours or so), when I try to access any network resources or the internet, I get "no connection to blah". It seems that the length of time over which this happens varies - I haven't timed it exactly by any means, but if I come back after 8-12 hours I don't have a problem. I've attempted trying some of the "dhcpclient" commands with no luck. Is there a way to set up the initial boot dhcpclient lease time to be "forever", or is there a way to renew the lease? I have seen another post in this forum regarding DHCP leases, and if this happens again I'm going to try a couple of the suggestions there, but if anyone has any further suggestions I'd love to hear them... (I apologize for the lack of detail here. )

Thanks in advance
 
Old 01-06-2005, 11:44 PM   #2
not_an_expert
Member
 
Registered: Oct 2004
Location: Springfield VA
Distribution: Slackware
Posts: 39

Rep: Reputation: 15
Try setting the client lease time on the Linksys to 10080 minutes (1 Week) or so. Also make sure that the lease time on the dhcpcd daemon is set to match that value. If it follows standards, the daemon should not do anything until the lease is 50% up. That would give you plenty of time to resume without hanging something up.

You might also consider putting a "killall dhcpcd" in the sleep script and restarting it in the wakeup script.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM
Gentoo - My CPU Dosnt Support "Long Mode". What Should I do?. happyman Linux - Distributions 1 05-04-2004 06:20 AM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Fedora - Installation 2 03-14-2004 11:22 AM
"Anaconda" and "mini-wm" lost connection to display :1.0;??? cbrittain Linux - General 0 02-24-2004 05:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration