GNOME Bugzilla – Bug 661808
PppStats has been removed with removal org.freedesktop.NetworkManager.Device.Serial
Last modified: 2020-11-12 14:26:42 UTC
PppStats used to work (rather) correctly in 0.8.x on org.freedesktop.NetworkManager.Device.Serial interface. With consolidation of Modem Devices, this interface has been removed. As the reference manual for 0.9 says - features will be incorporated to org.freedesktop.NetworkManager.Device.Modem in the future - so this bug is created only to make us remember about useful, but removed feature which needs to be reimplemented.
Yeah, it'll be implemented in a more general way so that all devices show stats.
OK, but please consider that ppp session is very different from for instance Ethernet LAN. I used to develop a simple piece of software which used PppStats, I intend to write biling program that could log amount of data sent and received in cell modem session. Also, we should distinguish in some way amount of data sent by phyiscal device from amount of data in ppp session - for example like in pppoe connections, ethN counts all the data from all sessions, pppN is for single session. Another problem is hso driver and hso-like devices, which implement ppp connections in driver/physically, without pppd. It'd might be difficult to get this working properly. For me, PppStats that gives ifconfig-like data as a signal as it used to work is ok. Another signal (probably signal is the best here) - when disconnecting, with all parameters (I mean: time of establishing of session, time of end of session, bytes down and bytes up) would be perfect. (Without such signal I would probably have taken the last emitted PppStats when the connection was alive and current system time and logged it, neglecting the time of establishing the connection).
NM bugzilla reorganization... sorry for the bug spam.
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).