Machine network names

Devin Asay devinasay at gmail.com
Wed Oct 5 17:20:41 EDT 2005


Jacque,

I'm tardy here, but didn't see any replies.

Could you write a shell script that ssh'ed to the remote machine,  
then check the $HOST variable. Kinda roundabout, I know.

Or how about just getting the number of bytes of data on each disk.  
Not guaranteed to be unique, but the chances of duplicated numbers  
would be miniscule.

Devin

On Oct 3, 2005, at 5:00 PM, J. Landman Gay wrote:

> I want to know the network name of a remote machine on a network.  
> For a local machine, I can get "the address" and the first part of  
> the address is the name I'm looking for.  But on a remote, mounted  
> volume "the address" doesn't include its machine name. Any ideas? I  
> only need this for Mac OS X, but it has to work for all but the  
> earliest versions of OS X.
>
> If I can't easily get the network name, then any unique identifying  
> info would do. I considered getting the machine ID using Ken Ray's  
> "stsGetSerialNumber" handler, but it only returns the serial  
> numbers of local hard drives.
>
> The only requirements are: it has to be a unique identifier, and it  
> has to be obtainable both remotely and locally.
>
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




More information about the use-livecode mailing list