I have a strange problem. From Windows machines in my house, I can only see the YUN through it's IP address (my yun is at http://192.168.0.19). http://arduino.local is not visible. From other devices, such as my iPhone connected to my house LAN via WiFi, I can see it at http://arduino.local. I would think it was a DNS thing, but both my iPhone and my PCs are set up to use my home router as the primary DNS server.
Anyone have any ideas? I am working on a project where I will be giving YUN's to some people, and need to understand what needs to be done to make the YUN visible via its hostname. I'd rather not have to have people figure out what IP address their YUN is at.
This is not at all a strange problem. The name arduino.local does not come from your DNS server. Instead, it is broadcast over the network by the Yun using mDNS. This technique is most commonly called Bonjour, after an implementation by Apple. An mDNS client is required on any computer that wants to use the arduino.local name. Installation of Bonjour is standard on Macs, iPhones, and iPads. It is not a standard feature of Windows.
If you install iTunes on your Windows computer, it will also install Bonjour. Bonjour is also available as a separate download. Under Linux, the most common mDNS client is Avahi. As far as I've heard, there is no mDNS client available for Android.
If you renamed your Yún during setup, then you need to refer to the Yún by that name. I renamed mine to yun, so http://yun.local will get me to the device.
Clemens:
I have the same issue with an Android phone, any solution beside using the IP directly?
@Clemens,
while your issue is similar, it is not the same. Please start a new thread, restate your problem. This way once we have your problem solved, others may benefit.
Clemens:
I have the same issue with an Android phone, any solution beside using the IP directly?
There is no solution that I'm aware of, as far as I've heard, Android has no available alternative to Bonjour.
I hope to be proven wrong someday, as it would be useful for a (non-Arduino) project at work.
jessemonroy650:
while your issue is similar, it is not the same. Please start a new thread, restate your problem. This way once we have your problem solved, others may benefit.
Probably not all that different... and probably not worth a new thread. Do a search for "Android Bonjour" or "Android mDNS" either on this site or the web at large, and you should see plenty of discussion. (I did that 9 months ago, and there was no solution for the plenty of people who wanted to do it but couldn't.)