MAC Address on Linux
Mark Waddingham
36degrees at runrev.com
Fri Oct 8 16:37:29 EDT 2004
Hi Mark,
On Fri, 8 Oct 2004, Mark Talluto wrote:
> Anyone know how to get the MAC Address on Linux? Ken has a tip for
> this on his site, but it does not include Linux. I am afraid I know
> next to nothing about Linux. A pointer on how I could get this would
> save me much time. Thanks!
>
>
All you need to do is parse the result of shell("/sbin/ifconfig"'). I
think ifconfig sits in the same place on most Linux distributions...
Best wishes,
Mark.
---------------------------------------------------------------------
Mark Waddingham ~ 36degrees @ runrev.com ~ http://www.runrev.com/
Runtime Revolution ~ User-Centric Development Tools
More information about the use-livecode
mailing list