[futurebasic] Re: Ethernet addresses

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : January 1998 : Group Archive : Group : All Groups

From: Bryan Bremner <bremner@...>
Date: Fri, 16 Jan 1998 09:22:03 -0800
The GetMyAddress program will give you the AppleTalk address, Owner Name,
Macintosh name, Zone Name, Ethernet Address, IP Address, IP Net Mask, and
DNS name for the current computer - yours.  It's advantage is that you can
put the program on a server and go to each computer and run the program, it
has an "Append to File" option that will allow you to build a tab delimited
database of all Mac's on the network.

GetTheirAddress gives you the Ethernet Address, Object (Macintosh, device,
etc.) name, Object (computer) type, and AppleTalk Address of all other
computers in your zone.  It doesn't give you IP Addresses or DNS names
which can be a problem if you are tracking down problems.

The TCP/IP control panel Info button will give you the Ethernet Address for
your computer.  Only works for Open Transport, you can't get it from MacTCP
so this won't work for pre-OS/8 machines.

I haven't tried the "EGetInfo function" but it sounds like that is what the
AGgroup did with GetMyAddress.  You could do the same but unless you have
some other purpose (? checking number of copies of your program residing on
a network perhaps?) there is already some debugged freeware ready for the
use.

-----------------------------------------------------------------------------
Bryan Bremner              Washington State University  (509) 335-9074
Facilities Administration  Systems & Programming Professional
bremner@...            http://www.physplt.wsu.edu/ppweb.html