Go Down

Topic: Yun and Network Connection... (Read 948 times) previous topic - next topic

JBHall_RN

Having read the forums I am certain this is not a new problem but one that has pervasive for many.

When I first started my Yun, I followed the steps and was up loading sketeches.  No problem.
The next day, I could not connect to the Yun at all.  Either with the name I created or the standard IP address of 192.168.240.1 .  The web browser used was Chrome and the error was a time out error.

The Yun has Linux 1.5.3 flashed to it (per the configuration directions)

I have reset Passwords and even reverted the Yun back to factory settings and reflashed Linux to the Yun.  With the same result.

With each restart I am able to see the Yun as an access point and configure network settings (using utmost caution to make make sure network settings and passwords are correctly entered.  Upon restart, I am unable to connect to the Yun.

Lastly, I have also checked my router, the Yun does not appear on the list of connected devices.
I am certain that I have entered the settings correctly for the router into the Yun.
I also verified those settings by logging in with a different device and as a new network connection.

My trouble shooting has lead to the following possibilities...
1.  I am suspicious that I am hitting this problem due to a Dynamic network setting via the router, but if that is the case, should not the Mac Address show up on the router with a different IP?  Currently, the Mac Address does not even appear on the router.

2. Could I have a firewall issue?  Maybe, but one my trouble shooting steps was to attempt a log in with the firewall down.

3. Am I not setting something correctly for the Yun to act as a Client.  As the yun is designed, after a certain period of time, it reverts to being an Access Point, but when it does that, it still does not appear as a network to select from my PC.

4. Lastly, I may have a severe case of "rectal-cranial inversion."

I am typically stubborn enough to work through a problem on my one, but feel I could befit from some expertise.  The bottom line is, after network configuration I am unable to connect to the Yun via its name or standard IP.  (granted I should try a LAN connection, but the purpose of my project needs WiFi)  If nothing else, I have given everyone something to laugh at with this post, however I do appreciate your time and feed back.

Cheers,

John



ShapeShifter

Use the ISB port to load the "WiFiStatus" example sketch. Then, after you configure your network settings, you can use the USB port and the Serial Monitor to determine the actual WiFi network status. That might give you some clues.

You could also hook up an Ethernet cable between your Yun and your router. That will let you get to the management web pages, or an SSH shell, regardless of the WiFi status. That may also give you the extra info to figure out what is going wrong.

JBHall_RN

This worked,  thank you for your help.    The IP in my router was differnt  as compared to Yun standard IP.  Not sure why, but it solved the problem.  Thanks for your time.

ShapeShifter

was differnt  as compared to Yun standard IP.
Can you expand on this statement? What is a "Yun standard IP?" I don't know what that means, I suspect there is a misunderstanding of a concept or terminology.

You said this in your first post:
Either with the name I created or the standard IP address of 192.168.240.1 .
Are you saying that 192.168.240.1 is the "Yun standard IP?" If so, be aware that is the Yun's address ONLY when the Yun is acting as it's own access point during initial configuration. When you are connecting to another network, that address no longer applies: the address that the Yun uses on that network will come from the router, or will be manually assigned by you. In either case, the odds are infinitesimally small that the address will bec192.168.240.1.

jessemonroy650

Use the ISB port to load the "WiFiStatus" example sketch. Then, after you configure your network settings,
::::SNIP::::
@ShapeShifter,
I think you mean USB port here.
Jesse

jessemonroy650

Having read the forums I am certain this is not a new problem but one that has pervasive for many.

::::SNIP::::
@JBHall,
One additional tool to know about is the <shift>+<ctrl>+r _or_ <shift>+<Command>+r
There different variations on this depending on the webbrowser you are using.

This keyboard combination (or equivalent) does a "hard" get. The first example works Firefox. The purpose of this bypass the cache and get the webpage.

Let me know, if this is not clear.
TIA
Jesse

JBHall_RN

Thanks again for the additional information...

When I spoke of the "standard IP address" I was referring to the IP that appears on start up.  I have come to realize that the IP address is derived via the local network the YUN is connected to.  I did understand this, but did not apply this to the current situation I was in.  I apologize for for the confusion.

What I think my plan is going to be is to establish a static IP for the YUN.  One key step I omitted in my haste to get this up an running was to open the Arduino IDE and take note of the IP which the Yun is under.  The devil is always in the details.

I am also going use the "hard get" function more often.  That feels like I good time management tool.

Again, I appreciate all the help.

Cheers,

John

Go Up