I don't think it is best to have inetd controlling lpd. I always have run mind as a free standing daemon. lpd will watch port 515 and respond to requests.
Joel On Sun, Feb 02, 2003 at 01:43:25PM +0100, Ulf Nor�n wrote: > Friday 31 January 2003 20.31 skrev Norbert Hahn: > > Hi, > > > > I'm installing a new print server using SuSE Linux 8.1 and > > LPRng that came with that distribution. Adding LPRng to the > > system was no problem, configuring a couple of printers went > > quite well. However, I cannot print from a remote computer > > to that server: > > > > $ lpq -P ps@lpdx > > Printer 'ps@lpdx' - cannot open connection - Connection refused > > Make sure the remote host supports the LPD protocol > > and accepts connections from this host and from non-privileged (>1023) > > ports > > > > When I add a line to /etc/inetd.conf such as > > > > printer stream tcp nowait daemon /bin/date > > > > then > > > > $ lpq -P ps@lpdx > > > > will return > > > > Fri Jan 31 20:12:42 CET 2003 > > > > I tried to understand the LPRng-Howto but could not find how lpd > > connects to the printer port or what else is wrong in my configuration. > > Btw, LPRng version is 3.8.12 if that matters. > > > > Norbert > > > > Check your lpd.conf file for the following: > > # Purpose: lpd server listen port port, "off" does not open port > default lpd_listen_port=on > > I think it is default off for security reasons... > > /Ulf > > -- > Ulf Nor�n > IT-avd, Mitth�gskolan > 0660-57899,070-5142781 > > ----------------------------------------------------------------------------- > 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. > ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- 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. -----------------------------------------------------------------------------
