[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 19:41, Vincent Lefevre wrote:
On 2023-05-11 18:24:39 -0400, 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.

My question was more on why does this affect localhost:631/printers?

My questions would be:

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

The cupsd.conf(5) man page says: "Multiple Listen directives can be
provided to listen on multiple addresses."

My results seem to indicate otherwise.

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

According to the cupsd.conf(5) man page, you can use "Listen *:631".

The possibility exists that the star goes thru a different path, which works. untested here. But folks, that isn't a SWAG, its a plain old WAG.

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: