diff --git a/tasmota/xdrv_82_ethernet.ino b/tasmota/xdrv_82_ethernet.ino index e20cde4e5..e1d973c62 100644 --- a/tasmota/xdrv_82_ethernet.ino +++ b/tasmota/xdrv_82_ethernet.ino @@ -95,6 +95,9 @@ void EthernetEvent(WiFiEvent_t event) { Serial.print(ETH.linkSpeed()); Serial.println("Mbps"); */ + Settings.ip_address[1] = (uint32_t)ETH.gatewayIP(); + Settings.ip_address[2] = (uint32_t)ETH.subnetMask(); + Settings.ip_address[3] = (uint32_t)ETH.dnsIP(); global_state.eth_down = 0; break; case SYSTEM_EVENT_ETH_DISCONNECTED: