Git Product home page Git Product logo

Comments (2)

jeremy447 avatar jeremy447 commented on June 8, 2024

Hello,

I have a problem with Avahi or something related on Fedora 24 because I can't connect to an other Fedora 24 PC by doing this "ssh hostname.local". It work if I do "ssh OtherPCip". I have an android phone with primitive ftpd that allow a ssh connection and I can connect to my phone with "ssh android.local".

It seem that avahi don't show the hostname.local to others computers on Fedora. I also tried to disable the firewall (without rebooting) but it's the same.

I managed to make the connection work from desktop to laptop but that only last for a few minutes.

How can I make it work ? Is there a bug ?

Thanks !

Reported on Fedora too

https://bugzilla.redhat.com/show_bug.cgi?id=1354080

from avahi.

lathiat avatar lathiat commented on June 8, 2024

@Frontstriker15 libnss-mdns intentionally black-holes all .local queries. this is as per specification, however this was fixed in nss-mdns here to try handle that better avahi/nss-mdns#18

@Paviluf First two steps to diagnosis would be
(1) I would check that libnss-mdns is installed, and then publish the 'hosts' line from /etc/nsswitch.conf
(2) Try avahi-resolve-host-name hostname.local to see if that works, that will determine if avahi is the issue or the NSS hostname resolution is.
(3) Include the journal for avahi-daemon

Generally it's not likely a bug in avahi or nss-mdns itself and something you need support from Fedora to fix on your system

Closing this out as the first issue is from nss-mdns and already fixed, the second is a support request and not a bug at this time.

from avahi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.