32
of 76
TEP , The Engineering Projects , Image

syedzainnasir

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon
Yun WiFi connection
TEP , The Engineering Projects , Calender Question: 01-Mar-2017
TEP , The Engineering Projects , Category In: Arduino Projects
Hi, I was wondering if is possible to configure the arduino yun to connect to several wifi's automatically without having to configure it for one in specific. Let's say I have WiFi A, B and C, and if I reach any of those wifi's my arduino will connect to it automatically.

Also, is there a way to prevent the yun from loosing it's connection to a wifi? I find myself sometimes working with the arduino and when I'm not using the arduino after a while it stop responding to the command I send over the internet, I hope I made myself clear enough.

Thanks in advance!
TEP , The Engineering Projects , Icon Answer: 2 TEP , The Engineering Projects , Icon Views: 150 TEP , The Engineering Projects , Icon Followers: 85
Small Bio
TEP , The Engineering Projects , Image

adiono

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon

RE:

Yun WiFi connection
TEP , The Engineering Projects , Calender Comment: 01-Mar-2017
TEP , The Engineering Projects , Category In: Arduino Projects
[quote=Martin post_id=206 time=1488367442 user_id=82] Hi, I was wondering if is possible to configure the arduino yun to connect to several wifi's automatically without having to configure it for one in specific. Let's say I have WiFi A, B and C, and if I reach any of those wifi's my arduino will connect to it automatically.

Also, is there a way to prevent the yun from loosing it's connection to a wifi? I find myself sometimes working with the arduino and when I'm not using the arduino after a while it stop responding to the command I send over the internet, I hope I made myself clear enough.

Thanks in advance! [/quote]
I have the same issue... wifi loses connection from time to time... is there a way to restart the yun (or wifi) via python script or sketch or something, when the internet connection drops?

currently I'm running a script which pings google.com to see wether internet is up or not... but I can't figure out the restarting....

in /etc/rc.local there is the line "wifi-live-or-reset", which works at boot...but how to (or should we) run that with python?! is there a better solution?
TEP , The Engineering Projects , Tick Correct Answer
Comment Bio
TEP , The Engineering Projects , Image

adiono

TEP , The Engineering Projects , Rating 7.5 7.5 / 10
TEP , The Engineering Projects , Icon Level: Moderator
TEP , The Engineering Projects , Icon Joined: 20 Mar 2022
TEP , The Engineering Projects , Icon Last Active: 2:21 PM
TEP , The Engineering Projects , Icon Location: TEP , The Engineering Projects , Flag
TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon TEP , The ENgineering Projects , Icon

RE:

Yun WiFi connection
TEP , The Engineering Projects , Calender Comment: 01-Mar-2017
TEP , The Engineering Projects , Category In: Arduino Projects
[quote=William post_id=207 time=1488367502 user_id=64] [quote=Martin post_id=206 time=1488367442 user_id=82] Hi, I was wondering if is possible to configure the arduino yun to connect to several wifi's automatically without having to configure it for one in specific. Let's say I have WiFi A, B and C, and if I reach any of those wifi's my arduino will connect to it automatically.

Also, is there a way to prevent the yun from loosing it's connection to a wifi? I find myself sometimes working with the arduino and when I'm not using the arduino after a while it stop responding to the command I send over the internet, I hope I made myself clear enough.

Thanks in advance! [/quote]
I have the same issue... wifi loses connection from time to time... is there a way to restart the yun (or wifi) via python script or sketch or something, when the internet connection drops?

currently I'm running a script which pings google.com to see wether internet is up or not... but I can't figure out the restarting....

in /etc/rc.local there is the line "wifi-live-or-reset", which works at boot...but how to (or should we) run that with python?! is there a better solution? [/quote]
You should check this post out, A complete code how to connect to Wifi SSID automatically. Here's the link: http://www.theengineeringprojects.com/2016/02/automatically-connect-with-wifi-ssid-using-arduino-yun.html
it's an interesting project, but the Yun already connects - unless it cannot find the AP. That article might be best if advertised that way.
TEP , The Engineering Projects , Tick Correct Answer
Comment Bio
TEP , The Engineering Projects , Tags
PLC
Robot
STM32
Arduino
AI
ESP32
Ladder Logic
PLC Projects
Programming
Communicates STM32
PLC Projects
Communicates PLC
Font Style
Alignment
Indenting and Lists
Insert Media
Insert Items

Want to leave an answer!

Word Count :0 Draft Saved at 12:42 am.