Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Remote printing on server with parallel printer

2 views
Skip to first unread message

Dale Stover

unread,
Mar 25, 2002, 6:06:14 PM3/25/02
to
Hi everyone,
I have been beating this to death....probably making it harder than it
is.
Local server: OpenServer 5.0.5
Patches: rs505a, oss600a
Remote server: OpenServer 5.0.5
Patches: rs505a, oss600a
I ran "rlpconf" on the local server and configured remote printer. I ran
"rlpconf" on the remote server and setup the printer as a local printer.
"hosts.lpd" on the remote server reflects the local server. The remote
system will run for awhile and produce a "kernel panic" and crash the
system.
I have tried this same procedure on another set of systems with the same
result.
It looks like it should be easy to set-up.....
Point me in the right direction!!!

Thanks
Dale Stover
Systems Techniques

Tom Parsons

unread,
Mar 25, 2002, 6:33:56 PM3/25/02
to sco...@xenitec.on.ca
Dale Stover enscribed:

| Hi everyone,
| I have been beating this to death....probably making it harder than it
| is.
| Local server: OpenServer 5.0.5
| Patches: rs505a, oss600a
| Remote server: OpenServer 5.0.5
| Patches: rs505a, oss600a
| I ran "rlpconf" on the local server and configured remote printer. I ran
| "rlpconf" on the remote server and setup the printer as a local printer.
| "hosts.lpd" on the remote server reflects the local server. The remote
| system will run for awhile and produce a "kernel panic" and crash the
| system.

Nah, it crashes when someone or something runs lpstat.

| I have tried this same procedure on another set of systems with the same
| result.
| It looks like it should be easy to set-up.....
| Point me in the right direction!!!

oss497c
--
==========================================================================
Tom Parsons t...@tegan.com
==========================================================================

Dale Stover

unread,
Mar 26, 2002, 11:32:57 AM3/26/02
to

"Tom Parsons" <c...@tegan.com> wrote in message
news:2002032517...@tegan.com...

Ok,
I have installed "oss497c".......the system does not crash.
Question: How do you setup the local server with the printer on the parallel
port.
I ran "rlpconf" and answered the questions as "local" and gave the printer a
name. Now, when I do an "lpstat -t", I do not see the local printer.
"rlpconf" created the directories in /usr/spool/lpd/"printer name" but no
where else do I see the local printer.
I did put the remote server in the "hosts.lpd".
The remote server says via "lpstat -t" that it is waiting on the local
server's printer to "come up".
Thanks
Dale Stover


Tony Lawrence

unread,
Mar 26, 2002, 1:13:24 PM3/26/02
to


Well, you shouldn't be adding printers with rlpconf. You should add
them with "mkdev lp" or go to it through Scoadmin and then set the
printer to accept remote jobs.

See also http://pcunix.com/newtosco.html


--
Tony Lawrence
SCO/Linux Support Tips, How-To's, Tests and more: http://pcunix.com

Dale Stover

unread,
Mar 27, 2002, 8:50:08 AM3/27/02
to

"Tony Lawrence" <to...@pcunix.com> wrote in message
news:3CA0BB0D...@pcunix.com...
Tony,
What would some of the reasons be that I am getting "printer3: lost
connection with server.com"?
I have set-up hosts.lpd and hosts.equiv. Everything looks good.....
Thanks
Dale Stover


Tony Lawrence

unread,
Mar 27, 2002, 6:31:37 PM3/27/02
to

You are posting to a newsgroup. Sometimes I don't get back here for
days. I assume you'd be happy to get an answer from anyone, but when
you address a specific person like this, very often people who might
otherwise have replied will not.

> What would some of the reasons be that I am getting "printer3: lost
> connection with server.com"?

Network problems?

> I have set-up hosts.lpd and hosts.equiv. Everything looks good.....


Looks good? Does that mean that a user on the machine can in fact do a
rcmd on the other machine or does it mean that you think the files are
correct?

Sorry, I know that sounds a little harsh, but so often I see that people
don't seem to understand that user equivalency needs to be tested- and
not as root. A simple "rcmd otherbox lp -dprinter3" establishes that
very quickly-
you either can or you cannot. If you can't, neither can lp.

Jean-Pierre Radley

unread,
Mar 27, 2002, 7:07:13 PM3/27/02
to ScoMisc [c.u.s.m]
Tony Lawrence propounded (on Wed, Mar 27, 2002 at 11:31:37PM +0000):

| Sorry, I know that sounds a little harsh, but so often I see that people
| don't seem to understand that user equivalency needs to be tested- and
| not as root. A simple "rcmd otherbox lp -dprinter3" establishes that
| very quickly-
| you either can or you cannot. If you can't, neither can lp.

Not necessarily. An /etc/hosts.equiv file may not exist at all on a
machine, thus preventing a non-root user from running rmcd, while an
/etc/hosts.lpd file will still allow the 'lp' user to do its thing
across the network.

--
JP

Tony Lawrence

unread,
Mar 27, 2002, 7:12:24 PM3/27/02
to


Good point. Technically accurate and I should have been more specific.
The important point is that if you (even temporarily) duplicate
hosts.lpd to hosts.equiv, and cannot rcmd as suggested, then lp won't
have equivalency either. And that's an important debugging clue.

0 new messages