I've just got my YUN board. Downloaded correct IDE and was able to load Blink() sketch over USB. I connected to it from Wifi OK and reconfigured it to a new name and a new wifi network. Restarted and tried to connect to it over wifi. While I had no trouble connecting to it as an access point, I can't seem to get to it as a client device.
(Network is wpa2 and I have provided the proper password).
I downloaded WiFIStatus() example and I get the following from the device.
Current WiFi configuration
SSID: SW-Guest
Mode: Client
Signal: 68%
Encryption method: WPA2 PSK (NONE)
Interface name: wlan0
Active for: 7 minutes
IP address: 172.16.32.222/255.255.255.0
MAC address: 90:A2:DA:F0:29:EC
RX/TX: 31/14 KBs
So it appears to be on the network and even sending and receiving stuff periodically. However using Firefox on a Windows 7 machine on the same wifi network (I can surf the net over wifi), I get no response at http://name.local and no response at http://172.16.32.222.
Not sure where I can go from here. It was just supposed to work, right? =(
Yes, it was supposed to work. Have you installed bonjour printing services? http://arduino.cc/en/Guide/ArduinoYun#toc11 (at the end of the windows paragraph)
What's most strange is that you were unable to access it even with plain ip address
I have not installed bonjour printing services. Is there some reason I should have?
And yes, it confused me greatly when it didn't connect at the IP address. It works just fine on default settings.
BTW, my local wireless is listed by Windows as WPA2-PSK. Yun only gives me a choice of generic WPA2. Same thing? Or a problem? Doesn't seem like it should be an issue since it has an IP address on the WiFi, so it must have been able to join.
Hmm, doesn't respond to ping at that IP address either. Should it??
Judging from the 1K pings sent, it looks like they are not being received at the YUN. (I send lots of 1K sized pings, RX byte count still only goes up at the rate of when I'm not sending anything.)
genetucc:
I have not installed bonjour printing services. Is there some reason I should have?
There is. Read the guide.
From what you say, it seems that despite being the yun connected to your home wifi and despite your computer is on the same network, you cannot reach it. My only suspects go to a firewall on your computer or some configuration on your wifi hotspot.
Usually when I try to hand configure an IP setup, I have to set IP Address, Subnet Mask and Gateway. The IP address and Mask are OK and match my windows computer, but I don't see gateway. Can I assume that since it accomplished DHCP to get a valid IP address, it must also have the Gateway?
Having a no Gateway address would surely make for a short party.
OK, so Bonjour is helpful if I want to connect by name. Connecting by IP should have worked though, as should ping.
I'm installing Bonjour now, but I'm not too hopeful it will help right now.
Sadly I'm at work now, so the router is not under my control. It's basically a guest services router which connects guests of our company to the internet, but not the internal networks. Aside from the WPA2 password, I don't think there's anything special about it.
OK, Really strange Public WiFI. Intercepts lots of the traffic and does weird things. Switched to another wifi and I'm up and running.
Thanks for the support.