Trouble with WIFI Connection

Hi,

first of all: i know several Users had this Problem before but i spent nearly 8 hours with checking Google and older Posts in this forum. However none of the proposed solutions could help me.

To my problem: The yun was working properly and i had no problems with accessing the web interface. But somehow i had the glorious idea to reset it to factory settings. Now i cannot access the web interface anymore via Wifi and even if I try pinging it, it times out(I checked the ip with ifconfig). The USB-Connection is working fine.

What i have tried so far:

  • resetting to factory settings
  • installing the new version(1.5.3)
  • running reset-to-factory-anyways(in failsafe mode)
  • checking wifi status, etc..
  • several other "solutions" which i don't remember in particular

If i forgot anything or further information is needed, let it me know. I hope someone can help me.

Regards

TheOssi:
Hi,

first of all: i know several Users had this Problem before but i spent nearly 8 hours with checking Google and older Posts in this forum. However none of the proposed solutions could help me.

To my problem: The yun was working properly and i had no problems with accessing the web interface. But somehow i had the glorious idea to reset it to factory settings. Now i cannot access the web interface anymore via Wifi and even if I try pinging it, it times out(I checked the ip with ifconfig). The USB-Connection is working fine.

You are a bit on the hazy side as to exactly how you are trying to access the web interface and exactly how you are trying to ping it.

Do you use the host name or the default IP (192.168.240.1)?
Do you have this problem only when using wireless or also when using a wired connection?

What is the IP info of the host you are trying to connect from? (IP address, subnet mask, gateway)?

Ralf

Yes i was using the default IP. It wasn't working with a wired connection aswell. But somehow the connection via LAN is working now and i'm currently using this to work with the yun. The Wireless Connection still isn't working. I tried it from different devices, so subnet or gateway should not be a problem.

I assume you already tried http://arduino.local? Also, keep in mind that it takes quite a long time to revert settings back to default AFTER reboot.

When Wifi messes up for me, I sometimes need to let the unit power off for 30 seconds or so before supplying power back to it. Also, have you tried the Ethernet port? You'd need to discover what the IP was via your DHCP server, but I believe the web interface will also serve out that port.

I've had that issue too. Normaly pressing the wlan-Button on the yun, sometimes rebooting it helped.
You're aware that resetting the wlan-settings will restore the yun's wlan hotspot to which you need to connect?

@TheOssi,
wifi problems are quite common. Here is a canned answer that will help get you started.

= [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 RESET buttons.

Lastly, before you do this make sure you backup any data you have on your Yun as it will be lost after this reset.

Resetting the processors (AR9331, WiFi, and 32U4)

Then start over, plug your Yun into the USB port, run this sketch, and hit the ''Wifi Reset button'' (for 5-10 seconds).

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.

Two attached images, Yun Reset Illustrations and Arduino Forum markup for code

Jesse

arduino_markup.png