Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Where is hosts.lpd?
@ 1999-03-12  4:06 Ron Farrer
  1999-03-12  4:17 ` Cornelius Creedon
  0 siblings, 1 reply; 8+ messages in thread
From: Ron Farrer @ 1999-03-12  4:06 UTC (permalink / raw)
  To: axp-list


Where is hosts.lpd on Red Hat (Alpha) systems? I am guessing that, like
with several other things, RH has their own way of doing things...


TIA,

Ron Farrer
--
Universal Computer Technologies -- An Alpha - only OEM!
Mail: uct@fidalgo.net
Web: http://www.fidalgo.net/~uct/
Check out our March specials!


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Where is hosts.lpd?
  1999-03-12  4:06 Where is hosts.lpd? Ron Farrer
@ 1999-03-12  4:17 ` Cornelius Creedon
  1999-03-12  4:36   ` Ron Farrer
  0 siblings, 1 reply; 8+ messages in thread
From: Cornelius Creedon @ 1999-03-12  4:17 UTC (permalink / raw)
  To: axp-list


should be /etc/hosts.lpd

i dont think a new redhat install has one, even an empty one, you must
create it...

-cc

On Thu, 11 Mar 1999, Ron Farrer wrote:

> 
> Where is hosts.lpd on Red Hat (Alpha) systems? I am guessing that, like
> with several other things, RH has their own way of doing things...
> 
> 
> TIA,
> 
> Ron Farrer
> --
> Universal Computer Technologies -- An Alpha - only OEM!
> Mail: uct@fidalgo.net
> Web: http://www.fidalgo.net/~uct/
> Check out our March specials!
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Where is hosts.lpd?
  1999-03-12  4:17 ` Cornelius Creedon
@ 1999-03-12  4:36   ` Ron Farrer
  1999-03-12  4:45     ` Cornelius Creedon
  0 siblings, 1 reply; 8+ messages in thread
From: Ron Farrer @ 1999-03-12  4:36 UTC (permalink / raw)
  To: axp-list


What's the syntax of this file, is like hosts.allow/hosts.deny???


TIA,

Ron Farrer

On Thu, 11 Mar 1999, Cornelius Creedon wrote:

> 
> should be /etc/hosts.lpd
> 
> i dont think a new redhat install has one, even an empty one, you must
> create it...
> 
> -cc
> 
> On Thu, 11 Mar 1999, Ron Farrer wrote:
> 
> > 
> > Where is hosts.lpd on Red Hat (Alpha) systems? I am guessing that, like
> > with several other things, RH has their own way of doing things...
> > 
> > 
> > TIA,
> > 
> > Ron Farrer
> > --
> > Universal Computer Technologies -- An Alpha - only OEM!
> > Mail: uct@fidalgo.net
> > Web: http://www.fidalgo.net/~uct/
> > Check out our March specials!
> > 
> > -- 
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Where is hosts.lpd?
  1999-03-12  4:36   ` Ron Farrer
@ 1999-03-12  4:45     ` Cornelius Creedon
  1999-03-12 16:06       ` Ron Farrer
  0 siblings, 1 reply; 8+ messages in thread
From: Cornelius Creedon @ 1999-03-12  4:45 UTC (permalink / raw)
  To: axp-list


AFAIK it should just contain 1 ip address or name per line of a machine
that is permitted to use your local printer(s)

-cc

On Thu, 11 Mar 1999, Ron Farrer wrote:
> 
> What's the syntax of this file, is like hosts.allow/hosts.deny???
> 
> On Thu, 11 Mar 1999, Cornelius Creedon wrote:
> 
> > should be /etc/hosts.lpd
> > 
> > i dont think a new redhat install has one, even an empty one, you must
> > create it...
> > 
> > On Thu, 11 Mar 1999, Ron Farrer wrote:
> > 
> > > Where is hosts.lpd on Red Hat (Alpha) systems? I am guessing that, like
> > > with several other things, RH has their own way of doing things...
> > > 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Where is hosts.lpd?
  1999-03-12  4:45     ` Cornelius Creedon
@ 1999-03-12 16:06       ` Ron Farrer
  1999-03-12 17:15         ` Jochen Kuepper
  0 siblings, 1 reply; 8+ messages in thread
From: Ron Farrer @ 1999-03-12 16:06 UTC (permalink / raw)
  To: axp-list


On Thu, 11 Mar 1999, Cornelius Creedon wrote:

> 
> AFAIK it should just contain 1 ip address or name per line of a machine
> that is permitted to use your local printer(s)
> 
> -cc

Okay, I added the ip address (10.0.0.8) of the machine (AS200 :-) I want
to allow printing from, but get this error "lpd: fax: Host name for your
address (10.0.0.8) unknown" after typing lpq to see what's going on. I've
gone over the network and printer config's many times, but I don't see
anything that is obvious. 


