Most viewed recipes tagged "mac"http://code.activestate.com/recipes/tags/mac/views/2016-07-07T17:52:15-07:00ActiveState Code RecipesIP and MAC addresses (Python) 2016-07-07T17:52:15-07:00Jean Brouwershttp://code.activestate.com/recipes/users/2984142/http://code.activestate.com/recipes/577191-ip-and-mac-addresses/ <p style="color: grey"> Python recipe 577191 by <a href="/recipes/users/2984142/">Jean Brouwers</a> (<a href="/recipes/tags/ios/">ios</a>, <a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/ipv4/">ipv4</a>, <a href="/recipes/tags/mac/">mac</a>, <a href="/recipes/tags/macos/">macos</a>, <a href="/recipes/tags/network/">network</a>, <a href="/recipes/tags/python2_4/">python2_4</a>, <a href="/recipes/tags/python3_5/">python3_5</a>, <a href="/recipes/tags/uuid/">uuid</a>, <a href="/recipes/tags/windows/">windows</a>). Revision 3. </p> <p>This module collects all IP and MAC addresses from several available sources on the underlying system. See the module documentation for more details, supported Python releases and platforms.</p> mac address from ip address (Python) 2013-07-07T17:34:06-07:00judyhttp://code.activestate.com/recipes/users/4186659/http://code.activestate.com/recipes/578593-mac-address-from-ip-address/ <p style="color: grey"> Python recipe 578593 by <a href="/recipes/users/4186659/">judy</a> (<a href="/recipes/tags/address/">address</a>, <a href="/recipes/tags/adress/">adress</a>, <a href="/recipes/tags/ip/">ip</a>, <a href="/recipes/tags/mac/">mac</a>, <a href="/recipes/tags/python/">python</a>). </p> <p>get the mac address from ip address work only in linux system</p> Count 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>