-->
Page 1 of 2

Change ssid and password in the Arduino IDE for ESP8266 12e

PostPosted: Fri Mar 04, 2016 7:35 pm
by mbeckwith
Hello Everyone,

I apologize if this has already been covered but I was unable to find an answer using search terms. I flashed my chip with the basic WIFIaccespoint sketch. I am now unable to change the ssid and password from the values I set during the initial flash. I have been able to upload brand new code to the chip, but the ssid and password remain the same no matter what I try. I have read that the chip stores these values in a separate location. How do I change these values using the Arduino IDE? If it is not possible using the Arduino IDE, please let me know what tools I need to use. Thank you everyone in advance, and I look forward to sharing my knowledge with other just as soon as I master this little chip!

Re: Change ssid and password in the Arduino IDE for ESP8266

PostPosted: Fri Mar 18, 2016 1:32 pm
by harpop
Hello mbeckwith,
I had the same problem. The problem in my case was that the password was too short. Once I changed the password to be more than 8 letters it worked !

Re: Change ssid and password in the Arduino IDE for ESP8266

PostPosted: Fri Mar 18, 2016 3:08 pm
by xtal
I just changed a ESP8266 sketch to act as AP and STA , I need to change the 192.168.4.1 to other address, I have found a couple of procedures that did not work,, ie can't get the code to compile, probably missing needed define.

Where is the 192.168.4.1 in the source code , I have no problem changing it there.....

Re: Change ssid and password in the Arduino IDE for ESP8266

PostPosted: Fri Mar 18, 2016 7:39 pm
by xtal
current Ip's 192.168.4.1, 192.168.1.38
Tried--
IPAddress Ip = (192, 168, 5, 1);
IPAddress Gw = (192, 168, 5, 1);
IPAddress Nm = (255, 255, 255, 0);
WiFi.softAPConfig(Ip,Gw,Nm);

THEN - will not connect ....................