1 |
On Thursday, 29 October 2020 14:16:17 GMT Peter Humphrey wrote: |
2 |
> Afternoon all, |
3 |
> |
4 |
> Before my trials with booting, and eventually rebuilding everything from the |
5 |
> ground up, my Lexmark C2425 printer was working fine. Now the KDE system |
6 |
> settings printer applet can't detect it, even though pinging it works. |
7 |
|
8 |
Is the IP address of the printer the same? |
9 |
|
10 |
When you 'nmap -A -T4 -Pn -v <PRINTER_IP>' do you see open ports? It should |
11 |
offer 80, 443, 515, 9100, 631 depending on the protocols it uses. |
12 |
|
13 |
|
14 |
> Then when I point firefox to localhost:631 cups's behaviour has changed. If |
15 |
> I click Adding Printers and Classes, instead of a dialogue to let me add a |
16 |
> printer I now get a help page telling me how to do it at the command line. |
17 |
|
18 |
Hmm ... something must be amiss in your setup. When I go to the |
19 |
Administration tab and click to add another printer the familiar cupsd GUI |
20 |
offers various protocols to choose from. Have you set USE="X"? |
21 |
|
22 |
Bear in mind, I don't use any network upnp autoconfiguration service on my LAN |
23 |
and therefore my use flags may be different to yours: |
24 |
|
25 |
$ equery u cups |
26 |
[ Legend : U - final flag setting for installation] |
27 |
[ : I - package is installed with flag ] |
28 |
[ Colors : set, unset ] |
29 |
* Found these USE flags for net-print/cups-2.3.3-r1: |
30 |
U I |
31 |
+ + X : Add support for X11 |
32 |
- - abi_x86_32 : 32-bit (x86) libraries |
33 |
+ + acl : Add support for Access Control Lists |
34 |
+ + dbus : Enable dbus support for anything that needs it (gpsd, |
35 |
gnomemeeting, etc) |
36 |
- - debug : Enable extra debug codepaths, like asserts and extra |
37 |
output. If you want to get meaningful backtraces see https://wiki.gentoo.org/ |
38 |
wiki/Project:Quality_Assurance/Backtraces |
39 |
- - kerberos : Add kerberos support |
40 |
- - lprng-compat : Do not install lp... binaries so cups and lprng can |
41 |
coexist. |
42 |
+ + pam : Add support for PAM (Pluggable Authentication Modules) - |
43 |
DANGEROUS to arbitrarily flip |
44 |
+ + ssl : Add support for SSL/TLS connections (Secure Socket Layer / |
45 |
Transport Layer Security) |
46 |
- - static-libs : Build static versions of dynamic libraries as well |
47 |
- - systemd : Enable use of systemd-specific libraries and features like |
48 |
socket activation or session tracking |
49 |
+ + threads : Add threads support for various packages. Usually pthreads |
50 |
+ + usb : Add USB support to applications that have optional USB |
51 |
support (e.g. cups) |
52 |
- - xinetd : Add support for the xinetd super-server |
53 |
- - zeroconf : Support for DNS Service Discovery (DNS-SD) |
54 |
|
55 |
|
56 |
> Even if I do manage to add the printer, cups reports that it isn't |
57 |
> responding. I take this to mean I'm not using the right protocol. I've |
58 |
> tried IPP, IPPS, HTTP and HTTPS, following that help page. |
59 |
|
60 |
You haven't locked down the printer itself to limit which IP addresses it will |
61 |
allow connections from? |
62 |
|
63 |
Have a look here in case there is some step you've missed out: |
64 |
|
65 |
https://wiki.gentoo.org/wiki/Printing |
66 |
|
67 |
|
68 |
> Package.use is the same as before, and I've tried with cups-browsed both |
69 |
> running and not. |
70 |
> |
71 |
> What am I missing? |
72 |
|
73 |
Cups usually captures informative logs and you can set increased verbosity for |
74 |
more detail. What do these logs report? |