> From: Shaiton [mailto:shaito...@gmail.com]
> Sent: Friday, November 27, 2009 5:42 AM

> It has been 1 weeks that I tried to speak snmp with my Set Top Box, but
> I can't.
> I got the MIB, so I tried to sand many traps but  sometimes I got
> "Authentification failed" (CAS authentification with an unknown
> server ..)

        That doesn't sound like an SNMP error.

> But I tried simple traps like
> 
>       # snmptrap -v 1 -c command 192.168.1.248:161 1.3 "" 6 6 ""
> 1.3.6.1.4.1.8711.101.13.1.3.8 s "message here"

        You are sending the trap to port 161.  The well known port for 
receiving traps is 162 - are you sure you don't want to use that?

> which would write the message on the TV.
> But I got a checksum error (while spying with wireshark).

        That probably doesn't matter.  It is now common for the UDP checksum to 
be done on the NIC itself, so wireshark will see the packet before the checksum 
is calculated.  If you see the same issues with other UDP protocols, then worry 
not.

> Ok I don't know if I can specify the port number like that, if I don't,
> with
> 
>       # snmptrap -v 1 -c command 192.168.1.248 1.3 "" 6 6 ""
> 1.3.6.1.4.1.8711.101.13.1.3.8 s "message here"
> 
> I get an ICMP message "Destination port unreachable" (from the STB to
> my computer, where snmpd is running).

        You are running snmptrap on the STB?  Embedded linux?  Just curious.

        On your PC you will want to run a trap listener.  Check the man pages 
for snmptrapd and snmptrapd.conf for details.  If you cannot be root, listen on 
an alternate port, like 8162.

> snmpwalk answer me that I am not authentified ...

        There is no authentication in SNMPv1.  This may be another issue.


        HTH,

Mike

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to