Description of problem: Couldn't add printer from gnome-control-center printers applet, but I can add printer by old way by using system-config-printer.
Created attachment 549800 [details] gnome-control-center printers applet
Created attachment 549801 [details] system-config-printer
Hi Mikhail, have you checked the "Search by Address" checkbox? Also, is it possible that your firewall blocks discovery of the printer? Regards Marek
Yes, of course I tried also set "Search by Address" checkbox, but my network printer still not detected. How I can check my firewall? You means Fedora's internal firewall?
For the firewall, you can check whether you have checked these ports/services in system-config-firewall: 5353 - mdns 631 - ipp-client, ipp 137, 138 - samba-client You can also check whether you have something like this: -A INPUT -m state --state NEW -m udp -p udp --dport 631 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 631 -j ACCEPT in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables for these ports. You can also check another thing. Could you past here result of this command?: "/usr/lib/cups/backend/snmp 10.10.8.190"
Created attachment 555481 [details] firewall configuration
(In reply to comment #5) > For the firewall, you can check whether you have checked these ports/services > in system-config-firewall: > > 5353 - mdns > 631 - ipp-client, ipp > 137, 138 - samba-client > > You can also check whether you have something like this: > > -A INPUT -m state --state NEW -m udp -p udp --dport 631 -j ACCEPT > -A INPUT -m state --state NEW -m tcp -p tcp --dport 631 -j ACCEPT > > in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables for these ports. Firewall configuration seems Ok, please see screenshot. > You can also check another thing. Could you past here result of this command?: > "/usr/lib/cups/backend/snmp 10.10.8.190" [mikhail@telecon17l ~]$ /usr/lib/cups/backend/snmp 10.10.8.190 network "Kyocera FS-1118MFP" "FS-1118MFP" "ID:FS-1118MFP;MFG:Kyocera;CMD:PCLXL,PostScript Emulation,PCL5E,PJL;MDL:FS-1118MFP;CLS:PRINTER;DES:Kyocera FS-1118MFP;" ""
Hi Mikhail, I see where the problem is now. The snmp backend doesn't return information about URI of the printer. gnome-control-center expects URI as the second string in the output. I'm reassigning this to CUPS for now to let CUPS maintainers figure out what is happening here. gnome-control-center expects this output: device-class device-uri device-make-and-model device-info {device-id device-location}. If the behaviour of the snmp backend is correct then reassign it back please and I will try to fix it. Regards Marek
Oh dear: what's happening is that the URI is the empty string (note the two spaces after "network"). Please run this command: CUPS_DEBUG_LEVEL=1 /usr/lib/cups/backend/snmp 10.10.8.190
(In reply to comment #9) > Oh dear: what's happening is that the URI is the empty string (note the two > spaces after "network"). > > Please run this command: > > CUPS_DEBUG_LEVEL=1 /usr/lib/cups/backend/snmp 10.10.8.190 [mikhail@telecon17l ~]$ CUPS_DEBUG_LEVEL=1 /usr/lib/cups/backend/snmp 10.10.8.190 DEBUG: Scanning for devices in "public" via "10.10.8.190"... DEBUG: Sending get request to 10.10.8.190... 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: IN Message: DEBUG: IN SEQUENCE 50 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 37 bytes DEBUG: IN INTEGER 1 bytes 1 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN SEQUENCE 26 bytes DEBUG: IN SEQUENCE 24 bytes DEBUG: IN OID 11 bytes .1.3.6.1.2.1.25.3.2.1.2.1 DEBUG: IN OID 9 bytes .1.3.6.1.2.1.25.3.1.5 DEBUG: 0.006 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=1 DEBUG: error-status=0 DEBUG: add_cache(addr=0xbfdda174, addrname="10.10.8.190", uri="(null)", id="(null)", make_and_model="(null)") 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 2 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.3.1 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 45 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 32 bytes DEBUG: OUT INTEGER 1 bytes 4 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 21 bytes DEBUG: OUT SEQUENCE 19 bytes DEBUG: OUT OID 15 bytes .1.3.6.1.4.1.2699.1.2.1.2.1.1.3.1 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 46 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 33 bytes DEBUG: OUT INTEGER 1 bytes 5 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 22 bytes DEBUG: OUT SEQUENCE 20 bytes DEBUG: OUT OID 16 bytes .1.3.6.1.4.1.2699.1.2.1.3.1.1.4.1.1 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 38 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 25 bytes DEBUG: OUT INTEGER 1 bytes 3 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 14 bytes DEBUG: OUT SEQUENCE 12 bytes DEBUG: OUT OID 8 bytes .1.3.6.1.2.1.1.6.0 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 43 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 30 bytes DEBUG: OUT INTEGER 1 bytes 6 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 19 bytes DEBUG: OUT SEQUENCE 17 bytes DEBUG: OUT OID 13 bytes .1.3.6.1.4.1.641.2.1.2.1.2.1 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 46 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 33 bytes DEBUG: OUT INTEGER 1 bytes 6 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 22 bytes DEBUG: OUT SEQUENCE 20 bytes DEBUG: OUT OID 16 bytes .1.3.6.1.4.1.674.10898.100.2.1.2.1.2.1 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 43 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 30 bytes DEBUG: OUT INTEGER 1 bytes 4 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 19 bytes DEBUG: OUT SEQUENCE 17 bytes DEBUG: OUT OID 13 bytes .1.3.6.1.4.1.641.2.1.2.1.3.1 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 44 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 31 bytes DEBUG: OUT INTEGER 1 bytes 4 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 20 bytes DEBUG: OUT SEQUENCE 18 bytes DEBUG: OUT OID 14 bytes .1.3.6.1.4.1.367.3.2.1.1.1.11.0 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 43 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 30 bytes DEBUG: OUT INTEGER 1 bytes 6 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 19 bytes DEBUG: OUT SEQUENCE 17 bytes DEBUG: OUT OID 13 bytes .1.3.6.1.4.1.128.2.1.3.1.2.0 DEBUG: OUT NULL VALUE 0 bytes DEBUG: OUT Message: DEBUG: OUT SEQUENCE 43 bytes DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT OCTET STRING 6 bytes "public" DEBUG: OUT Get-Request-PDU 30 bytes DEBUG: OUT INTEGER 1 bytes 4 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT INTEGER 1 bytes 0 DEBUG: OUT SEQUENCE 19 bytes DEBUG: OUT SEQUENCE 17 bytes DEBUG: OUT OID 13 bytes .1.3.6.1.4.1.11.2.3.9.1.1.7.0 DEBUG: OUT NULL VALUE 0 bytes DEBUG: IN Message: DEBUG: IN SEQUENCE 51 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 38 bytes DEBUG: IN INTEGER 1 bytes 2 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN SEQUENCE 27 bytes DEBUG: IN SEQUENCE 25 bytes DEBUG: IN OID 11 bytes .1.3.6.1.2.1.25.3.2.1.3.1 DEBUG: IN OCTET STRING 10 bytes "FS-1118MFP" DEBUG: 0.013 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=2 DEBUG: error-status=0 DEBUG: IN Message: DEBUG: IN SEQUENCE 165 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 151 bytes DEBUG: IN INTEGER 1 bytes 4 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN SEQUENCE 139 bytes DEBUG: IN SEQUENCE 136 bytes DEBUG: IN OID 15 bytes .1.3.6.1.4.1.2699.1.2.1.2.1.1.3.1 DEBUG: IN OCTET STRING 117 bytes "ID:FS-1118MFP;MFG:Kyocera;CMD:PCLXL,PostScript Emulation,PCL5E,PJL;MDL:FS-1118MFP;CLS:PRINTER;DES:Kyocera FS-1118MFP;" DEBUG: 0.021 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=4 DEBUG: error-status=0 DEBUG: IN Message: DEBUG: IN SEQUENCE 47 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 34 bytes DEBUG: IN INTEGER 1 bytes 5 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN SEQUENCE 23 bytes DEBUG: IN SEQUENCE 21 bytes DEBUG: IN OID 16 bytes .1.3.6.1.4.1.2699.1.2.1.3.1.1.4.1.1 DEBUG: IN OCTET STRING 1 bytes "" DEBUG: 0.028 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=5 DEBUG: error-status=0 DEBUG: IN Message: DEBUG: IN SEQUENCE 38 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 25 bytes DEBUG: IN INTEGER 1 bytes 3 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN SEQUENCE 14 bytes DEBUG: IN SEQUENCE 12 bytes DEBUG: IN OID 8 bytes .1.3.6.1.2.1.1.6.0 DEBUG: IN OCTET STRING 0 bytes "" DEBUG: 0.030 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=3 DEBUG: error-status=0 DEBUG: IN Message: DEBUG: IN SEQUENCE 43 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 30 bytes DEBUG: IN INTEGER 1 bytes 6 DEBUG: IN INTEGER 1 bytes 2 DEBUG: IN INTEGER 1 bytes 1 DEBUG: IN SEQUENCE 19 bytes DEBUG: IN SEQUENCE 17 bytes DEBUG: IN OID 13 bytes .1.3.6.1.4.1.641.2.1.2.1.2.1 DEBUG: IN NULL VALUE 0 bytes DEBUG: 0.032 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=6 DEBUG: error-status=2 DEBUG: IN Message: DEBUG: IN SEQUENCE 46 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 33 bytes DEBUG: IN INTEGER 1 bytes 6 DEBUG: IN INTEGER 1 bytes 2 DEBUG: IN INTEGER 1 bytes 1 DEBUG: IN SEQUENCE 22 bytes DEBUG: IN SEQUENCE 20 bytes DEBUG: IN OID 16 bytes .1.3.6.1.4.1.674.10898.100.2.1.2.1.2.1 DEBUG: IN NULL VALUE 0 bytes DEBUG: 0.035 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=6 DEBUG: error-status=2 DEBUG: IN Message: DEBUG: IN SEQUENCE 43 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 30 bytes DEBUG: IN INTEGER 1 bytes 4 DEBUG: IN INTEGER 1 bytes 2 DEBUG: IN INTEGER 1 bytes 1 DEBUG: IN SEQUENCE 19 bytes DEBUG: IN SEQUENCE 17 bytes DEBUG: IN OID 13 bytes .1.3.6.1.4.1.641.2.1.2.1.3.1 DEBUG: IN NULL VALUE 0 bytes DEBUG: 0.037 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=4 DEBUG: error-status=2 DEBUG: IN Message: DEBUG: IN SEQUENCE 44 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 31 bytes DEBUG: IN INTEGER 1 bytes 4 DEBUG: IN INTEGER 1 bytes 2 DEBUG: IN INTEGER 1 bytes 1 DEBUG: IN SEQUENCE 20 bytes DEBUG: IN SEQUENCE 18 bytes DEBUG: IN OID 14 bytes .1.3.6.1.4.1.367.3.2.1.1.1.11.0 DEBUG: IN NULL VALUE 0 bytes DEBUG: 0.040 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=4 DEBUG: error-status=2 DEBUG: IN Message: DEBUG: IN SEQUENCE 43 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 30 bytes DEBUG: IN INTEGER 1 bytes 6 DEBUG: IN INTEGER 1 bytes 2 DEBUG: IN INTEGER 1 bytes 1 DEBUG: IN SEQUENCE 19 bytes DEBUG: IN SEQUENCE 17 bytes DEBUG: IN OID 13 bytes .1.3.6.1.4.1.128.2.1.3.1.2.0 DEBUG: IN NULL VALUE 0 bytes DEBUG: 0.043 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=6 DEBUG: error-status=2 DEBUG: IN Message: DEBUG: IN SEQUENCE 163 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 149 bytes DEBUG: IN INTEGER 1 bytes 4 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN SEQUENCE 137 bytes DEBUG: IN SEQUENCE 134 bytes DEBUG: IN OID 13 bytes .1.3.6.1.4.1.11.2.3.9.1.1.7.0 DEBUG: IN OCTET STRING 117 bytes "ID:FS-1118MFP;MFG:Kyocera;CMD:PCLXL,PostScript Emulation,PCL5E,PJL;MDL:FS-1118MFP;CLS:PRINTER;DES:Kyocera FS-1118MFP;" DEBUG: 0.049 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=4 DEBUG: error-status=0 network "Kyocera FS-1118MFP" "FS-1118MFP" "ID:FS-1118MFP;MFG:Kyocera;CMD:PCLXL,PostScript Emulation,PCL5E,PJL;MDL:FS-1118MFP;CLS:PRINTER;DES:Kyocera FS-1118MFP;" "" DEBUG: 4.053 Scan complete! [mikhail@telecon17l ~]$
Thanks. This is the problem: DEBUG: IN Message: DEBUG: IN SEQUENCE 47 bytes DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN OCTET STRING 6 bytes "public" DEBUG: IN Get-Response-PDU 34 bytes DEBUG: IN INTEGER 1 bytes 5 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN INTEGER 1 bytes 0 DEBUG: IN SEQUENCE 23 bytes DEBUG: IN SEQUENCE 21 bytes DEBUG: IN OID 16 bytes .1.3.6.1.4.1.2699.1.2.1.3.1.1.4.1.1 DEBUG: IN OCTET STRING 1 bytes "" DEBUG: 0.028 Received data from 10.10.8.190... DEBUG: community="public" DEBUG: request-id=5 DEBUG: error-status=0 The SNMP response for a UriOID request was a single nul byte.
cups-1.5.2-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/cups-1.5.2-1.fc16
Package cups-1.5.2-1.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cups-1.5.2-1.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-1381/cups-1.5.2-1.fc16 then log in and leave karma (feedback).
(In reply to comment #13) > Package cups-1.5.2-1.fc16: > * should fix your issue, > * was pushed to the Fedora 16 testing repository, > * should be available at your local mirror within two days. > Update it with: > # su -c 'yum update --enablerepo=updates-testing cups-1.5.2-1.fc16' > as soon as you are able to. > Please go to the following url: > https://admin.fedoraproject.org/updates/FEDORA-2012-1381/cups-1.5.2-1.fc16 > then log in and leave karma (feedback). mikhail@ao521:~$ su -c 'yum update --enablerepo=updates-testing cups-1.5.2-1.fc16' Password: Loaded plugins: langpacks, presto, refresh-packagekit Setting up Update Process No Match for argument: cups-1.5.2-1.fc16 No package cups-1.5.2-1.fc16 available. No Packages marked for Update mikhail@ao521:~$ What is wrong?
Hi Mikhail, the update is not yet available on the mirror you use. You should wait the 2 days as mentioned in the comment #13. Regards Marek
Seems that fixed in cups-1.5.2-1. Now I can add printer from gnome-control-center when set "Search by Address" checkbox. Thanks.
cups-1.5.2-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.