LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-05-2003, 09:03 AM   #1
jimieee
Member
 
Registered: Aug 2003
Location: London, UK
Distribution: Debian and Fedora for play and RHEL + Solaris for work
Posts: 172

Rep: Reputation: 15
view isp dhcp lease


Hi,

Is there a way for me to tell when the lease my isp assigns me for my dhcp connection runs out? I use isdn and my isp gives me free access for two hours before dropping the connection. I want to be able to check how long I have left on my dhcp lease, as I assume it'll give me some idea of how long I have before I get kicked off. I have the connection set as ondemand, so this is more out of interest than any kind of actual need to know.

Cheers,

~James~
 
Old 11-06-2003, 04:23 PM   #2
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 587

Rep: Reputation: 32
I don't know which dhcp client you are using.
But for the dhclient you can look at /var/state/dhcp/dhclient.leases file.
 
  


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
DHCP lease unavailable bwilliam79 Linux - Networking 9 01-31-2008 06:37 AM
Cannot obtain DHCP lease TroelsSmit Linux - Newbie 24 06-18-2005 04:32 AM
DHCP Lease Delete! kofi Linux - Networking 2 07-29-2004 08:00 PM
Renewing DHCP Lease JimKyle Linux - Networking 10 07-18-2004 07:54 PM
dhcp - get new IP when lease renewed chrisnewey Linux - Networking 0 03-30-2004 06:41 AM


All times are GMT -5. The time now is 09:48 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration