   }
   // set sleep counter
   resetSleep(settings.period);
-  // Print hw address
-  char macstr[18];
-  snprintf(macstr, 18, "%02x:%02x:%02x:%02x:%02x:%02x", settings.mac[0], settings.mac[1], settings.mac[2], settings.mac[3], settings.mac[4], settings.mac[5]);
-  DBG Serial.print("HWAddr: ");
-  DBG Serial.println(macstr);
-  // Try to configure the ethernet using DHCP
   #ifndef NOETH
+    // Print hw address
+    char macstr[18];
+    snprintf(macstr, 18, "%02x:%02x:%02x:%02x:%02x:%02x", settings.mac[0], settings.mac[1], settings.mac[2], settings.mac[3], settings.mac[4], settings.mac[5]);
+    DBG Serial.print("HWAddr: ");
+    DBG Serial.println(macstr);
+    // Try to configure the ethernet using DHCP
     delay(2000);
     DBG Serial.println("Running DHCP...");
     if (Ethernet.begin(settings.mac) == 0) {

}

void loop() {
  // Make sure that update period is not too high
  #ifndef NOETH
    if ((settings.feed != 0) && (settings.period < MIN_ETHERNET_PERIOD)) {

  strcat (buffer,"]}");
}

#endif

void dumpToSerial() {
  // Print data also on the serial
  Serial.print("#");
