[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SOLVED:Re: repeat of previous question that has goneunansweredseveraltimes.



On 5/11/23 18:25, Greg Wooledge wrote:
On Thu, May 11, 2023 at 11:58:56PM +0200, Vincent Lefevre wrote:
On 2023-05-11 12:08:01 -0400, gene heskett wrote:
Aha!!!! Got it, geany evince okular etc can now print from bpi54! Removing
the Listen localhost:631 directive from /etc/cups/cupsd.conf and inserting a

Listen 192.168.xx.yy:631

made the localhost:631/printers on this machine show up in FF on bpi54, all
5 choices from this machine.

Any explanation?

Seems obvious enough to me.  CUPS on bpi54 was only listening to
loopback (localhost), but Gene wanted to print through it remotely.
So he had to make it listen to the network instead.

Close, I wanted to be able to print from the bpi from any app on the bpi that had a print this option. Now I can.

My questions would be:

1) Can you put *both* Listen lines in, to keep loopback working?

No, that kills the cups ability to query the network even with the Server named in client.conf. It even logs it as a failure, on the bpi5 but doesn't say why.

2) Failing that, can you use 0.0.0.0 as the Listen address, to listen on
    all interfaces?  That's the normal convention.

Untried, so can't say. And I've not read far enough to see that as an example.

Thanks Greg.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>


Reply to: