From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UHKrBcNwTGHciAAAgWs5BA (envelope-from ) for ; Thu, 23 Sep 2021 14:19:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 6JNfAcNwTGEEFgAAB5/wlQ (envelope-from ) for ; Thu, 23 Sep 2021 12:19:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5007DDF07 for ; Thu, 23 Sep 2021 14:19:14 +0200 (CEST) Received: from localhost ([::1]:36258 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTNh1-0005oP-V9 for larch@yhetil.org; Thu, 23 Sep 2021 08:19:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTNgB-0005kA-8K for help-guix@gnu.org; Thu, 23 Sep 2021 08:18:19 -0400 Received: from flashner.co.il ([178.62.234.194]:38998) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTNg9-0005D0-El for help-guix@gnu.org; Thu, 23 Sep 2021 08:18:19 -0400 Received: from localhost (unknown [141.226.169.107]) by flashner.co.il (Postfix) with ESMTPSA id B0168401E7; Thu, 23 Sep 2021 12:18:15 +0000 (UTC) Date: Thu, 23 Sep 2021 15:16:49 +0300 From: Efraim Flashner To: Peter Subject: Re: Guix Printing Problems Message-ID: Mail-Followup-To: Peter , help-guix@gnu.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wVBxR94nF6HTlHnF" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, NUMERIC_HTTP_ADDR=1.242, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632399554; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=lGAMWBMr1B/1mAYadK9X1Ko+XW1Sn8mRaH/OZfsV3FY=; b=myRtyb7hBeC4f2jauL/IaEcteoaJJl3Quh6KO1+xCzTxT4ROpBQXDbjXf58iOsekpUGXjA 3ppBjqS5BFUJ1f/nJzR26TY+P55yZQjnwuMsqefv3Sj9rhav+6CfTB6hjPNEhg14v/o7jM x7FJ7tyU77jby2JFrtaIpRQe+lQPIxhSCT5v57seih+1BRtyAinIjLqxjbvu+gKPfBTvrJ JRLXgPpbSSYBkz6Udt33uITLln1/RaylO9o4GgmUhDxM3P5R3R8VL6q/C6xrSqHc4kSLAW Y+4kgpZT13DVO23gBe1fsGbdqSUzpsoVqu2EwkcPYOyRvzCOOBsFeDjfxqQaFw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632399554; a=rsa-sha256; cv=none; b=A+yGCsSCY1YXKVp8ap/MjzIpLF3ag0p8noF4kW66FPayxHOKgcCSFdEE4LckpCAQBO5ziT XGzTSDseK6HR9qgynuwhyQQbwopD5JWzZMHLoQPxSXr91qb4xy0QQSMQGeCyFsfviWApXP 53xlZmigOFK458zZMj6rPo3S78pJsVnspnvV1Cs6oqfadcdVyOb3MM2Zi8oJ1kfhuoDSPH SDJYUd1HB3SnPCA9RJxNT6zu3qcfdnai9TkjTgnIDkEzYEbgYuLgP1JRL/90q1YzuamWad xO64yPJk+2wLkmiBOO8drLB3vmOcVz0uHA0ct0TDFTaw+qq7FfQ0PqA+SqiRDw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.61 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 5007DDF07 X-Spam-Score: -4.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: iWxfhFTRsLfI --wVBxR94nF6HTlHnF Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 23, 2021 at 09:30:44PM +1000, Peter wrote: > Greetings! This is my first post. I hope I'm doing it right, and please f= orgive me if I'm not. >=20 > I have installed GUIX (including CUPS) onto a Lenovo ThinkCentre P520c, s= uccessfully except that I cannot print from within the Guix installation. I= have a trusty Brother HL-5350DN laser printer connected via ethernet to my= local network. Pointing the browser to http//:localhost:631 brings up a CU= PS interface, but produces an error message: "The web interface is currentl= y disabled. Run "cupsctl WebInterface=3Dyes" to enable it." I try that but = "command not found". Commands I have used like 'systemctl start cups.servic= e' etc don't work on Guix either. Is there a Guix equivalent? Attempts to e= nable the Web interface via the config.scm (GNU Guix Reference Manual 10.8.= 7) have also failed. >=20 > And yet: if I type the IP address of the printer '192.168.1.108' directly= into the browser, it shows up as "http://192.168.1.108/printer/main.html" = and I find myself in a Brother utility for the printer, from which I can su= ccessfully do a test print. The Brother utility has a number of screens: Ho= me Page, View Configuration, Maintenance Information, Find Device, Printer = Settings, Administrator Settings, Reset & Test, Network Configuration. >=20 > This ought to be encouraging, but when I attempt to print a working text = document (e.g. via Gedit) although the printer is listed (along with IP add= ress and all usual data) it says "Processing - Not connected?", despite the= system clearly knowing the address etc. >=20 > I set the printer up normally in Gnome Print Settings, but if I look at t= he View Print Queue, it says "Document Print Status: Processing - Not conne= cted?". If I go into Server Settings to check the 'Publish shared printers = connected to this system' setting the troubleshooter recommended, I get "CU= PS server error: There was an error during CUPS operation: 'Failed to set s= ettings'". Troubleshooting's final verdict is "There is no obvious solution= to this problem." >=20 > I'm foxed, and frustrated, and as a desperate work-round I have to ssh th= e file to another machine to be printed. By the way, I have successfully se= t up printing for MacOS, nixOS, Debian, and Arch, but GUIX (alone) fails to= find the printer, except via the Brother utility. >=20 > Any clues? I earnestly want this FSF-endorsed distribution to work. >=20 > I'm including my config.scm, and the troubleshooting report. >=20 Try adding yourself to the 'lp' group, under supplementary-groups. I have myself added to the lp and the lpadmin group, I can never remember which is the correct one. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --wVBxR94nF6HTlHnF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmFMcCkACgkQQarn3Mo9 g1HLAhAAwX6SkxUBqRM0L2tFquWpA72kVR3K5SsMXUBqhiDwrdr/qsnVnZhD3wn0 cW5SSqQ4eotjITTNRVtvrPrEx5cJyxb/5cwyqQwrl9fZbePTTXFBcBW/DuL+i90+ t6USfHEc6dLapIryvD2aPwMaMNJYady4yfBeNv0cDtqCSlJXIz16pCc3E7sN7JAU qMW+ZQEdljnO3oYDU2oMUx2DQhUzT7r85aXEHOgtWKvbiKG7u92gCQ+9JkV/Iq/Q EotXpvUZOYgZrZXBwnChQclIRZHb29rDIOwxj6eGrr3ZPNXk6E3cHk/uQqapCwlL kL1u8NJegPN6EL8WvFJsEjiuMkm9nNTE5cbFo5sJQW45hH6E9da1MeQxqhA6qmYo R5YdftZLT2a7DAGpmJD68p2y7W6IAjiT92yHMSUdPznEOg5v8YYOyNQinvKJlqQu 0Q0/cwkJDFFqjc+F+TPLFkbEqWaIQcVahVOQiB3hKkKdFw8JvD8IBbCpjDmlYYGh qVnKpuFhsmTo3cgpw2JbXqkO9KoUwOPjhgmjFijGqGQyv40Bzwco4DV5/tkbkEd4 uQO4AxbBmnrvDAGH8fZhwAnklbrszdyYfd2UB9VHDEXSnlYHA4/nQnkUUEK/pwZK oUnY+u5hWYiuIb3lx1UZGYncNpR0Z13H1SUaxio50Mhenf7vvYc= =6Dtc -----END PGP SIGNATURE----- --wVBxR94nF6HTlHnF--