From owner-freebsd-questions@freebsd.org Fri Aug 7 07:03:18 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B39069B5005 for ; Fri, 7 Aug 2015 07:03:18 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46EEF1DEE for ; Fri, 7 Aug 2015 07:03:17 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.15.2/8.15.2) with ESMTPS id t7773Bno040168 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 7 Aug 2015 09:03:11 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.15.2/8.15.2/Submit) with ESMTP id t7773BiF040165; Fri, 7 Aug 2015 09:03:11 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 7 Aug 2015 09:03:11 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Lars Eighner cc: freebsd-questions@freebsd.org Subject: Re: Highest version with VGA fonts In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.fig.ol.no Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 07:03:18 -0000 On Fri, 7 Aug 2015 03:40-0500, Lars Eighner wrote: > What is the highest version of FreeBSD which still uses VGA fonts and CONS* > consoles (i.e. no raster fonts, no unicode, plain old iso-8859-1) in plain > text mode? > > > Is there a BSD branch that is sticking with true text consoles? If you want to enforce the old syscons console in 10 onwards, try adding this line to /boot/loader.conf: kern.vty="sc" -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-questions@freebsd.org Fri Aug 7 07:49:13 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9D9EE9B5CA1 for ; Fri, 7 Aug 2015 07:49:13 +0000 (UTC) (envelope-from ac@acampbell.uk) Received: from shcp05.hosting.zen.net.uk (shcp05.hosting.zen.net.uk [82.71.205.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 650E6118E for ; Fri, 7 Aug 2015 07:49:13 +0000 (UTC) (envelope-from ac@acampbell.uk) Received: from [88.97.55.211] (port=30067 helo=localhost) by shcp05.hosting.zen.net.uk with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85) (envelope-from ) id 1ZNcOp-000YRO-7f for freebsd-questions@freebsd.org; Fri, 07 Aug 2015 08:49:09 +0100 Date: Fri, 7 Aug 2015 08:49:08 +0100 From: Anthony Campbell To: freebsd-questions@freebsd.org Subject: Re: Permissions problem for sane Message-ID: <20150807074908.GA4962@ithaca.acampbell.uk> Mail-Followup-To: Anthony Campbell , freebsd-questions@freebsd.org References: <20150806104335.GA27748@ithaca.acampbell.uk> <1876444.Yqz8SnZpVd@desk8.phess.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1876444.Yqz8SnZpVd@desk8.phess.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-OutGoing-Spam-Status: No, score=-2.9 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shcp05.hosting.zen.net.uk X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - acampbell.uk X-Get-Message-Sender-Via: shcp05.hosting.zen.net.uk: authenticated_id: ac@acampbell.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Aug 2015 07:49:13 -0000 On 06 Aug 2015, Patrick Hess wrote: > Anthony Campbell wrote: > > Should I modify the permissions on /dev/ugen0.2? > > In contrast to what many other people might suggest, I'm personally not > a big fan of providing users broad access to all kinds of device nodes. > So instead of messing around with permissions, I prefer to make use of > the saned(8) network daemon. > > This is actually pretty straightforward to set up. You'll need to add > these two lines to your /etc/rc.conf: > > saned_enable="YES" > saned_uid="root" > > Now either reboot the machine or run the following command to start > the network daemon right away: > > # service saned start > > Then add the following line to /usr/local/etc/sane.d/net.conf: > > localhost > > Any non-privileged user should now be able to access the scanner. > For starters, try to get a list of scanners available on the server: > > > scanimage -L > device `net:localhost:plustek:libusb:/dev/usb:/dev/ugen1.2' > is a Canon CanoScan N1240U/LiDE30 flatbed scanner > > The nice part about using saned(8) is that you can easily make the > scanner available to other machines on the network. Just add your > network to the server's /usr/local/etc/sane.d/saned.conf and then > add an entry for the server to the /usr/local/etc/sane.d/net.conf > on each of the clients. > Thanks very much for this - yes, it works with scanimage -L and xsane, which was the point of this exercise. I'm also grateful to everyone else who has replied to this thread. I'd like to endorse Warren Block's appeal to have this included in the Handbook; it would have saved me a lot of time. (Incidentally, sane-find-scanner seems to be buggy: it still doesn't work as user, while as root it finds not only my Epson scanner but another scanner which I don't have at all!) -- Anthony Campbell http://www.acampbell.uk