SNMP Community String
What is the proper way of setting a local SNMP community string to something other than the default value of "public" in HPLIP (io/hpmud in particular)
I have my SNMP community string set correctly in /etc/cups/snmp.conf and CUPS "works" with the ipp backend but not the hp backend
The HPLIP tools (hp-makeuri and and hp-check in particular) fail and when they do I can see using Wireshark that those tools are sending out an SNMP read with the default SNMP community string of "public" which then fails to produce any response and results in a timeout. Likewise print jobs are failing for the same reason. as an SNMP read with a community string of "public" is being sent (probably as an "R U There" check of aliveness / connectivity prior to sending of the print job but I didn't follow that case all the way through the code)
The only way that I could make printing using HPLIP and the hp backend work was to go into io/hpmud/hpmudi.h and enter my SNMP community string as one of the values of SnmpPort[] as a replacement for "public"
This was hplip-3.18.9
Thanks,
MK
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Michael Keane for more information if necessary.