Anyone have an idea (other than I'm an idiot)??


TIA,

Ron Farrer


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Where is hosts.lpd?
@ 1999-03-12 16:54 Tom Browder
  1999-03-12 19:23 ` Where is hosts.lpd? --follow-up Ron Farrer
  0 siblings, 1 reply; 8+ messages in thread
From: Tom Browder @ 1999-03-12 16:54 UTC (permalink / raw)
  To: axp-list

I missed the original post, but I assume you want to access a remote
printer using lpr as:

  lpr -P<remote printer> <file> 

Assume all else is OK, and say the print server is host "fortuna.my.com" with IP address 10.0.1.1,
then you need an /etc/hosts file containing at least the following line:

    fortuna.my.com 10.0.0.1 fortuna

The /etc/hosts.lpd file will have a line that looks like:

  fortuna.my.com

Of course the /etc/printcap file on the local machine will have a line that looks like:

<remote printer>|<alternate name>:\
:rm=fortuna.my.com:\
:rp=lp:\
(etc.)

The print server's printcap will have a line that looks like:

lp:\
:sd=<spool directory>:\
:lp=/dev/<port>:\
(etc.)


Good luck.

Tom Browder


-----Original Message-----
From: Ron Farrer <uct@fidalgo.net>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Friday, March 12, 1999 10:11 AM
Subject: Re: Where is hosts.lpd?


>
>On Thu, 11 Mar 1999, Cornelius Creedon wrote:
>
>> 
>> AFAIK it should just contain 1 ip address or name per line of a machine
>> that is permitted to use your local printer(s)
>> 
>> -cc
>
>Okay, I added the ip address (10.0.0.8) of the machine (AS200 :-) I want
>to allow printing from, but get this error "lpd: fax: Host name for your
>address (10.0.0.8) unknown" after typing lpq to see what's going on. I've
>gone over the network and printer config's many times, but I don't see
>anything that is obvious. 
>
>
>Anyone have an idea (other than I'm an idiot)??
>
>
>TIA,
>
>Ron Farrer
>
>-- 
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>
>



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Where is hosts.lpd?
  1999-03-12 16:06       ` Ron Farrer
@ 1999-03-12 17:15         ` Jochen Kuepper
  0 siblings, 0 replies; 8+ messages in thread
From: Jochen Kuepper @ 1999-03-12 17:15 UTC (permalink / raw)
  To: axp-list, Ron Farrer, axp-list

On Fre, 12 Mär 1999 Ron Farrer wrote:
>On Thu, 11 Mar 1999, Cornelius Creedon wrote:

>> AFAIK it should just contain 1 ip address or name per line of a machine
>> that is permitted to use your local printer(s)

>Okay, I added the ip address (10.0.0.8) of the machine (AS200 :-) I want
>to allow printing from, but get this error "lpd: fax: Host name for your
>address (10.0.0.8) unknown" after typing lpq to see what's going on. I've
>gone over the network and printer config's many times, but I don't see
>anything that is obvious. 

Well, in my hosts.lpd there are symbolic DNS names, not IP numbers - don't know
ethere that makes a difference (usually only the other way around).

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen Küpper

  Heinrich-Heine-Universität Düsseldorf     jochen@uni-duesseldorf.de
  Institut für Physikalische Chemie I
  Universitätsstr. 1, Geb 26.43 Raum 02.29     phone ++49-211-8113681
  40225 Düsseldorf                             fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Where is hosts.lpd? --follow-up
  1999-03-12 16:54 Where is hosts.lpd? Tom Browder
@ 1999-03-12 19:23 ` Ron Farrer
  0 siblings, 0 replies; 8+ messages in thread
From: Ron Farrer @ 1999-03-12 19:23 UTC (permalink / raw)
  To: axp-list


A big thanks to everyone it's now working! In addition to knowing the
correct syntax for hosts.lpd, the file hosts had a typo in it :( causing
the error I was getting.

Everything is working great now!


Thanks again,

Ron Farrer


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~1999-03-12 19:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-12 16:54 Where is hosts.lpd? Tom Browder
1999-03-12 19:23 ` Where is hosts.lpd? --follow-up Ron Farrer
  -- strict thread matches above, loose matches on Subject: below --
1999-03-12  4:06 Where is hosts.lpd? Ron Farrer
1999-03-12  4:17 ` Cornelius Creedon
1999-03-12  4:36   ` Ron Farrer
1999-03-12  4:45     ` Cornelius Creedon
1999-03-12 16:06       ` Ron Farrer
1999-03-12 17:15         ` Jochen Kuepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox