   digitalWrite(SEARCH_LED, HIGH);
   digitalWrite(LED_BUILTIN, HIGH); //Turn off
 
-  char egIP[16] = "192.168.0.68";
-  char egsubnet[16] = "255.255.255.0";
+//  char egIP[16] = "192.168.0.68";
+//  char egsubnet[16] = "255.255.255.0";
   char eggateway[16] = "192.168.0.1";
   char egdns[16] = "8.8.8.8";
   char *digits;
-
-  digits = strtok(egIP, ".");
-  int k = 129;
-  while(digits != NULL ) {
-      Serial.println(atoi(digits));   
-      EEPROM.write(k,atoi(digits));
-      k++; 
-      digits = strtok(NULL, ".");
-   }
+  int k;
+//  digits = strtok(egIP, ".");
+//  int k = 129;
+//  while(digits != NULL ) {
+//      Serial.println(atoi(digits));   
+//      EEPROM.write(k,atoi(digits));
+//      k++; 
+//      digits = strtok(NULL, ".");
+//   }
    
-  digits = strtok(egsubnet, ".");
-  k = 133;
-  while(digits != NULL ) {
-      Serial.println(atoi(digits));   
-      EEPROM.write(k,atoi(digits));
-      k++; 
-      digits = strtok(NULL, ".");
-   }
+//  digits = strtok(egsubnet, ".");
+//  k = 133;
+//  while(digits != NULL ) {
+//      Serial.println(atoi(digits));   
+//      EEPROM.write(k,atoi(digits));
+//      k++; 
+//      digits = strtok(NULL, ".");
+//   }
 
   digits = strtok(eggateway, ".");
   k = 137;

        String qsid = server.arg("ssid");
        String qpass = server.arg("pass");
        String qdhcpEnable = server.arg("dhcpEnable");
        if (qsid.length() > 0 && qpass.length() > 0) {
          Serial.println("clearing eeprom");
          for (int i = 0; i < 128; ++i) { EEPROM.write(i, 0); }

  IPAddress esubnet(EEPROM.read(133),EEPROM.read(134),EEPROM.read(135),EEPROM.read(136));
  IPAddress egateway(EEPROM.read(137),EEPROM.read(138),EEPROM.read(139),EEPROM.read(140));
  IPAddress edns(EEPROM.read(141),EEPROM.read(142),EEPROM.read(143),EEPROM.read(144));

  Serial.println("Connecting with fixed IP");
  Serial.print("IP: ");
  Serial.println(estaticIP); 
  Serial.print("subnet: ");
  Serial.println(esubnet); 
  WiFi.mode(WIFI_STA);
