MAC Address on Linux
Mark Talluto
userev at canelasoftware.com
Fri Oct 8 16:45:59 EDT 2004
On Oct 8, 2004, at 1:37 PM, Mark Waddingham wrote:
> 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
Hi Mark,
Thanks for the tip! It worked like a charm. Once I get the parsing of
the returned data down, I'll update Ken with the Linux bit.
--
Best regards,
Mark Talluto
http://www.canelasoftware.com
More information about the use-livecode
mailing list