LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   view isp dhcp lease (http://www.linuxquestions.org/questions/linux-networking-3/view-isp-dhcp-lease-112624/)

jimieee 11-05-2003 09:03 AM

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~

dorian33 11-06-2003 04:23 PM

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


All times are GMT -5. The time now is 12:20 PM.