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!