Find the answer to your Linux question:
Results 1 to 2 of 2
Hi when I run the following GET commad: ./snmpget -m ALL -M /data/net/naamab/snmp/snmp_mib/ -v 3 -a MD5 -l authPriv -u test1 -A welcome1 -x DES -X privpass 127.0.0.1 NOVELSAT-MODULATOR-MIB::nsModLineCMMode.0 -d ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2010
    Posts
    9

    SNMP- error: Encryption support not enabled


    Hi

    when I run the following GET commad:
    ./snmpget -m ALL -M /data/net/naamab/snmp/snmp_mib/ -v 3 -a MD5 -l authPriv -u test1 -A welcome1 -x DES -X privpass 127.0.0.1 NOVELSAT-MODULATOR-MIB::nsModLineCMMode.0 -d

    I get the error:
    Encryption support not enabled.
    snmpget: USM encryption error

    I have defined a user (and user, view and access) that should work with encryption:
    snmpd.conf:
    createUser test1 MD5 welcome1 DES privpass
    group debugGroup usm test1
    view debugView included .1
    access debugGroup "" usm priv exact debugView debugView none

    general details:
    I am using net-snmp on linux embedded
    version 5.5
    Configuration (part of it):
    ./configure --target=mips64-octeon-linux-gnu
    --build=mips64-octeon-linux-gnu
    --host=i686-pc-linux-gnu


    message dump:
    Sending 64 bytes to UDP: [127.0.0.1]:161->[0.0.0.0]
    0000: 30 3E 02 01 03 30 11 02 04 1D 23 6A FA 02 03 00 0>...0....#j....
    0016: FF E3 04 01 04 02 01 03 04 10 30 0E 04 00 02 01 ..........0.....
    0032: 00 02 01 00 04 00 04 00 04 00 30 14 04 00 04 00 ..........0.....
    0048: A0 0E 02 04 4C 08 7B B5 02 01 00 02 01 00 30 00 ....L.{.......0.

    Received 118 bytes from UDP: [127.0.0.1]:161->[0.0.0.0]
    0000: 30 74 02 01 03 30 11 02 04 1D 23 6A FA 02 03 00 0t...0....#j....
    0016: FF E3 04 01 00 02 01 03 04 24 30 22 04 11 80 00 .........$0"....
    0032: 1F 88 80 2D 53 AF 7D 00 00 00 00 00 00 00 08 02 ...-S.}.........
    0048: 02 02 CF 02 03 01 11 C5 04 00 04 00 04 00 30 36 ..............06
    0064: 04 11 80 00 1F 88 80 2D 53 AF 7D 00 00 00 00 00 .......-S.}.....
    0080: 00 00 08 04 00 A8 1F 02 04 4C 08 7B B5 02 01 00 .........L.{....
    0096: 02 01 00 30 11 30 0F 06 0A 2B 06 01 06 03 0F 01 ...0.0...+......
    0112: 01 04 00 41 01 09 ...A..



    Thank you
    Naama

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,755
    My guess is the snmp package is not encryption-enabled by default, so you will probably need to build it from source and configure it to have encryption capabilities. So, even though the user has DES enabled, the program cannot support that at this point.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •