Subject: Re: Printing with lpr
To: ianm <ianm@cat.co.za>
From: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
List: netbsd-users
Date: 02/26/2003 10:51:51
--Dzs2zDY0zgkG72+7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Feb 26, 2003 at 10:33:58AM +0200, ianm wrote:
> Hi
>=20
> Thanks for all the help ( I did mean netBSD 1.6.1, lazy typing :-) ).
>=20
> Turns out I was starting the lpd with the '-s' option. So I have now made
> certain the daemon starts without
> the '-s' option. Unfortunately a new problem has arisen. When I check the
> printer queue with lpq on box A
> ( the setup is box A trying to print to a printer on box B), I get the er=
ror
> message,
>=20
> lpd: Host name for your address ('my_ip') unknown
>=20
> So I thought that should be fixable. I checked my /etc/rc.conf file and t=
he
> hostname was filled in there.
>  I then checked my /etc/myname and the name there matched the hostname in
> the /etc/rc.conf file.
> Typing 'hostname' in the prompt gave me the correct hostname I expected.
> All these made no difference, I still got the error message.

But did you check that that name is in /etc/hosts, with an IP address
that matches the address of your interface?=20

	-is

--Dzs2zDY0zgkG72+7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBPlyONTCn4om+4LhpAQGBnwgAw8o1EHnhkeADBFrhX2ndJqE8qexBk8fO
t4Q29MAGo5QGoTkcmk4FAEKZT0aW4wWmqM+cNXv1nUA0wtv5KiS9vOpIQDwl9dnM
0nXO19YABh5MqL2Oey6CafUtKFgnIjDR/0oLkRk84YPXpQelrOxzRtRoiHSKYiR4
vAdxdo8MjJc4+3e4pKk05o/6KTij1RjiHJXd5uMUXFB82YyX1/q07qCfdClqIJWt
iE9tKqyngc8LhFG1aW7yn8fph5iyBJbeWbgbDcoppPXujnQXn2rGQZkjjytVG01I
9D6oSM6i2cwJ2i2smOvHsYZ8e7mDDZ3XovurfhZJlFRA+4abY8+VGw==
=lJ3p
-----END PGP SIGNATURE-----

--Dzs2zDY0zgkG72+7--