From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DD87513835A for ; Fri, 30 Oct 2020 11:20:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CEBFEE087A; Fri, 30 Oct 2020 11:20:07 +0000 (UTC) Received: from smarthost03d.mail.zen.net.uk (smarthost03d.mail.zen.net.uk [212.23.1.23]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 749D1E0870 for ; Fri, 30 Oct 2020 11:20:07 +0000 (UTC) Received: from [82.69.80.10] (helo=peak.localnet) by smarthost03d.mail.zen.net.uk with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1kYSRx-000820-QW for gentoo-user@lists.gentoo.org; Fri, 30 Oct 2020 11:20:05 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Network printer not being found Date: Fri, 30 Oct 2020 11:20:05 +0000 Message-ID: <9795641.nUPlyArG6x@peak> In-Reply-To: <1850536.yKVeVyVuyW@lenovo.localdomain> References: <3083336.44csPzL39Z@peak> <1850536.yKVeVyVuyW@lenovo.localdomain> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Originating-smarthost03d-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 8c72cce1-13f9-4a6e-a91a-d0c6b40b3b17 X-Archives-Hash: 927dc7e810a9dfd69042899001db6e81 [Some snipping] On Thursday, 29 October 2020 19:25:47 GMT Michael wrote: > On Thursday, 29 October 2020 14:16:17 GMT Peter Humphrey wrote: > > Before my trials with booting, and eventually rebuilding everything from > > the ground up, my Lexmark C2425 printer was working fine. Now the KDE > > system settings printer applet can't detect it, even though pinging it > > works. > Is the IP address of the printer the same? Yes. > When you 'nmap -A -T4 -Pn -v ' do you see open ports? It should > offer 80, 443, 515, 9100, 631 depending on the protocols it uses. It offers 21, 80, 443, 515, 631, 4000, 5001, 9100 and 9500. > > Then when I point firefox to localhost:631 cups's behaviour has changed. > > If > > I click Adding Printers and Classes, instead of a dialogue to let me add a > > printer I now get a help page telling me how to do it at the command line. > > Hmm ... something must be amiss in your setup. When I go to the > Administration tab and click to add another printer the familiar cupsd GUI > offers various protocols to choose from. Have you set USE="X"? That's my fault. I didn't read the display properly. Now, seeing straight(er) Find New Printers doesn't find any, and Add Printer just gives me the usual manual methods of declaring the printer. Emerge -pv gives me this: net-print/cups-2.3.3-r1::gentoo USE="X acl dbus pam ssl threads usb -debug - kerberos -lprng-compat (-selinux) -static-libs -systemd -xinetd -zeroconf" ABI_X86="(64) -32 (-x32)" > > Even if I do manage to add the printer, cups reports that it isn't > > responding. I take this to mean I'm not using the right protocol. I've > > tried IPP, IPPS, HTTP and HTTPS, following that help page. > > You haven't locked down the printer itself to limit which IP addresses it > will allow connections from? Not knowingly. I haven't seen anything on the printer to suggest I can do that. > Have a look here in case there is some step you've missed out: > > https://wiki.gentoo.org/wiki/Printing Yes, I've done that. > Cups usually captures informative logs and you can set increased verbosity > for more detail. What do these logs report? Ah! I think it's a pam problem: permission denied. I am in the lp group though. Do I also need to be in the lpadmin group? I never have been before. -- Regards, Peter.