Top-rated recipes tagged "mobile_broadband"http://code.activestate.com/recipes/tags/mobile_broadband/top/2009-01-04T03:13:33-08:00ActiveState Code RecipesCount up transfer for 3 mobile broadband on a mac (Python)
2009-01-04T03:13:33-08:00Anand Patilhttp://code.activestate.com/recipes/users/4168675/http://code.activestate.com/recipes/576605-count-up-transfer-for-3-mobile-broadband-on-a-mac/
<p style="color: grey">
Python
recipe 576605
by <a href="/recipes/users/4168675/">Anand Patil</a>
(<a href="/recipes/tags/3/">3</a>, <a href="/recipes/tags/mac/">mac</a>, <a href="/recipes/tags/mobile_broadband/">mobile_broadband</a>, <a href="/recipes/tags/three/">three</a>).
</p>
<p>The 3 (a UK mobile carrier) broadband dongle is handy, but its mac support is really awful. In particular, the interface software doesn't provide any straightforward way to see your total data transfer to date. This can lead to nasty surprises if you're using a pay-as-you-go plan.</p>
<p>This executable scans /var/log/ppp.log and totals up your data transfers over your dongle. It can optionally take a date as a command-line argument, in which case it only totals up usage after the given date.</p>