How to Programatically change the Wifi settings in Arduino Yun from Linino

Hi,

Is there a way, I can change the WiFi settings from one network another network programatically using python or c/C++ from Linino OS

Thanks for any pointers

Regards

BRE

http://forum.arduino.cc/index.php?topic=216850.msg1586874#msg1586874

Hi Sonnyyu,

Thanks. This is exactly what I was looking for.

Super

karma++

Regards
BRE

Hi,

I'm a newbe to Linux and Python.

Do you know if it would be possible to:
A) Perform a WIFI reset programatically (equivalent to the 5 seconds press on the reset button)?

B) Get the yun into access point mode so that I can enter credentials for a new WIFI network (without loosing previously entered credentials)?

Ideally I would use Python as much as possible.

Thanks and Regards,

Bertil

A copy of the credentials is available in file /etc/config/arduino.
In order to programmatically reset wifi, use command wifi-reset-and-reboot

Thanks Federico !