Hi there. I'm really having a hard time trying to learn the Arduino. I'm struggling on getting a web page running off of it. I can't seem to get it work with any of the IDE examples or even the several examples I've found on the net. At first, I was wondering if it was a problem with me not getting the SD card function working (I still don't know if have that working or now), but after giving up on the online examples, I found an link that gave me the idea to check out the included examples, SimpleWebServerWifi and WifiWebServer, which should bypass the need for the SD card instructions of the other tutorials, and after the sketch is loaded, I try to say, load up say http://yourAddress/L and http://yourAddress/H in the SimpleWebServerWiFi example (replacing YourAddress with my Arduino's IP or yun.local), those pages aren't available.
I feel like I'm missing something, but I'm not sure where.
Make small steps.
I assume you can log in into the webinterface. Can you log in via both wifi and ethernet ?
Can you also log in with Telnet SSH (I use putty for that). If you know a few linux commands you can see if the SD card is available.
After that, try to write a website or webpage to the SD card, and test it with a browser via ethernet and wifi.
Then upload a simple sketch that uses the Bridge, and after that you can try the more advanced examples.
Nd4SpdSe:
I found an link that gave me the idea to check out the included examples, SimpleWebServerWifi and WifiWebServer, which should bypass the need for the SD card instructions of the other tutorials
I'm not familiar with the SimpleWebServerWiFi example, but WiFiWebServer is for the WiFi library, which is written for a regular Arduino and an Arduino WiFi shield. That code will simply not run on a Yun: the way the Yun implements the networking interface is completely different.
A simple test: if the example code has either of these statements up near the top, it will NOT work with the Yun:
#include "WiFi.h"
#include "Ethernet.h"
A second simple test: if the example WiFi code doesn't have BOTH of these lines somewhere in it, it will NOT work with the Yun:
#include "Bridge.h"
Bridge.begin()
The WiFi example MUST include the bridge library, MUST call Bridge.begin(), and must NOT include the WiFi or Ethernet libraries. Forget about any examples that do not pass this test, they will only confuse you.
Can we back up a minute... pick one of the examples you would like to try (make sure it passes the above tests) and please post it. Then post exactly what you are seeing when things go wrong. What you have posted so far is too generic for us to give you good advice.
Also, please post the end result that you are trying to accomplish. As mart256 mentions, there might be a better way to accomplish it.