Look at this (moe is the print-server, listening on port 515):

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

So what's my exact hostname?

[EMAIL PROTECTED]:~]$ hostname
larry.local

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

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

Now...

[EMAIL PROTECTED]:~]$ 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...

[EMAIL PROTECTED]:~]$ lpc status all
[EMAIL PROTECTED]:~]$ 

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

[EMAIL PROTECTED]:~]$ 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.
[EMAIL PROTECTED]:~]$ 



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to