These patches give you a display of the uptime of the active PPP link on the "Status-> Interfaces" page, and also logging on /conf (to survive reboot) of uptimes of each session after it is closed. In addition, the status_interfaces.php page displays the cumulative uptime total so users can manage their links that are on pay by the minute arrangements.
Shortcomings: partial minutes are just added as cumulative seconds where most providers probably charge you for a minute after you're 1 second into that minute. I may fix this later.
These patches give you a display of the uptime of the active PPP link
on the "Status-> Interfaces" page, and also logging on /conf (to
survive reboot) of uptimes of each session after it is closed. In
addition, the status_interfaces.php page displays the cumulative
uptime total so users can manage their links that are on pay by the
minute arrangements.
Shortcomings: partial minutes are just added as cumulative seconds
where most providers probably charge you for a minute after you're 1
second into that minute. I may fix this later.
Submitted-by: Gabriel B