The Answer Guy 30: Remote lpd from Solaris to Linux

#### "Linux Gazette...making Linux just a little more fun!"

# The Answer Guy

#### By James T. Dennis, answerguy@ssc.com
Starshine Technical Services, http://www.starshine.org/

### Remote lpd from Solaris to Linux

From kuksi on 27 May 1998
I like to print from Solaris to Linux. The /etc/hosts.lpd file contents the sun IP address. I have installed the Linux printer on the Sun by remote printer. It works fine, but when i print to the remote linux printer, it is fail.

> I presume you mean that it works fine "locally" but fails from the remote clients.

the contents of the `/var/log/message` file:
`linux_machine_name kernel: lp1 at 0x0378, (polling)`
and the next time:
`linux_machine_name lpd[number]: sun_machine_name recvjob
linux_machine_name lpd[number]: sun_machine_name request printjob
linux_machine_name lpd[number]: sun_machine_name request displaylong`

> I guess this is a hacked up excerpt from one of your `/var/log/` files.

But the printer in local mode on linux works fine. (think i am )
kuksi

> Well, '`lpd`' is black magic to me. I've got my remote printing working on one pair of systems but not on another. Also '`lpd`' seems to be a security nightmare that's almost as bad as the older '`sendmail`' releases.
> One possibility would be to try installing `LPRng` (the next generation of the lpr suite). I've printed out the manual for it (over a hundred pages long) and worked through a bit of it. It does seem to be an industrial strength printing/queueing system. Aye, but there's the rub, it may be overkill for your situation.
> So, all I can suggest is that you make sure that you've followed all of the steps and suggestions in the Printing HOWTO and that you try to get more specific debugging data.

> On Wed, 27 May 1998, Jim Dennis wrote:
> So, all I can suggest is that you make sure that you've followed all of the steps and suggestions in the Printing HOWTO and that you try to get more specific debugging data.

Thanks for your e-mail. I have read many HOWTO about this, but I am going to try everything.
(gondolom en )
kuksi

##### Copyright © 1998, James T. Dennis
Published in Linux Gazette Issue 30 July 1998

| SCOkeys | chroot | dosemu-db | NTauth | cdr | 3270 | comport
lilostop | emulate | ppadrivers | database | vacation | nullmodem | lockups
gzipC | newlook | c500 | solprint | vc1shell | memleak | tvcard