From 97373e716d33379e7ae3d96ffc221c5d1c16179a Mon Sep 17 00:00:00 2001 From: Dhruv Acharya Date: Mon, 8 May 2017 16:05:40 +0530 Subject: [PATCH] Add instructions how to re-enable DHCP (#2600) In WiFi.config, if we pass 0.0.0.0 for all three parameters (as local_ip, gateway and subnet mask), it will re enable the DHCP. We need to re connect the device to get the IP from router. --- doc/esp8266wifi/station-class.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/esp8266wifi/station-class.md b/doc/esp8266wifi/station-class.md index 5d60e6337..78453e76a 100644 --- a/doc/esp8266wifi/station-class.md +++ b/doc/esp8266wifi/station-class.md @@ -137,7 +137,7 @@ Connecting to sensor-net . Connected, IP address: 192.168.1.22 ``` -Please note that station with static IP configuration usually connects to the network faster. In the above example it took about 500ms (one dot `.` displayed). This is because obtaining of IP configuration by DHCP client takes time and in this case this step is skipped. +Please note that station with static IP configuration usually connects to the network faster. In the above example it took about 500ms (one dot `.` displayed). This is because obtaining of IP configuration by DHCP client takes time and in this case this step is skipped. If you pass all three parameter as 0.0.0.0 ( local_ip, gateway and subnet), it will re enable DHCP. You need to re connect the device to get new IPs. ### Manage Connection