Posts: 12,462
Joined: Oct 2014
Reputation:
603
I'm beginning to wonder if this could be a DNS thing on the router itself perhaps. What router and DNS server are you running?
It sounds like in my case the router/DNS is trying to resolve the IP name into an IP address and timing out, but can connect directly via the IP address as there's no resolution involved. But in your case it's a bit different, but perhaps something is getting misrouted and/or blocked by either the router or the modem and hence neither is working.
Of course as we're talking about local names and IP addresses there shouldn't be remote resolution required (neither should go beyond your router/modem as it's all in-house) but if something there is either failing or being mis-named by Kodi and so not being recognised properly as a local address then we could be hitting issues.
It could perhaps explain why it's happening, but not so much why it's intermittent. Does that sound even vagulely plausible or sensible (I'm not an expert on these sort of things by any means)?
Posts: 130
Joined: Mar 2015
Reputation:
1
DJB628
Senior Member
Posts: 130
Happened again this morning, tried everything I could think of, damn this is annoying.
Posts: 12,462
Joined: Oct 2014
Reputation:
603
2015-09-18, 16:52
(This post was last modified: 2015-09-18, 16:53 by DarrenHill.)
When you say you have the Pi set up as a static IP - have you also set your router up to have a more restricted DHCP pool and ensured that the static IP address is outside that, or at least that the static IP address is up at the top-end of the DHCP pool if not?
Just perhaps to eliminate any possibility that your router may be assigning another device the same IP address as your Pi has been manually allocated as its static one, and thus causing a clash on your network? Or have you assigned the "static" IP address in the DHCP server of your router rather than on the Pi itself?
Like you I'm still quite often getting the Pi unavailable by name, but it's always available by IP address as the static address mine has is outside the range of the DHCP pool (mine's set up to be 192.168.0.2 to 192.168.0.199, with all the static things on my network set up above .200).
Posts: 130
Joined: Mar 2015
Reputation:
1
DJB628
Senior Member
Posts: 130
Yes I have and it is outside the assigned pool., and still the same issue. I also again check the PI to make sure while I could not connect from the Windows PC, I played a show to make sure the PI was connecting and internet working and it was.
This time I tried a different way to get it back, I rebooted the router, and then right away and reboot the PI, and it connected once all were back up and running