SNMPv3 configuration for hp laserjet

T

Tobias Koch

Hi,
I want to configure a HP Laserjet printer for the usage with SNMPv3
with authentication (MD5) and privacy (DES). For the configuration I
can use the Web Jetadmin interface.
In the section "Networking -> SNMP -> SNMPv3 -> Authentication Key"
and "Privacy Key" I have to enter a "16byte hexadecimal value" (32
characters), otherwise the dialog reports an error.

Creating a "md5sum" of the auth key seems to work, but could not be
tested since the priv key is missing.

Does someone know who to generate a 16-byte hexadecimal value which is
the hex representation of a DES crypt from a ascii string for usage in
HP web jetadmin? I called the HP support, but they didn't know it
either!

Am I the only one who finds this configuration dialog really
unconvenient?

ciao,
Tobias
 
D

dperkins

HI,

Try the same value for both auth and priv keys.

Hi,
I want to configure a HP Laserjet printer for the usage with SNMPv3
with authentication (MD5) and privacy (DES). For the configuration I
can use the Web Jetadmin interface.
In the section "Networking -> SNMP -> SNMPv3 -> Authentication Key"
and "Privacy Key" I have to enter a "16byte hexadecimal value" (32
characters), otherwise the dialog reports an error.

Creating a "md5sum" of the auth key seems to work, but could not be
tested since the priv key is missing.

Does someone know who to generate a 16-byte hexadecimal value which is
the hex representation of a DES crypt from a ascii string for usage in
HP web jetadmin? I called the HP support, but they didn't know it
either!

Am I the only one who finds this configuration dialog really
unconvenient?

ciao,
Tobias
Regards,
/david t. perkins
 
T

Tobias Koch

Hi David, thanks for the tip, though it didn't work.

Try the same value for both auth and priv keys.

Ok, so I create a MD5 hash from my password, lets say "test" - which
is "d8e8fca2dc0f896fd7cb4cb0031ba249". I used this string for
Authentication Key and Privacy Key. The web jetadmin dialog reports no
error but the SNMP agent still doesn't work (Authentication failure
(incorrect password, community or key)). The same query with the same
password works well on other SNMP-Agents.

So I guess it's not the right way to insert a MD5 sum for the DES key.

regards,
Tobias
 
J

Juergen Schoenwaelder

In comp.protocols.snmp Tobias Koch said:
Ok, so I create a MD5 hash from my password, lets say "test" - which
is "d8e8fca2dc0f896fd7cb4cb0031ba249". I used this string for
Authentication Key and Privacy Key. The web jetadmin dialog reports no
error but the SNMP agent still doesn't work (Authentication failure
(incorrect password, community or key)). The same query with the same
password works well on other SNMP-Agents.

So I guess it's not the right way to insert a MD5 sum for the DES key.

The passphrase to key algorithm used by SNMPv3/USM/MD5 is a bit more
interesting - see RFC 3414 for the details. It seems that it is unclear
what precisely you have to enter - note that SNMPv2/USM also localizes
the keys. Perhaps you should try 'maplesyrup', which is the example in
RFC 3414 appendix A.3.1.

/js
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top