Le 13/04/2023 à 15:55, Haines Brown a écrit :
> On Thu, Apr 13, 2023 at 03:13:34PM +0200, Antony Stone wrote:
>> On Friday 07 April 2023 at 17:04:50, Haines Brown wrote:
>>
>>> I get my printer's IP address (obfuscated) with
>>>
>>> $ curl -s https://icanhazip.com
>>> 32.210.NNN.NNN
>> I don't see why that command would be expected to tell you the IP address of a
>> printer (even if you could somehow log in to the printer and run the command
>> there).
>>
>> All it will do is tell you the public IP address assigned on the external
>> interface of your router by your ISP.
> Thank you for that claificattion.
>
> My basic problem seems to be that my linux/printer is on one network
> and the Mac laptop on another.
>
> I gather that an easy was have Linux serve a printer is to install
> tailscale. Unfortunately, tailscale is not in the Debian repository.
> All I find is:
>
> p golang-github-tailscale-tscert-dev
> - Minimal library implementing parts of the Tailscale client API
>
Your linux box can act as a print server if it has connections to
both networks. This is one of the features of Cups I don't like very
much, because I think it can be a security hole. But Cups offers this by
design.
-- Didier