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 3269C1382C5 for ; Tue, 30 Jun 2020 09:17:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9B6D9E0909; Tue, 30 Jun 2020 09:17:08 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40F53E08B0 for ; Tue, 30 Jun 2020 09:17:07 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id B05DB659C8E8 for ; Tue, 30 Jun 2020 10:17:05 +0100 (BST) X-ASG-Debug-ID: 1593508624-05541315a737d04f0001-LfjuLa Received: from cloud307.thundercloud.uk (cloud307.thundercloud.uk [149.255.58.40]) by mailgw01.thundermail.uk with ESMTP id ignvEdt5mNDMgzVw (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 30 Jun 2020 10:17:05 +0100 (BST) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Apparent-Source-IP: 149.255.58.40 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud307.thundercloud.uk (Postfix) with ESMTPSA id 2725AC896B0 for ; Tue, 30 Jun 2020 10:17:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1593508624; bh=y6LIOwrVXY0nBdh2puCpqKbWOAC9ZmZiaeOCZUCcoYA=; h=From:To:Subject; b=WOBFoZUG7tup909HH6VnSsdvTVPVt2L39IvRZmawh9ymCBNK4CyN2Ra/sQNc500c+ mHzKPq6ZmczmsX0gRceivWkFtiqwTo+Ct9wZLF7S5YHEs1GckU+fFrpIm86rfG6D8h 5eoT7QbHhnnrnZEjekadcoEE7Q9NEfY9HNo9cZB8= Authentication-Results: cloud307.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=lenovo.localdomain Received-SPF: pass (cloud307.thundercloud.uk: connection is authenticated) From: Michael To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] upstream broke cups network printing... Date: Tue, 30 Jun 2020 10:16:40 +0100 X-ASG-Orig-Subj: Re: [gentoo-user] upstream broke cups network printing... Message-ID: <8618157.CDJkKcVGEf@lenovo.localdomain> In-Reply-To: References: 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-Type: multipart/signed; boundary="nextPart2994294.5fSG56mABF"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <20200630091704.2518719.88555@cloud307.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Start-Time: 1593508624 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 3236 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.82908 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: 47c1309f-b6ff-465b-bc37-f3d666f50048 X-Archives-Hash: 429b2eff240728f75923afd4d65092ba --nextPart2994294.5fSG56mABF Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Tuesday, 30 June 2020 04:51:03 BST Alan Grimes wrote: > I was sitting smug and happy thinking I could print from either of my > computers to the laserjet printer downstairs. So therefore when I need > to RMA my mobo and need to print out the forms, it doesn't work. > > The sack of crap seems to think it can connect to the printer using: > > Connection: > dnssd://HP%20Color%20LaserJet%20Pro%20M453-4%20%5B804AC2%5D._ipp._tcp.local/ > ?uuid=beff9c81-55ea-548f-5867-4d44f4da191e You must have enabled DNSSD (DNS Service Discovery) on your systems, whereby DNS packets are sent/received for the purpose of scanning your LAN and discovering various network services, including network printers, media servers, torrents, etc. DNSSD is also known as zeroconf and from what I understand was derived from Apple's Rendezvous/Bonjour. The Linux equivalent is Avahi (for server) and nss-mdns (for clients), but systemd had to re-engineer everything into its own stack as 'systemd- resolved', which uses the MSWindows preferred LLMNR. This is all great if you trust the devices in your LAN not to spoof names and intercept your communications, or if LAN side network services pop-up and down all the time and you want to have them autoconfigured for use by your LAN clients. > Why in god's name does CPUS think that would work, ofcourse I'm going to > get: in my error log.... > > E [29/Jun/2020:18:39:40 -0400] [CGI] Unable to resolve > \"dnssd://HP%20Color%20LaserJet%20Pro%20M453-4%20%5B804AC2%5D._ipp._tcp.loca > l/?uuid=beff9c81-55ea-548f-5867-4d44f4da191e|HP Color LaserJet Pro> > > > Naturally, there is no other way to configure this crap with the web > interface, there are some on-line manpages but they're written in > moonspeak. =( You do not need network services autoconfiguration, which is is what the dnssd:// URI is trying to achieve, unless printers are added and removed in your LAN on a regular basis with different IP addresses, different client PCs and devices are connected and disconnected all the time and you expect them all to discover network services automatically. In your case, cups is trying to do what you have specified, by enabling of failing to disable a particular USE flag. If you emerged net-print/cups and net-print/cups-filters with USE="zeroconf" enabled you'll get what you got. If you disable it you will arrive at a client-printer combo where you have to manually configure the connection and driver, at least on the client side. Since this is an HP printer, I think you'll need the hplip driver, so check you have this emerged: https://wiki.gentoo.org/wiki/HPLIP Finally, configure your clients to use the printer: https://wiki.gentoo.org/wiki/Printing TL;DR: Stop the cupsd service on your PC. Open and edit "/etc/cups/ printers.conf" file, changing the DeviceURI: DeviceURI ipp://12.345.678.9/ipp/print Where '12.345.678.9' is the statically configured IP address of your printer on your LAN, the '.../ipp/' and '.../print' may or may not be needed - try and see what you get. Restart you cupsd and try to print. Others who use this printer may chime in with specifics. --nextPart2994294.5fSG56mABF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAl77AvgACgkQseqq9sKV ZxlLkhAAw54PxWQ3VzsqH0Gbd2M8soQhkKS40NgsXqJS0jBji+QhbKHv205fFofQ 6HH7jOZFPlDh0jkXDlK6NfpsGzMEwb0cgAerulfjG8wo6In0Znginz6i2VS3p+Xl jacORH0rXlrmyL78AKg0m7W/o0iGXt+ySisqrbWDxgTCgzB7RG1uyIuPKl0PLdLo woAMSbvimyDNe8vx5SSBrWEb46/ifLjiYuGS7NACDxvYcl1gEegFfZoWq2c5ZZRd miUZhZmyboGK+Xq7guYD6co/O2OV1TIQ88yleDfq/Cm7JPI41h06XMrEjUbvM7tH PkagVJ44Fdllh5BI7f/J52VwoEnJwehkereJZHiwmROrqLu2cocZuthair0qM/pj h4vW6yGEA0Y0jXkglRlDXpCtyGRRkp++VJQ796BkkBUhDCZcny774kZ0LcHefh5B 2/4zPelcAfRT59fDtJ38cC+MZagqBY4jEVUeCpD4BnANt1LsiweX+lNY8ljBe82E aMHBhUtRjEILdWh0MOKmKkK/Hl0NIJ2H5yPwg9RBroFsZ9ELpoy3A9kg5D4A1qJg zHG1IdZcTnPQkW1C3k45GrSmGK+bKmq8/JAxqfPVrWzlI2LzkHuiuKFJQZlFTHj9 9sB95O03hs0HDXnM6kLEZRxv1Gz8ZkyMHpjGX3fPlbdvsLxs6b8= =NrWJ -----END PGP SIGNATURE----- --nextPart2994294.5fSG56mABF--