This bit assumes that en0 is the interface being used by the
server. You actually want to check each interface used by each of the
IP addresses in config.BindAddresses.
Anyone know how to lookup a MAC address in python?
This looks potentially promising, but I can't grok it and it didn't
work on my machine:
http://rafb.net/p/LcL3wR37.html
Seems like this should be doable without forking...
-wsv
On Jan 17, 2007, at 8:27 AM, [EMAIL PROTECTED] wrote:
+ macaddr = os.popen('/sbin/ifconfig en0|grep
ether').read().replace('\n','').split()[1]
_______________________________________________
calendarserver-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/calendarserver-dev