Go Down

Topic: arduino.local doesn't work (Read 27500 times) previous topic - next topic

dmackenziephoto

I've got my Yun up and running, but I can't find it when I use arduino.local.  I have to supply the actual IP address.  I'm running this under Windows 7.  Is there something else I need to configure?

Thanks

David

federicofissore

Is the IP address the default one (192.168.240.1) or something else?
Do you have an antivirus/firewall? If so, you need to be sure you have port 5353 UDP open (see this other thread http://forum.arduino.cc/index.php?topic=188101.msg1392211#msg1392211 )

dmackenziephoto

I've configured the Yun to connect to my home network, so it's getting an IP address from the DHCP server.  I'm just trying to connect from a PC on the same network.

David

federicofissore

Please double check your firewall/antivirus configuration. Take a look at the post mentioned above

dmackenziephoto

I'll give that a try and see how it works out.  Thanks.

wildpalms

The Windows PC needs some way of turning arduino.local into 192.168.xxx.xxx and like me you have no way of doing that automatically.

I just use the IP address although if the Yun has a fixed address then you can add the name and IP to a 'hosts' file the PC can use to look up.

Dave

dmackenziephoto

Ah, thanks Dave.  I wondered if that was the case.  Thanks for confirming it.

David

priority

Had the same problem, but really needed the dhcp server properly resolve the hostname as I intend to have multiple Yuns on my home network.   My home router is running DNSmasq which is set to respond to both dhcp and dns requests.

Turns out linino needs one more config setting to have the hostname be part of the dhcp request. Edit /etc/config/network and add the following under the "config interface 'lan'" section:
Code: [Select]
option hostname "arduino"
You can change the hostname to whatever you want, but make it match the name you have given your Yun in the "Yun Board Configuration" page (default is "arduino").

Reboot your Yun and it should now show up with a nice name in the list of dchp clients on your router.

VideoLiam

Hi,

The arduino.local is not usually supported in a standard Windows install...

For those who might find host files difficult in windows, one piece of advice given to address the Local issue:-

@Federico Fissore stated:-
'I think it may be solved by installing Bonjour for windows by Apple. I'm pretty sure that's the right step to follow. Please follow it and let me know.
If it keeps non working, you could use the ip address shown in the IDE'

If that helps anyone...

Liam

noblepepper

My Windows 7 box wouldn't find this either at first. I installed Bonjour Print Services from http://support.apple.com/kb/DL999 and it works now.

Yes, I know installing a printing package to solve this makes no sense but it works for me. I did make sure to uncheck the two boxes about wanting information and automatic updates from Apple.

noblepepper

Heads up-unchecking the tic boxes apparently doesn't stop all the propaganda about updates, probably just emails. A dialog box popped up a couple of times wanting to update some apple nonsense before I found you can use the settings menu to tell this package not to check for updates.

mediamad

#11
Oct 19, 2013, 05:02 pm Last Edit: Oct 19, 2013, 05:07 pm by mediamad Reason: 1
Quote

Turns out linino needs one more config setting to have the hostname be part of the dhcp request. Edit /etc/config/network and add the following under the "config interface 'lan'" section:
Code: [Select]
option hostname "arduino"
You can change the hostname to whatever you want, but make it match the name you have given your Yun in the "Yun Board Configuration" page (default is "arduino").

Reboot your Yun and it should now show up with a nice name in the list of dchp clients on your router.


Sorry for being such a noob but how do I get to /etc/config/network?  If I log in as root using the CLI to get to the linino I don't see any directories.  

federicofissore

mediamad you don't need that. Just install Bonjour Print Services from Apple http://support.apple.com/kb/DL999
I know the name doesn't make sense, but they are enabling your Windows with Bonjour, that's the protocol the Yun use to broadcast its availability

mediamad


mediamad you don't need that. Just install Bonjour Print Services from Apple http://support.apple.com/kb/DL999
I know the name doesn't make sense, but they are enabling your Windows with Bonjour, that's the protocol the Yun use to broadcast its availability


I already have it installed on XP.  Still doesn't resolve my arduino name.

federicofissore

mediamad, are you using windows firewall or some third party firewall like norton? the bonjour installer automatically creates rules for windows firewall and I guess you need to add them manually in case you use something else
Check out this post http://forum.arduino.cc//index.php?topic=188101.msg1392211#msg1392211
You need to open port 5353 UDP

Go Up