Local scans work, but remote attempts don't

Asked by Gustavo Narea

Hello,

My HP Photosmart C3180 all-in-one is connected to my home server (IP:192.168.1.104; runs Ubuntu 9.04) and I connect to this server from my laptop (which runs Kubuntu 9.04). I want to print and scan from my laptop, though the home server, but so far only printing works -- and I'm posting this after several hours searching for a solution on the Web (scanning does work locally in the server).

When I run `hp-makeuri 192.168.1.104`, I get this:
=====
HP Linux Imaging and Printing System (ver. 3.9.2)
Device URI Creation Utility ver. 5.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

error: Device not found
=====

Keep in mind that there are no network issues; as I said above, I can print from my laptop via my home server. Also, according to `ping 192.168.1.104`, there's no network problem.

Here's the output of `hp-check` in the home server (via SSH):
=====
HP Linux Imaging and Printing System (ver. 3.9.2)
Dependency/Version Check Utility ver. 14.1

Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz
or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc)
or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases
(both compile- and run-time dependencies).

Saving output in log file: hp-check.log

Initializing. Please wait...

---------------
| SYSTEM INFO |
---------------

Basic system information:
Linux paris 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686 GNU/Linux

Distribution:
ubuntu 9.04

HPOJ running?
No, HPOJ is not running (OK).

Checking Python version...
OK, version 2.6.2 installed

Checking PyQt 4.x version...
OK, version 4.4.4 installed.

Checking for CUPS...
Status: el programa de planificación de tareas se está ejecutando
Version: 1.3.9
error_log is set to level: debug

Checking for dbus/python-dbus...
dbus daemon is running.
python-dbus version: 0.83.0

------------------------------------
| COMPILE AND RUNTIME DEPENDENCIES |
------------------------------------

note: To check for compile-time only dependencies, re-run hp-check with the -c parameter (ie, hp-check -c).
note: To check for run-time only dependencies, re-run hp-check with the -r parameter (ie, hp-check -r).

Checking for dependency: CUPS - Common Unix Printing System...
OK, found.

Checking for dependency: CUPS DDK - CUPS driver development kit...
OK, found.

Checking for dependency: CUPS devel- Common Unix Printing System development files...
OK, found.

Checking for dependency: DBus - Message bus system...
OK, found.

Checking for dependency: gcc - GNU Project C and C++ Compiler...
OK, found.

Checking for dependency: GhostScript - PostScript and PDF language interpreter and previewer...
OK, found.

Checking for dependency: libcrypto - OpenSSL cryptographic library...
OK, found.

Checking for dependency: libjpeg - JPEG library...
OK, found.

Checking for dependency: libnetsnmp-devel - SNMP networking library development files...
OK, found.

Checking for dependency: libpthread - POSIX threads library...
OK, found.

Checking for dependency: libtool - Library building support services...
OK, found.

Checking for dependency: libusb - USB library...
OK, found.

Checking for dependency: make - GNU make utility to maintain groups of programs...
OK, found.

Checking for dependency: PIL - Python Imaging Library (required for commandline scanning with hp-scan)...
OK, found.

Checking for dependency: ppdev - Parallel port support kernel module....
OK, found.

Checking for dependency: PyQt 4- Qt interface for Python (for Qt version 4.x)...
OK, found.

Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
OK, found.

Checking for dependency: Python ctypes - A foreign function library for Python...
OK, found.

Checking for dependency: Python DBus - Python bindings for DBus...
OK, found.

Checking for dependency: Python devel - Python development files...
OK, found.

Checking for dependency: Python XML libraries...
OK, found.

Checking for dependency: Python 2.3 or greater - Required for fax functionality...
OK, found.

Checking for dependency: Python 2.2 or greater - Python programming language...
OK, found.

Checking for dependency: Reportlab - PDF library for Python...
OK, found.

Checking for dependency: SANE - Scanning library...
OK, found.

