I recently received my Yun and downloaded the Blink sketch to test the board (which was successful). I then attempted to test the Wifi by connecting to the Yun’s hotspot and then attempted to go to arduino.local which was unsuccessful. I then disabled my internet security software and attempted once again, unsuccessfully. I have reset everything that I know to no avail. I also attached the Yun to my PC through ethernet and attempted to connect which was also unsuccessful.
I would certainly appreciate any guidance in the matter. Thanks in advance.
Can you try going to 192.168.240.1?
If this doesn’t work either, you will need to verify that your computer has a good IP address. Is your computer running Windows? You can find it in the Network section of your computer’s Control Panel, or can also do it by command line.
For command line, press WindowsKey+R to open a Run window. Type “cmd” and hit enter. A window with black background and white text should appear. In this window, type “ipfconfig”. You should see a line that says “IPv4 Address”. Depending on your computer setup, there might be many lines like this.
Once you have your IP address (or addresses), does one of them start with 192.168.240 (the last numbers aren’t important for now)?
Jeffrey,
Thank you for your prompt response. In fact, 192.168.240.1 actually ended up working, which is somewhat surprising because I recall trying an address unsuccessfully. Regardless, thank you for your link.
Having logged into the Yun successfully, I set it up so that it would work off my local WiFi, and that seemed to work successfully. However, at this point, arduino.local still does not work and so I was wondering if there is some way I can still gain access to to the Arduin while on local WiFi. I reset the Yun Wifi to restart the Yun WiFi hotspot.
Thanks again.
EDIT: Looking around a bit, when logging into the Yun (through its own WiFi broadcast) and going to advanced settings, I found that “IPv4 WAN Status” was “Not connected” but under DHCP leases, all the devices that were listed had connected to the Yun WiFi. I’m still rather confused but thought this might be of some help.
Thanks once again.
When you configured the Yun to use your existing wifi, did you turn off the DHCP of the Yun? If not, you probably have two DHCP servers on your network (your local wifi router, and the Yun), and this can cause problems for the other computers on your network. I’d recommend turning off the DHCP of the Yun.
If arduino.local isn’t working, there seems to be something wrong with your computer or network that doesn’t support Multicast DNS properly. Many things can interfere with multicast DNS like firewalls and other security tools. There’s a few threads about this on the Arduino Forums, but they don’t always find a conclusive solution. I’ve always had problems with multicast DNS and other computers, so I just use the IP addresses.
Now that you’ve connected your Yun to your local wifi, it’s IP address is dynamically assigned and unpredictable. I’d recommend configuring the router for your wifi to assign a reserve IP address for your Yun. Then when you restart your Yun, it should get the new IP address.
If you want use a name like arduino.local in your browser instead of the IP address, you could use your computers hosts file to give it a “fake” domain name. The steps to do this would depend on what version of Windows (or other OS) you are using.
Jeffrey,
Thank you for your thoughts - I actually dug up an old Macbook and found that I could access yun.local (I changed the Yun’s name from arduino to yun). I then thought that if I installed Bonjour on my Windows machine that it would work, and it did. Since I am still not entirely sure of all the network details, I was wondering if the points you noted earlier could still possibly cause an issue.
Thank you so much once again.
I didn’t think about it, but the Bonjour service does include a multicast DNS client that can be used for this. Thanks for pointing that out!