> From [EMAIL PROTECTED] Wed Oct 15 05:55:52 2003
> Date: Wed, 15 Oct 2003 07:35:20 -0400 (EDT)
> From: [EMAIL PROTECTED]
> To: [EMAIL PROTECTED]
> Subject: LPRng: config problem
>
>   This message is in MIME format.  The first part should be readable text,
>   while the remaining parts are likely unreadable without MIME-aware tools.
>   Send mail to [EMAIL PROTECTED] for more info.
>
> ---2133782560-730014112-1066217720=:2793
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
> Please forgive my ignorance as I am new to this software.  I am trying to
> configure lprng on FreeBSD 5.1 release.  I built the software from ports
> (lprng, lprngtools, and the filter).  Everything seemed to compile and
> install fine.  However, the first problem I ran into was this.  When I
> execute checkpc I get this message:
>
> bash-2.05b# checkpc -f
> Warning - brother: cannot open lp device '/dev/lpt0' - Permission denied
>
>
> I have been through the manual several times, and while it mentions this
> message being serious it does not explain how to correct it.  So, I'm
> stuck at this point.  I have attached a screenshot file withe the
> LPRngtool running in the hopes that this will provide info to help
> troubleshoot the problem.  Please let me know if any other info is needed
> to diagnose the problem.  The printer I'm trying to configure is a Brother
> 1440 connected directly to the printer port via an IEEE 1284 printer
> cable.

Do the following:

cd /dev
ls -l lpt*
h110: {852} % ls -l /dev/lpt*
crw-------  1 root  wheel   16,   0 Oct  4 09:19 /dev/lpt0
crw-------  1 root  wheel   16, 128 Oct  4 09:19 /dev/lpt0.ctl

Note that these devices are owned by root/wheel.  The lpd process runs
as user daemon (I suspect).  So you have the following choices:

chmod 666  /dev/lpt*         <- Brutal
chown daemon /dev/lpt* 

You will probably have similar problems with serial ports as well.

Patrick Powell                 Astart Technologies
[EMAIL PROTECTED]            6741 Convoy Court
Network and System             San Diego, CA 92111
  Consulting                   858-874-6543 FAX 858-751-2435
LPRng - Print Spooler (http://www.lprng.com)

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to