mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
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.
This commit is contained in:
committed by
Ivan Grokhotkov
parent
2d9e767630
commit
97373e716d
@ -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
|
||||
|
Reference in New Issue
Block a user