Checking for dependency: SANE - Scanning library development files...
OK, found.

Checking for dependency: scanimage - Shell scanning program...
OK, found.

Checking for dependency: xsane - Graphical scanner frontend for SANE...
OK, found.

----------------------
| HPLIP INSTALLATION |
----------------------

Currently installed HPLIP version...
HPLIP 3.9.2 currently installed in '/usr/share/hplip'.

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.9.2

[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hpijs/HP
ppdbase=/usr/share/ppd/hpijs
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv

# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
foomatic-drv-install=yes
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
internal-tag=3.9.2.49
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes

Current contents of '~/.hplip/hplip.conf' file:
[last_used]
printer =
device_uri = hp:/usb/Photosmart_C3100_series?serial=MY66AB311V04P9

[commands]
scan = /usr/bin/xsane -V %SANE_URI%

[installation]
version = 3.9.2.49
date_time = 05/02/09 18:17:11

[settings]
systray_visible = 1

[refresh]
rate = 30
enable = false
type = 1

[polling]
enable = false
device_list =
interval = 5

-------------------------------
| DISCOVERED PARALLEL DEVICES |
-------------------------------

No devices found.

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

No devices found.

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

warning: No queues found.

----------------------
| SANE CONFIGURATION |
----------------------

'hpaio' in '/etc/sane.d/dll.conf'...
'hpaio' in '/etc/sane.d/dll.d/hplip'...
OK, found. SANE backend 'hpaio' is properly set up.

Checking output of 'scanimage -L'...

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

---------------------
| PYTHON EXTENSIONS |
---------------------

Checking 'cupsext' CUPS extension...
OK, found.

Checking 'pcardext' Photocard extension...
OK, found.

Checking 'hpmudext' I/O extension...
OK, found.

Checking 'scanext' SANE scanning extension...
OK, found.

-----------------
| USB I/O SETUP |
-----------------

Checking for permissions of USB attached printers...

HP Device 0x5611 at 001:002:
warning: Device URI: (Makeuri FAILED)
    Device node: /dev/bus/usb/001/002
    Mode: 0664
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/002
# owner: root
# group: lp
user::rw-
group::rw-
mask::rw-
other::r--

-----------
| SUMMARY |
-----------

No errors or warnings.

Done.
=====

And here's the output of `hp-scan` in the server (via SSH):
=====
HP Linux Imaging and Printing System (ver. 3.9.2)
Scan Utility ver. 2.1

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Using device: hpaio:/usb/Photosmart_C3100_series?serial=MY66AB311V04P9

warning: No destinations specified. Adding 'file' destination by default.
warning: File destination enabled with no output file specified.
Setting output format to JPEG for color/lineart mode.
warning: Defaulting to '/home/gustavo/hpscan001.jpg'.
error: Unable to locate device hpaio:/usb/Photosmart_C3100_series?serial=MY66AB311V04P9 using SANE backend hpaio:. Please check HPLIP installation.
=====

On the other hand, it's interesting that ports 161, 162 and 9001 aren't open, and I haven't installed a firewall yet. Here's the output of `sudo nmap localhost` via SSH:
=====
Starting Nmap 4.76 ( http://nmap.org ) at 2009-05-02 18:22 CEST
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on localhost (127.0.0.1):
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
631/tcp open ipp
6566/tcp open unknown

Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds
=====

Finally, if I ignore the errors above and try to access the scanner from my laptop with `xsane -V hpaio:/net/Photosmart_C3100_series?ip=192.168.1.104` (I "invented" that URI based on the structure of those URIs and the name of the printer in my home server and its IP address), and window opens and I get this error:
=====
Failed to open device `hpaio:/net/Photosmart_C3100_series?ip=192.168.1.104`: Error during device I/O.
=====

What's going wrong? How can I fix this?

Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
dwelch91 (dwelch91) said :
#1

Please try this:

http://hplipopensource.com/node/216

On Sat, May 2, 2009 at 9:28 AM, Gustavo Narea <
<email address hidden>> wrote:

> New question #69636 on HPLIP:
> https://answers.launchpad.net/hplip/+question/69636
>
> Hello,
>
> My HP Photosmart C3180 all-in-one is connected to my home server
> (IP:192.168.1.104; runs Ubuntu 9.04) and I connect to this server from my
> laptop (which runs Kubuntu 9.04). I want to print and scan from my laptop,
> though the home server, but so far only printing works -- and I'm posting
> this after several hours searching for a solution on the Web (scanning does
> work locally in the server).
>
> When I run `hp-makeuri 192.168.1.104`, I get this:
> =====
> HP Linux Imaging and Printing System (ver. 3.9.2)
> Device URI Creation Utility ver. 5.0
>
> Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
>
> error: Device not found
> =====
>
> Keep in mind that there are no network issues; as I said above, I can print
> from my laptop via my home server. Also, according to `ping 192.168.1.104`,
> there's no network problem.
>
> Here's the output of `hp-check` in the home server (via SSH):
> =====
> HP Linux Imaging and Printing System (ver. 3.9.2)
> Dependency/Version Check Utility ver. 14.1
>
> Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
>
> Note: hp-check can be run in three modes:
> 1. Compile-time check mode (-c or --compile): Use this mode before
> compiling the HPLIP supplied tarball (.tar.gz
> or .run) to determine if the proper dependencies are installed to
> successfully compile HPLIP.
> 2. Run-time check mode (-r or --run): Use this mode to determine if a
> distro supplied package (.deb, .rpm, etc)
> or an already built HPLIP supplied tarball has the proper dependencies
> installed to successfully run.
> 3. Both compile- and run-time check mode (-b or --both) (Default): This
> mode will check both of the above cases
> (both compile- and run-time dependencies).
>
> Saving output in log file: hp-check.log
>
> Initializing. Please wait...
>
> ---------------
> | SYSTEM INFO |
> ---------------
>
> Basic system information:
> Linux paris 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009
> i686 GNU/Linux
>
> Distribution:
> ubuntu 9.04
>
> HPOJ running?
> No, HPOJ is not running (OK).
>
> Checking Python version...
> OK, version 2.6.2 installed
>
> Checking PyQt 4.x version...
> OK, version 4.4.4 installed.
>
> Checking for CUPS...
> Status: el programa de planificación de tareas se está ejecutando
> Version: 1.3.9
> error_log is set to level: debug
>
> Checking for dbus/python-dbus...
> dbus daemon is running.
> python-dbus version: 0.83.0
>
>
> ------------------------------------
> | COMPILE AND RUNTIME DEPENDENCIES |
> ------------------------------------
>
> note: To check for compile-time only dependencies, re-run hp-check with the
> -c parameter (ie, hp-check -c).
> note: To check for run-time only dependencies, re-run hp-check with the -r
> parameter (ie, hp-check -r).
>
> Checking for dependency: CUPS - Common Unix Printing System...
> OK, found.
>
> Checking for dependency: CUPS DDK - CUPS driver development kit...
> OK, found.
>
> Checking for dependency: CUPS devel- Common Unix Printing System
> development files...
> OK, found.
>
> Checking for dependency: DBus - Message bus system...
> OK, found.
>
> Checking for dependency: gcc - GNU Project C and C++ Compiler...
> OK, found.
>
> Checking for dependency: GhostScript - PostScript and PDF language
> interpreter and previewer...
> OK, found.
>
> Checking for dependency: libcrypto - OpenSSL cryptographic library...
> OK, found.
>
> Checking for dependency: libjpeg - JPEG library...
> OK, found.
>
> Checking for dependency: libnetsnmp-devel - SNMP networking library
> development files...
> OK, found.
>
> Checking for dependency: libpthread - POSIX threads library...
> OK, found.
>
> Checking for dependency: libtool - Library building support services...
> OK, found.
>
> Checking for dependency: libusb - USB library...
> OK, found.
>
> Checking for dependency: make - GNU make utility to maintain groups of
> programs...
> OK, found.
>
> Checking for dependency: PIL - Python Imaging Library (required for
> commandline scanning with hp-scan)...
> OK, found.
>
> Checking for dependency: ppdev - Parallel port support kernel module....
> OK, found.
>
> Checking for dependency: PyQt 4- Qt interface for Python (for Qt version
> 4.x)...
> OK, found.
>
> Checking for dependency: PyQt 4 DBus - DBus Support for PyQt4...
> OK, found.
>
> Checking for dependency: Python ctypes - A foreign function library for
> Python...
> OK, found.
>
> Checking for dependency: Python DBus - Python bindings for DBus...
> OK, found.
>
> Checking for dependency: Python devel - Python development files...
> OK, found.
>
> Checking for dependency: Python XML libraries...
> OK, found.
>
> Checking for dependency: Python 2.3 or greater - Required for fax
> functionality...
> OK, found.
>
> Checking for dependency: Python 2.2 or greater - Python programming
> language...
> OK, found.
>
> Checking for dependency: Reportlab - PDF library for Python...
> OK, found.
>
> Checking for dependency: SANE - Scanning library...
> OK, found.
>
> Checking for dependency: SANE - Scanning library development files...
> OK, found.
>
> Checking for dependency: scanimage - Shell scanning program...
> OK, found.
>
> Checking for dependency: xsane - Graphical scanner frontend for SANE...
> OK, found.
>
>
> ----------------------
> | HPLIP INSTALLATION |
> ----------------------
>
>
> Currently installed HPLIP version...
> HPLIP 3.9.2 currently installed in '/usr/share/hplip'.
>
> Current contents of '/etc/hp/hplip.conf' file:
> # hplip.conf. Generated from hplip.conf.in by configure.
>
> [hplip]
> version=3.9.2
>
> [dirs]
> home=/usr/share/hplip
> run=/var/run
> ppd=/usr/share/ppd/hpijs/HP
> ppdbase=/usr/share/ppd/hpijs
> doc=/usr/share/doc/hplip-doc/HTML
> icon=no
> cupsbackend=/usr/lib/cups/backend
> cupsfilter=/usr/lib/cups/filter
> drv=/usr/share/cups/drv
>
> # Following values are determined at configure time and cannot be changed.
> [configure]
> network-build=yes
> pp-build=yes
> gui-build=yes
> scanner-build=yes
> fax-build=yes
> dbus-build=yes
> cups11-build=no
> doc-build=yes
> shadow-build=no
> foomatic-drv-install=yes
> foomatic-ppd-install=no
> foomatic-rip-hplip-install=no
> internal-tag=3.9.2.49
> restricted-build=no
> ui-toolkit=qt4
> qt3=no
> qt4=yes
>
>
>
>
> Current contents of '~/.hplip/hplip.conf' file:
> [last_used]
> printer =
> device_uri = hp:/usb/Photosmart_C3100_series?serial=MY66AB311V04P9
>
> [commands]
> scan = /usr/bin/xsane -V %SANE_URI%
>
> [installation]
> version = 3.9.2.49
> date_time = 05/02/09 18:17:11
>
> [settings]
> systray_visible = 1
>
> [refresh]
> rate = 30
> enable = false
> type = 1
>
> [polling]
> enable = false
> device_list =
> interval = 5
>
>
>
> -------------------------------
> | DISCOVERED PARALLEL DEVICES |
> -------------------------------
>
> No devices found.
>
> --------------------------
> | DISCOVERED USB DEVICES |
> --------------------------
>
> No devices found.
>
> ---------------------------------
> | INSTALLED CUPS PRINTER QUEUES |
> ---------------------------------
>
>
> warning: No queues found.
>
> ----------------------
> | SANE CONFIGURATION |
> ----------------------
>
> 'hpaio' in '/etc/sane.d/dll.conf'...
> 'hpaio' in '/etc/sane.d/dll.d/hplip'...
> OK, found. SANE backend 'hpaio' is properly set up.
>
> Checking output of 'scanimage -L'...
>
> No scanners were identified. If you were expecting something different,
> check that the scanner is plugged in, turned on and detected by the
> sane-find-scanner tool (if appropriate). Please read the documentation
> which came with this software (README, FAQ, manpages).
>
>
> ---------------------
> | PYTHON EXTENSIONS |
> ---------------------
>
> Checking 'cupsext' CUPS extension...
> OK, found.
>
> Checking 'pcardext' Photocard extension...
> OK, found.
>
> Checking 'hpmudext' I/O extension...
> OK, found.
>
> Checking 'scanext' SANE scanning extension...
> OK, found.
>
>
> -----------------
> | USB I/O SETUP |
> -----------------
>
>
> Checking for permissions of USB attached printers...
>
> HP Device 0x5611 at 001:002:
> warning: Device URI: (Makeuri FAILED)
> Device node: /dev/bus/usb/001/002
> Mode: 0664
> getfacl: Removing leading '/' from absolute path names
> # file: dev/bus/usb/001/002
> # owner: root
> # group: lp
> user::rw-
> group::rw-
> mask::rw-
> other::r--
>
>
>
> -----------
> | SUMMARY |
> -----------
>
> No errors or warnings.
>
> Done.
> =====
>
> And here's the output of `hp-scan` in the server (via SSH):
> =====
> HP Linux Imaging and Printing System (ver. 3.9.2)
> Scan Utility ver. 2.1
>
> Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
> This software comes with ABSOLUTELY NO WARRANTY.
> This is free software, and you are welcome to distribute it
> under certain conditions. See COPYING file for more details.
>
> Using device: hpaio:/usb/Photosmart_C3100_series?serial=MY66AB311V04P9
>
> warning: No destinations specified. Adding 'file' destination by default.
> warning: File destination enabled with no output file specified.
> Setting output format to JPEG for color/lineart mode.
> warning: Defaulting to '/home/gustavo/hpscan001.jpg'.
> error: Unable to locate device
> hpaio:/usb/Photosmart_C3100_series?serial=MY66AB311V04P9 using SANE backend
> hpaio:. Please check HPLIP installation.
> =====
>
> On the other hand, it's interesting that ports 161, 162 and 9001 aren't
> open, and I haven't installed a firewall yet. Here's the output of `sudo
> nmap localhost` via SSH:
> =====
> Starting Nmap 4.76 ( http://nmap.org ) at 2009-05-02 18:22 CEST
> Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
> Interesting ports on localhost (127.0.0.1):
> Not shown: 997 closed ports
> PORT STATE SERVICE
> 22/tcp open ssh
> 631/tcp open ipp
> 6566/tcp open unknown
>
> Nmap done: 1 IP address (1 host up) scanned in 0.12 seconds
> =====
>
> Finally, if I ignore the errors above and try to access the scanner from my
> laptop with `xsane -V hpaio:/net/Photosmart_C3100_series?ip=192.168.1.104`
> (I "invented" that URI based on the structure of those URIs and the name of
> the printer in my home server and its IP address), and window opens and I
> get this error:
> =====
> Failed to open device
> `hpaio:/net/Photosmart_C3100_series?ip=192.168.1.104`: Error during device
> I/O.
> =====
>
> What's going wrong? How can I fix this?
>
> Thanks in advance.
>
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Revision history for this message
Gustavo Narea (gnarea) said :
#2

Hello, dwelch91!

Thanks for your response.

The print server has an IP and ping works, but what doesn't work is the snmp-related command (`snmpwalk -Os -c public -v 1 192.168.1.104 1.3.6.1.4.1.11.2.3.9.1.1.7.0`), which returns: "Timeout: No Response from 192.168.1.104".

I've installed several snmp-related packages and restarted the system, but I've had no luck. Here's the output of `aptitude search snmp`:
=====
p gkrellm-snmp - snmp plug-in for GKrellM
v libgsnmp-dev -
p libgsnmp0 - an SNMP library implementation based on glib and gnet
p libgsnmp0-dev - an SNMP library implementation based on glib and gnet (dev
p libnet-snmp-perl - Script SNMP connections
v libsnmp -
i libsnmp-base - SNMP (Simple Network Management Protocol) MIBs and documen
i libsnmp-dev - SNMP (Simple Network Management Protocol) development file
p libsnmp-info-perl - Object Oriented Perl5 Interface to Network devices and MIB
p libsnmp-mib-compiler-perl - a MIB Compiler supporting SMIv1 and SMIv2
p libsnmp-multi-perl - Perform SNMP operations on multiple hosts simultaneously
i A libsnmp-perl - SNMP (Simple Network Management Protocol) Perl5 support
i libsnmp-python - SNMP (Simple Network Management Protocol) Python support
p libsnmp-ruby - simple network management protocol bindings for ruby
p libsnmp-ruby1.8 - simple network management protocol bindings for ruby 1.8
p libsnmp-session-perl - Perl support for accessing SNMP-aware devices
p libsnmp1.4-java - Open Source implementation of the SNMP protocol in Java
i libsnmp15 - SNMP (Simple Network Management Protocol) library
v libsnmp9-dev -
p libsnmpkit-dev - multithreaded SNMP connection library
p libsnmpkit2c2a - multithreaded SNMP connection library
p nagios-snmp-plugins - SNMP Plugins for nagios
p nut-snmp - A meta SNMP Driver subsystem for the nut - Network UPS Too
p openhpi-plugin-snmp-bc - OpenHPI plugin module for IBM's BladeCenter or RSA over SN
p openser-snmpstats-module - SNMP AgentX subagent module for OpenSER
p php5-snmp - SNMP module for php5
p python-pynetsnmp - Python ctypes bindings for NET-SNMP with Twisted integrati
i A python-pysnmp-common - Python SNMP library for agents and managers (version selec
p python-pysnmp-se - speed enhanced Python SNMP library for agents and managers
p python-pysnmp2 - Python SNMP library for agents and managers (stable branch
v python-pysnmp3 -
i python-pysnmp4 - Python SNMP library for agents and managers (unstable bran
i A python-pysnmp4-apps - Applications for the Python SNMP library
p python-pysnmp4-doc - Python SNMP library for agents and managers (unstable bran
i A python-pysnmp4-mibs - MIBs for the Python SNMP library
p python-twisted-snmp - SNMP implementation for the Twisted networking framework
v python2.4-pysnmp2 -
i snmp - SNMP (Simple Network Management Protocol) applications
i snmpd - SNMP (Simple Network Management Protocol) agents
p snmptrapfmt - A configurable snmp trap handler daemon for snmpd
p wmnd-snmp - Dockapp monitoring network interfaces
======

I have no idea on what to do next.

Also, ports 161, 162 and 9001 are still closed and there's no firewall installed. How can I make hplip listen on those ports?

Thank you.

Revision history for this message
dwelch91 (dwelch91) said :
#3

HPLIP uses SNMP to communicate with the printer, so if the snmpwalk doesn't
work, then HPLIP will not either. Generally, if snmpwalk doesn't work, its a
firewall on your PC or a router issue (filtering or blocking those ports).

On Sun, May 3, 2009 at 10:03 AM, Gustavo Narea <
<email address hidden>> wrote:

> Question #69636 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/69636
>
> Status: Answered => Open
>
> Gustavo Narea is still having a problem:
> Hello, dwelch91!
>
> Thanks for your response.
>
> The print server has an IP and ping works, but what doesn't work is the
> snmp-related command (`snmpwalk -Os -c public -v 1 192.168.1.104
> 1.3.6.1.4.1.11.2.3.9.1.1.7.0`), which returns: "Timeout: No Response
> from 192.168.1.104".
>
> I've installed several snmp-related packages and restarted the system, but
> I've had no luck. Here's the output of `aptitude search snmp`:
> =====
> p gkrellm-snmp - snmp plug-in for
> GKrellM
> v libgsnmp-dev -
> p libgsnmp0 - an SNMP library
> implementation based on glib and gnet
> p libgsnmp0-dev - an SNMP library
> implementation based on glib and gnet (dev
> p libnet-snmp-perl - Script SNMP
> connections
> v libsnmp -
> i libsnmp-base - SNMP (Simple Network
> Management Protocol) MIBs and documen
> i libsnmp-dev - SNMP (Simple Network
> Management Protocol) development file
> p libsnmp-info-perl - Object Oriented
> Perl5 Interface to Network devices and MIB
> p libsnmp-mib-compiler-perl - a MIB Compiler
> supporting SMIv1 and SMIv2
> p libsnmp-multi-perl - Perform SNMP
> operations on multiple hosts simultaneously
> i A libsnmp-perl - SNMP (Simple Network
> Management Protocol) Perl5 support
> i libsnmp-python - SNMP (Simple Network
> Management Protocol) Python support
> p libsnmp-ruby - simple network
> management protocol bindings for ruby
> p libsnmp-ruby1.8 - simple network
> management protocol bindings for ruby 1.8
> p libsnmp-session-perl - Perl support for
> accessing SNMP-aware devices
> p libsnmp1.4-java - Open Source
> implementation of the SNMP protocol in Java
> i libsnmp15 - SNMP (Simple Network
> Management Protocol) library
> v libsnmp9-dev -
> p libsnmpkit-dev - multithreaded SNMP
> connection library
> p libsnmpkit2c2a - multithreaded SNMP
> connection library
> p nagios-snmp-plugins - SNMP Plugins for
> nagios
> p nut-snmp - A meta SNMP Driver
> subsystem for the nut - Network UPS Too
> p openhpi-plugin-snmp-bc - OpenHPI plugin
> module for IBM's BladeCenter or RSA over SN
> p openser-snmpstats-module - SNMP AgentX subagent
> module for OpenSER
> p php5-snmp - SNMP module for php5
> p python-pynetsnmp - Python ctypes
> bindings for NET-SNMP with Twisted integrati
> i A python-pysnmp-common - Python SNMP library
> for agents and managers (version selec
> p python-pysnmp-se - speed enhanced
> Python SNMP library for agents and managers
> p python-pysnmp2 - Python SNMP library
> for agents and managers (stable branch
> v python-pysnmp3 -
> i python-pysnmp4 - Python SNMP library
> for agents and managers (unstable bran
> i A python-pysnmp4-apps - Applications for the
> Python SNMP library
> p python-pysnmp4-doc - Python SNMP library
> for agents and managers (unstable bran
> i A python-pysnmp4-mibs - MIBs for the Python
> SNMP library
> p python-twisted-snmp - SNMP implementation
> for the Twisted networking framework
> v python2.4-pysnmp2 -
> i snmp - SNMP (Simple Network
> Management Protocol) applications
> i snmpd - SNMP (Simple Network
> Management Protocol) agents
> p snmptrapfmt - A configurable snmp
> trap handler daemon for snmpd
> p wmnd-snmp - Dockapp monitoring
> network interfaces
> ======
>
> I have no idea on what to do next.
>
> Also, ports 161, 162 and 9001 are still closed and there's no firewall
> installed. How can I make hplip listen on those ports?
>
> Thank you.
>
> --
> You received this question notification because you are a member of HP
> Linux Imaging and Printing, which is an answer contact for HPLIP.
>

Can you help with this problem?

Provide an answer of your own, or ask Gustavo Narea for more information if necessary.

To post a message you must log in.