Can't connect to hostname on LAN #205
-
This may be an issue with my router... Not sure. I can SSH via the IP, and my browser can pull up a blank page via the IP, but nothing seems to connect to the hostname I set. If I ping the hostname from outside my RPi, I get nothing, but if I ping it from inside the RPi it appears to work. So I know I've got the right hostname, but it doesn't appear to be broadcasting on my network. Thoughts? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
I would suggest searching for a way to set a custom "/etc/hosts" entry on your specific router, as your router doesn't appear to be doing the DNS/DHCP things it needs to be doing automatically. Also make sure your client devices (computer, phone) have your router's IP as their primary DNS server. Hopefully someone with more knowledge about this can chime in! |
Beta Was this translation helpful? Give feedback.
-
Hi, @Kestrelio!! To respond to your supposition, it is almost definitely your router not allowing "multicast DNS" or "mDNS" announcements on the network. The BirdNET-Pi will send an mDNS annoucement that provides its IP address and corresponding avahi-alias (your hostname.local) to all hosts on the network so that the router doesn't need to keep track of the DNS entry. Since your router is blocking this announcement, no other devices on the network know about the BirdNET-Pi by its avahi-alias. To address this, you have a few options! To try and get the hostname working:
If you can't get your router to allow mDNS announcements, you can have the installation use its IP address instead.
Please let me know if you have any questions or encounter any trouble and I will be more than happy to help!!! |
Beta Was this translation helpful? Give feedback.
Hi, @Kestrelio!!
First of all, thank you so very much for installing BirdNET-Pi!!! I hope you find it worth this extra bit of trouble!
To respond to your supposition, it is almost definitely your router not allowing "multicast DNS" or "mDNS" announcements on the network. The BirdNET-Pi will send an mDNS annoucement that provides its IP address and corresponding avahi-alias (your hostname.local) to all hosts on the network so that the router doesn't need to keep track of the DNS entry.
Since your router is blocking this announcement, no other devices on the network know about the BirdNET-Pi by its avahi-alias. To address this, you have a few options!
To try and get the hostname working: