If you can see the object from your Linux box, then, it's clear. Throw away snmputilg!

On windows you can try also snmputil, the command-line version of snmputilg:
http://www.wtcs.org/snmp4tpc/testing.htm#SNMPUTIL

C:\>snmpwalk -c public localhost .1.3.6.1.2.1.2.2.1.6
RFC1213-MIB::ifPhysAddress.1 = ""
RFC1213-MIB::ifPhysAddress.16777219 = Hex-STRING: 00 01 03 11 F8 D6

C:\>snmputil get localhost public .1.3.6.1.2.1.2.2.1.6.16777219
Variable = interfaces.ifTable.ifEntry.ifPhysAddress.16777219
Value    = String <0x00><0x01><0x03><0x11><0xf8><0xd6>

Good luck!
David


> -----Original Message-----
> From: Vic Berdin [mailto:[EMAIL PROTECTED]
> Sent: Monday, June 21, 2004 11:54 AM
> To: Dave Shield; [EMAIL PROTECTED]
> Subject: RE: MAC address not retrieved by Win32 client 
> 
> 
> Hi David, everyone,
> 
> > -----Original Message-----
> > From: Dave Shield [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 21, 2004 4:52 PM
> > To: Vic Berdin
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: MAC address not retrieved by Win32 client 
> > 
> >> However, I noticed that MAC (physical) addresses 
> >> (OID .1.3.6.1.2.1.2.2.1.6.2, etc) were NOT retrieved by 
> >> the tool.
> >
> > It would be a lot easier to advise you as to the cause
> > of this problem if you'd included some indication as to
> > what you'd actually tried.
> >  It might be that you're asking for the wrong OIDs
> > (as David suggests).   Or it may be a problem with
> > the agent configuration.
> >
> > Have you read the FAQ?
> 
> Yep I did, prior to posting.
> 
> > In particular, see the entry:
> >    I can see the system group, but nothing else.  Why?
> 
> Here are more details:
> If I will run `snmpwalk` from my Linux machine, I can definitely
> see the line:
> 
> "RFC1213-MIB::ifPhysAddress.2 = Hex-STRING: 00 90 73 00 02 F5"
> 
> as one of the results to my snmpwalk command. Then if I will use
> `snmptranslate -On RFC1213-MIB::ifPhysAddress.2`, the output is
> indeed: 
> 
> ".1.3.6.1.2.1.2.2.1.6.2". 
> 
> The same OID that comes out NULL from snmputilg.exe tool, but the
> value is NULL.
> It's also highly possible that snmputilg does not support 
> physical addresses (*shrugs*).
> Btw, what other FREE Win32 client tools that you guys use, in order 
> to get/set information to your net-snmp servers?
> 
> Also, here's my test conf, please feel free to send flames:
> 
> #---------------------------------------------------------------------
> #       sec.name  source          community
> com2sec local     172.0.0.1       public
> com2sec mynetwork 0.0.0.0/0       public
> 
> ####
> # Second, map the security names into group names:
> 
> #                     sec.model  sec.name
> group MyRWGroup       v1         local
> group MyRWGroup       v2c        local
> group MyRWGroup       usm        local
> group MyROGroup v1         mynetwork
> group MyROGroup v2c        mynetwork
> group MyROGroup usm        mynetwork
> 
> ####
> # Third, create a view for us to let the groups have rights to:
> 
> #           incl/excl subtree                          mask
> view all    included  .1                               80
> 
> ####
> # Finally, grant the 2 groups access to the 1 view with different
> # write permissions:
> 
> #                context sec.model sec.level match  read   
> write  notif
> access MyROGroup ""      any       noauth    exact  all    none   none
> access MyRWGroup ""      any       noauth    exact  all    all    none
> 
> 
> ##############################################################
> #########
> # System contact information
> #
> 
> syslocation In My Place
> syscontact zxiv1001 <[EMAIL PROTECTED]>
> sysdescr My Machine
> sysname Machine Sys
> 
> ##############################################################
> #########
> # Define trap destinations
> #
> 
> # trapsink: A SNMPv1 trap receiver
> #   arguments: host [community] [portnum]
> trapsink 127.0.0.1
> 
> # trap2sink: A SNMPv2c trap receiver
> #   arguments: host [community] [portnum]
> trap2sink 127.0.0.1
> 
> # informsink: A SNMPv2c inform (acknowledged trap) receiver
> #   arguments: host [community] [portnum]
> informsink 127.0.0.1
> 
> # trapsess: A generic trap receiver defined using snmpcmd 
> style arguments.
> #   Read the snmpcmd manual page for further information.
> #   arguments: [snmpcmdargs] host
> #trapsess 127.0.0.1
> 
> #-------------------------------------------------------------
> ---------
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.672 / Virus Database: 434 - Release Date: 4/28/2004
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San 
> Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority 
> Code NWMGYKND
> _______________________________________________
> Net-snmp-users mailing list
> [EMAIL PROTECTED]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
> 
-------------------------------------------------------------------------------------------------------------------
Este correo electrónico y, en su caso, cualquier fichero anexo al mismo, contiene 
información de carácter confidencial exclusivamente dirigida a su destinatario o 
destinatarios. Queda prohibida su divulgación, copia o distribución a terceros sin la 
previa autorización escrita de Indra. En el caso de haber recibido este correo 
electrónico por error, se ruega notificar inmediatamente esta circunstancia mediante 
reenvío a la dirección electrónica del remitente.

The information in this e-mail and in any attachments is confidential and solely for 
the attention and use of the named addressee(s). You are hereby notified that any 
dissemination, distribution or copy of this communication is prohibited without the 
prior written consent of Indra. If you have received this communication in error, 
please, notify the sender by reply e-mail


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to