remote printing isn't working - lpd not listening
Hi all,
Just installed Debian on my new workstation, "satan". The workstation has
an HP LaserJet 6MP that I'd like to share with other Linux computers on my
home network. I use lpd, not lprng.
I'm pretty sure /etc/printcap is set up correctly on satan and the remote
hosts. I'm pretty sure that /etc/hosts.lpd is set up correctly on satan.
However, on other computers in the house:
lucifer# lpq
connection to 192.168.0.2 is down
They can't seem to connect to lpd on satan. Supposedly, lpd uses port 515
to accept incoming print jobs. However, there doesn't appear to be anything
listening to that port:
p@satan$ telnet localhost 515
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
lucifer# telnet satan 515
Trying 192.168.0.2...
telnet: Unable to connect to remote host: Connection refused
But then again, on Debian, lpd is shipped running the -s option which is
described as preventing lpd from listening to tcp ports, so I'm not exactly
sure how lpd accepts incoming remote jobs...
1. How exactly does lpd accept incoming remote print jobs if its configured
with -s by default?
2. Should I be able to telnet to port 515 on a host that is correctly
configured to accept incoming remote print jobs?
3. If lpd is supposed to bind to port 515, can anyone think of a reason why
it's not?
Any help appreciated!
Thanks!
Pete
--
Every theory is killed sooner or later, but if the theory has good in it,
that good is embodied and continued in the next theory. -- Albert Einstein
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D
Reply to: