how to change the IP 192.168.4.1 of the esp8266 ?
Posted:
Fri May 19, 2017 10:37 am
by ilyes
hi
can i change the IP 192.168.4.1 to another like this 192.168.173.1 for example ?
and how ?
thanks
Re: how to change the IP 192.168.4.1 of the esp8266 ?
Posted:
Thu May 25, 2017 5:08 am
by btidey
Are you using WifiManager to do the initial configuration and management of the network connection?
This does have a default 192.168.4.1 for the AP point used to do the initial network selection.
You can, however, change the default by using something like
wifiManager.setAPStaticIPConfig(IPAddress(10,0,1,1), IPAddress(10,0,1,1), IPAddress(255,255,255,0));
before calling autoConnect()