[cups-devel] [UNKN] STR #4626: Adding printer to Ubuntu

Mandy Taylor noreply at cups.org
Wed May 6 06:54:07 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

I have followed the instructions in cups and get this message following
inputting into terminal and I am unable to connect my printer.  I am using
Zorin OS 6.2 Core 64 bit.

I've got the printer working before but now it is refusing to print, in
spite of following all the known on-line procedures, including through the
Cups interface.  

My OS simply doesn't "locate" the USB port for the printer.

david at david-desktop:~$ CUPS_DEBUG_LEVEL=2 /usr/lib/cups/backend/snmp 2>&1 |
tee snmp.log
DEBUG: Scanning for devices in "public" via "@LOCAL"...
DEBUG: Sending get request to 192.168.1.255...
DEBUG: OUT Hex Dump (43 bytes):
DEBUG: OUT 0000: 30 29 02 01  00 04 06 70  75 62 6c 69  63 a0 1c 02   
0).....public...
DEBUG: OUT 0010: 01 01 02 01  00 02 01 00  30 11 30 0f  06 0b 2b 06   
........0.0...+.
DEBUG: OUT 0020: 01 02 01 19  03 02 01 02  01 05 00                   
...........
DEBUG: OUT Message:
DEBUG: OUT SEQUENCE 41 bytes
DEBUG: OUT     INTEGER 1 bytes 0
DEBUG: OUT     OCTET STRING 6 bytes "public"
DEBUG: OUT     Get-Request-PDU 28 bytes
DEBUG: OUT         INTEGER 1 bytes 1
DEBUG: OUT         INTEGER 1 bytes 0
DEBUG: OUT         INTEGER 1 bytes 0
DEBUG: OUT         SEQUENCE 17 bytes
DEBUG: OUT             SEQUENCE 15 bytes
DEBUG: OUT                 OID 11 bytes .1.3.6.1.2.1.25.3.2.1.2.1
DEBUG: OUT                 NULL VALUE 0 bytes
DEBUG: 2.002 Scan complete!
david at david-desktop:~$ (setenv CUPS_DEBUG_LEVEL 2;
/usr/lib/cups/backend/snmp) |& tee snmp.log
No command 'setenv' found, did you mean:
 Command 'netenv' from package 'netenv' (universe)
setenv: command not found
david at david-desktop:~$ snmpwalk -Cc -v 1 -c public ip-address | tee
snmpwalk.logThe program 'snmpwalk' is currently not installed.  You can
install it by typing:
sudo apt-get install snmp
david at david-desktop:~$ sudo apt-get install snmp
[sudo] password for david: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  gir1.2-timezonemap-1.0 gir1.2-json-1.0 gir1.2-xkl-1.0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  snmp
0 upgraded, 1 newly installed, 0 to remove and 588 not upgraded.
Need to get 162 kB of archives.
After this operation, 510 kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main snmp amd64
5.4.3~dfsg-2.4ubuntu1.2 [162 kB]
Fetched 162 kB in 1s (133 kB/s)
Selecting previously unselected package snmp.
(Reading database ... 168597 files and directories currently installed.)
Unpacking snmp (from .../snmp_5.4.3~dfsg-2.4ubuntu1.2_amd64.deb) ...
Processing triggers for man-db ...
Setting up snmp (5.4.3~dfsg-2.4ubuntu1.2) ...
david at david-desktop:~$ snmpwalk -Cc -v 1 -c public ip-address | tee
snmpwalk.loggetaddrinfo: ip-address No address associated with hostname
snmpwalk: Unknown host (ip-address) (Connection timed out)

Link: https://www.cups.org/str.php?L4626
Version: 2.0-current
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJVShz/AAoJENujp6sI12IjxD4P/1pvOWtQ9eVBcH2Wwt1myl5i
ggofDAzhxQNyV6h2Iq8SDz/ZSL+PWdLOacUe3Pm9iBYGagGG3YysL42HNv2L6jyu
p5rD6DpmmE3P8CdKYEasB9UyC4BIXcqnmVssi5Fmqj4d3CDF6WQwgKx6ODDfsQUw
hUuY3PZyl6rl5s9DextpakJA5yFhyF/Cw3dDvHIBN5v6+r0bn4n7WwPM/4WlPuVp
EQvSGBXL5+Ygb3uynZEW413nwkpOKqKq5CQ0RsUmZZyc1CwHzjuoLl89X/UAhfua
2xZA1D+Qg8TaLzZTaen1DLCB9a7LJqR6tENWa9vDxuDRp8ObLuc0JTbs8yQyWlp6
iLZsbh44QW1m83tPYlpuT8I8/tXN01stwhpxZJwv20HQSFPzi/m/fPbxZMo23gdY
R3q+Cyzu2gSVniJ6Ls32tWPHIVjfCNrzzkwO3JeXh+eV89hoCLNtOij1d3vtkpOQ
1d94ligoOTRu10XFTeGzf6WQOos28o3OQ+pifmX3tj1yaFBsWfJA+GJWvPmIujKU
igLycPT/fAxLWWtWrwJjXTpZ4dLQvsMOodtCNW1SoM7dcpYqpwVNw7YxOCVstjFa
AM1w3u7ywLCOlcgg6VyTSP9ILdE01LH7aCE+WWi1+0MgJQWbcRSVWN79MA9ao4+3
odYwgwMZeY+BFAIVY/Vu
=8eYY
-----END PGP SIGNATURE-----




More information about the cups-devel mailing list