Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Dec 2005 12:37:54 -0600
From:      Charles Howse <chowse@charter.net>
To:        questions <freebsd-questions@freebsd.org>
Subject:   Re: Setting up a print-server
Message-ID:  <BFB893A2.3669%chowse@charter.net>
In-Reply-To: <20051204081551.S87924@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Look at this (moe is the print-server, listening on port 515):

[charles@larry:~]$ telnet moe 515
Trying 192.168.254.4...
Connected to moe.
Escape character is '^]'.
lpd [@moe.local]: Print-services are not available to your host (larry).
Connection closed by foreign host.

So what's my exact hostname?

[charles@larry:~]$ hostname
larry.local

Then I ssh to moe, then I add:
larry
larry.local

to /etc/hosts.lpd and to /etc/hosts.equiv

Now...

[charles@larry:~]$ telnet moe 515
Trying 192.168.254.4...
Connected to moe.
Escape character is '^]'.
^]
telnet> quit
Connection closed.

Looks like print services are available now, but...

[charles@larry:~]$ lpc status all
[charles@larry:~]$ 

And printing from the Mac still gets a 'busy signal'.
Can I issue a command to print something from a telnet session?

[charles@larry:~]$ telnet moe 515
Trying 192.168.254.4...
Connected to moe.
Escape character is '^]'.
lpr /etc/printcap
moe.local: lpd: Illegal service request
Connection closed by foreign host.
[charles@larry:~]$ 






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFB893A2.3669%chowse>