> yeah exactly. you can only get remote machine's MAC address 
> if you have
> admin rights there.

Not entirely. The nbstat was run from a non-priveleged account which
didn't have admin rights. Or you can grant read access to the
Win32::NetworkAdapter class in WMI, but that takes the piss a little. Or
you could poll the remote router for its arp cache with snmp after
you've done your ping. Or you could install a daemon on the remote
subnet and get that to do the work of polling its arp cache and
returning the results. Or you could install snmp on the remote host.

Paul

*****************************************************************
Gloucester Research Limited believes the information 
provided herein is reliable. While every care has been 
taken to ensure accuracy, the information is furnished 
to the recipients with no warranty as to the completeness 
and accuracy of its contents and on condition that any 
errors or omissions shall not be made the basis for any 
claim, demand or cause for action.
*****************************************************************


_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to