View Single Post
Old 08-26-2012, 03:42 AM   #93
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
@chaley: One possibility is to create mdns records for every ip address. I dont know how well most mdns clients work with multiple entries for the same service, though. And of course some one will have to write code to get all ip addresses on all platforms.
Kovid, as far as I can tell, calibre's mdns advertizes on every network and responds to a query on any given network with the right address for that network. This is rather easy to see if you enable wifi on a machine that is also cabled. You see two entries in mdns, one for each interface on the advertiser. You also see a confused user.

The problem we are facing is that mdns seems to be disabled on *lots* of home networks. The percentage could be as high as 30%, but it is hard to know for sure. It is easier for people in that situation to enter a fixed address into CC than to figure out how to re-enable mdns in their router. This works in the majority of cases, but when someone both has non-enabled mdns and multiple networks, things can get dicey because of the need to choose between network adapters, or to even know that the choice must be made.

Examples I have dealt with in the last day:
- The one described in this thread just above, where the reason for multiple networks isn't known.
- One where the user has a permanent outgoing VPN that tunnels through the router, creating two interfaces on the machine.
- One where the user has virtual adapters to support VMs.
- One where (apparently) the user had both cable and wifi enabled on the machine running calibre.
chaley is offline   Reply With Quote