view isp dhcp lease
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.
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 05:11 PM.|