hex/mac address help

2001-12-26 Thread sean grossman
I am using SNMP_util to retrieve mac addresses from my ARP table and my result is always odd characters instead of xx:xx:xx:xx:xx:xx. Example: #!/usr/bin/perl -w use SNMP_util; $commstring = "foo"; $host = "127.0.0.1"; $ip = "192.168.1.10"; $mib = ".1.3.6.1.2.1.4.22.1.2.2.$ip"; @mac = snmpge

SNMP_util help

2001-12-07 Thread sean grossman
I am trying to retrieve the mac address from the arp table of another machine using Mike Mitchell's SNMP_util module. When I run the script below i get "à)" as the result instead of the mac address. I know the snmp daemon is running properly as i can use snmpget from the command line and it g