Using the dummy0 interface for a local-only service to be broadcasted by Avahi

Till Kamppeter till.kamppeter at gmail.com
Thu Dec 29 21:33:33 UTC 2016


On 12/29/2016 05:27 PM, Philipp Kern wrote:
> On 12/29/2016 08:16 PM, Till Kamppeter wrote:
>> This would especially mean that I can access the printer's web admin
>> interface by pointing a browser to this address so I try the simple
>> command line browser wget:
>
> curl seems to work:
>
> $ curl "http://[fe80::3664:a9ff:fe9a:f5b8%25br0]/"
> No such site at :80
> $ curl "http://[fe80::3664:a9ff:fe9a:f5b8%br0]/"
> No such site at :80
>
> If only we had universal support for interface scopes by having a
> unified function that parses IP addresses...
>
> Kind regards
> Philipp Kern
>

Thank you very much.

curl 'http://[fe80::e828:7eff:fe19:9962%25ippusbxd]:60000/' > testfile.gz
gunzip testfile.gz

gives an actual HTML file.

I am not able to open this URL with Firefox, as this browser does not 
seem to understand the syntax of the IPv6 URL.

Is there a way to make a local Zeroconf host name get assigned to this 
IPv6 IP address?

    Till




More information about the ubuntu-devel mailing list