See pppoe uptime from CLI?
-
Hi,
On the summary page when I login, I have the Interface tab which shows me my WAN's pppoe uptime.
I assume this is being pulled from a cli command somehow, but I can't figure out what it might be.
Can anyone share the CLI magic to display PPPOE uptime?
Thanks!
Tim
-
It looks in the PPP log and finds the connect time and then calculates.
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1472
-
It looks in the PPP log and finds the connect time and then calculates.
https://github.com/pfsense/pfsense/blob/master/src/etc/inc/pfsense-utils.inc#L1472
That's a clever way to do it!
Thanks for the pointer.