Arduino YUN cannot connect to WIFI

Hi All,

My Arduino Yun has been very unstable lately, A lot of times when I tried to connect it via WIFI, I can go to the configure page to setup everything, but once it is restarted, it cannot open the configured page. So for example if my arduino has IP: 192.168.240.1, and I go to that IP address and changed the name to myarduino.local, that page cannot be opened.

Does anyone has any idea what is the problem here?

Are you trying to connect to your home network or a public network?

Catalyst0001:
Are you trying to connect to your home network or a public network?

I have tried both, even my phone's hotspot, they all behave the same.

Have you tried pinging the Arduino to make sure your computer can access it?
Like

ping 192.168.240.1

?

lights0123:
Have you tried pinging the Arduino to make sure your computer can access it?
Like

ping 192.168.240.1

?

Yes, I can ping it when I first connect to the Arduino YUN xxxx-xxxxxxxxx newtwork, but after I configure it and the board restarts, I cannot connect to it anymore.

Once you configure it, you say you can't access it with "myarduino.local" but can you still access it using the IP address?

If you can access it using the IP address, what kind of computer are you trying to access it from? Windows, Mac, Linux, Android, etc?

If can't access it using the IP address, are you sure you configured the network properly?

Try loading the YunSerialTerminal sketch, connect to it with the serial monitor over USB, configure it with the configuration page. As it reboots after configuration, there should be a lot of boot messages printed. Wait for the board to fully boot and then wait two minutes more after the output completely stops, and then post a copy of everything that is printed. (The two minute wait is because if it can't associate with the wireless network, it will reset and reboot and I want to see if that is happening.

Have you tried plugging in the wired Ethernet? If so, can you then reach the board by IP address or "myarduino.local"?

Do you have Bonjour installed on your PC, as mentioned all over the place?

Without that, the resolution by name simply can not work...

Ralf

I'm currently having the same issue. Once the Yun is configured to be on my wifi it is no longer accessible with arduino.local or with the ip address. I've tried pinging the address as well and it times out. I've uploaded the YunSerialTerminal sketch but to be honest I've only had experience with the Uno and I'm not sure how to configure from this point on as mentioned in ShapeShifter's post.

anyhelp?

thanks!

just wanted to add, the YunSerialTerminal sketch states that I should see the boot process of Linx and I do not. It is set to the correct baud rate also if I make sure the baud rate is the correct on by entering ~1 in serial monitor it does read back that serial rate is set to 115200. I've tried reloading but nothing shows up in the serial monitor.

ok I have an update. I needed to hit the reset on the board to watch it boot in the serial monitor. I saw everything. Also I could not connect with the ip because it had a different IP. I noticed once it rebooted. Everything seems to be working now.

Howme:
ok I have an update. I needed to hit the reset on the board to watch it boot in the serial monitor. I saw everything. Also I could not connect with the ip because it had a different IP. I noticed once it rebooted. Everything seems to be working now.

@Howme,
please start a new thread with your problem. Do not hi-jack this one.

Jesse

Jesse, no intent on hijacking. It was literally the same problem. I'll quietly move on...

Hi All,

I have a similar problem but in my case after I configured my Arduino Yun I can reach it with my own name only for a few seconds (just after clicking "You'll find it here"). After that it's no longer available in my Chrome browser using my Home Wifi.

I'm using a Mac-Yosemite and I got off a work VPN.

Someone can help me understand the problem?

Thanks!

cchavez:
::::SNIP::::

Someone can help me understand the problem?

Thanks!

Yes, Please start a new thread. Describe your problem in full? Let us know, what OS you are using on your development machine. Also, Let us know, if you have done all the upgrades.

In the meantime, please read this:

= [Q:] I cannot connect to My Arduino Yún. What do I do? =

First it's good to know, when Arduino Yun cannot find the AP you have set it for (like your home wifi), it has a script that puts it back into default SSID and AP mode.

Next, you may have already watched this video, but it's worth watching again. Pay extra attention to the part with the sketches.
Getting started with Arduino Yún - tutorial (6:53)

Then, read these short instructions. We (the volunteer support group) already know these steps by heart, so be familiar with the different reboot methods, and especially the 30+ second wifi reset. Also, not mentioned on that page, if you reset the Wifi/Linux part of the Yun, it will take from 2-8 minutes for the reboot. Lastly on this part, YOU MUST WAIT for the Linux portion to fully boot BEFORE YOU PRESS ANY of the REST buttons.
Resetting the processors (AR9331, WiFi, and 32U4)
http://arduino.cc/en/Guide/ArduinoYun#toc6

'''Then start over''', plug your Yun into the USB port, run this sketch, and hit the ''Wifi Reset button'' (for 5-10 seconds).
http://arduino.cc/en/Tutorial/YunSerialTerminal

The ''YunSerialTerminal'' provides a simplified console access to the Linux part of the Yun. It works via the USB port (the one that powers the Yun - the microUSB). From there you'll be able to run a few commands to give us a better idea of problems.

Also, be ready with this sketch YunWiFiStatus. This sketch will help us see the status of your home AP. The sketch prints the wifi status to the console every 5 seconds or so. This sketch might seem familiar as it was in that first video link (above).

Let us know how it goes.
Post results from the YunSerialTerminal, if you are still having problems.
Please use markup when posting results. (See attached image)

It is also go to be familiar with http://arduino.cc/en/Tutorial/LinuxCLI

Lastly, this was just posted this weekend:
|CODE] Sketch to assist in troubleshooting Wifi
http://forum.arduino.cc/index.php?topic=328407.0

Jesse

arduino_markup.png