[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] How to get ethernet addr macperl?



At 06.14 -0500 1998.12.17, jean-michel meyer wrote:
>>How can one get the mac's ethernet hardware address using macperl?  I've
>>searched the macperl mailing list archives and the pod's, but I haven't
>>bumped into anything yet.  Any ideas?
>
>If i well understand, you want to get the IP address of a mac connect via
>it's ethernet port to a internet/intranet network, isn't it ?

No, the ethernet hardware address, or MAC address (which has nothinig to do
with Mac OS or Macintosh), is something different than IP address.  A MAC
address never changes, and should be unique, IIRC.  I don't know how to get
it programmatically, though.  I know you can go to your TCP/IP control
panel (if TCP/IP is connecting through Ethernet) and do Get Info, and the
information is there.

--
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch