Re: LPRng: Cannot print to a remote LPRng

2003-02-02 Thread Ulf Norén
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.
-



Re: LPRng: Cannot print to a remote LPRng

2003-02-02 Thread Joel Hammer
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.
-



Re: LPRng: Cannot print to a remote LPRng

2003-02-02 Thread Alberto Curro

Obviously, you did not have tried to simply start 'lpd'. I'm using now
Debian (previously SuSE) on my production server and I received the same
message day by day; until I get in count that the self lpd server was not
started (then the error message).

   Simply try it.

  And, BTW, lpd in inetd is not recommended (security reasons), even if you
are using xinetd (more secure).

  Regards

Alberto

 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.
 --
---




-
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.
-



LPRng: Cannot print to a remote LPRng

2003-01-31 Thread 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


-
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.
-



Re: LPRng: Cannot print to a remote LPRng

2003-01-31 Thread phillip . griffith
If you're sure that lpd is actually running on lpdx, the next place to 
look is /etc/lpd.perms.

Phillip Griffith  (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company




Norbert Hahn [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]


01/31/2003 02:31 PM
Please respond to lprng

 
To: [EMAIL PROTECTED]
cc: 
Subject:LPRng: Cannot print to a remote LPRng


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


-
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.
-



Re: LPRng: Cannot print to a remote LPRng

2003-01-31 Thread Joel Hammer
Check the firewall. port 515 must be open.
Here is what I see with netstat  -anp | grep 515
tcp  0  0 0.0.0.0:515  0.0.0.0:*   LISTEN  408/lpd START_IDLE
Joel

On Fri, Jan 31, 2003 at 08:31:37PM +0100, Norbert Hahn wrote:
 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
 
 
 -
 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.
-