
10 Oct
2008
10 Oct
'08
6:53 a.m.
Jason Dusek
This simple little package obtains a MAC address on *NIX and Windows. It is known to work on Linux, OS X and Windows XP.
There is no C fanciness in this package -- it relies on shell commands. The MAC is cached after the first query, using an IORef (I am open to other ideas, but this seemed sufficient).
-- _jsn
Hi I notice that this only prints one MAC address. Some people have more than one network interface, wouldn't it be better to show all of them? Also, on my system I need to run `ifconfig -a` to show all interfaces since it defaults to showing only interfaces which are up. Jeff