After some further research, I found two Toolbox calls: EGetInfo and OTGetProtAddress. These are documented in Inside Macintosh, and there is a code example (in C) of the second call in use. It's not for the weak. :) Unless there's a way to get MacPerl to call an arbitrary Toolbox call, you'd have to use a C routine via XS, I imagine. <http://developer.apple.com/techpubs/mac/Networking/Networking-278.html> for EgetInfo information. <http://developer.apple.com/technotes/tn/tn1103.html#Ethernet> for pointers to the OT calls. Hope that helps, Geoff Chris Nandor wrote: > > 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. > ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch