updated hostnames to opencoil.local
This commit is contained in:
parent
3872fc45f4
commit
324f78569d
@ -32,13 +32,13 @@
|
||||
WiFi.softAP(ssid);
|
||||
dnsServer.start(DNS_PORT, "*", apIP); // redirect dns request to AP ip
|
||||
|
||||
MDNS.begin("esp8266", WiFi.softAPIP());
|
||||
MDNS.begin("opencoil", WiFi.softAPIP()); //work around for non-apple devices: just connect to wifi, open browser and navigate to opencoil.local
|
||||
Serial.println("Ready");
|
||||
Serial.print("IP address: ");
|
||||
Serial.println(WiFi.softAPIP());
|
||||
|
||||
//Over-the-Air updates
|
||||
ArduinoOTA.setHostname("ESP8266");
|
||||
ArduinoOTA.setHostname("opencoil"); //work around for non-apple devices: just connect to wifi, open browser and navigate to opencoil.local
|
||||
//ArduinoOTA.setPassword("change-me"); //disabled to allow data uploads
|
||||
ArduinoOTA.begin();
|
||||
SPIFFS.begin();
|
||||
|
@ -15,7 +15,7 @@
|
||||
ESP8266WebServer server(80);
|
||||
|
||||
#ifndef STASSID
|
||||
#define STASSID "\xF0\x9F\x9B\xB4 UNFLASHED"
|
||||
#define STASSID "fossils of late capitalism"
|
||||
//#define STASPSK "mypassword"
|
||||
#endif
|
||||
|
||||
@ -32,13 +32,13 @@
|
||||
WiFi.softAP(ssid);
|
||||
dnsServer.start(DNS_PORT, "*", apIP); // redirect dns request to AP ip
|
||||
|
||||
MDNS.begin("esp8266", WiFi.softAPIP());
|
||||
MDNS.begin("opencoil", WiFi.softAPIP());
|
||||
Serial.println("Ready");
|
||||
Serial.print("IP address: ");
|
||||
Serial.println(WiFi.softAPIP());
|
||||
|
||||
//Over-the-Air updates
|
||||
ArduinoOTA.setHostname("ESP8266");
|
||||
ArduinoOTA.setHostname("opencoil");
|
||||
//ArduinoOTA.setPassword("change-me"); //disabled to allow data uploads
|
||||
ArduinoOTA.begin();
|
||||
SPIFFS.begin();
|
||||
|
@ -15,7 +15,7 @@
|
||||
ESP8266WebServer server(80);
|
||||
|
||||
#ifndef STASSID
|
||||
#define STASSID "\xF0\x9F\x9B\xB4 UNFLASHED"
|
||||
#define STASSID "%Location????????"
|
||||
//#define STASPSK "mypassword"
|
||||
#endif
|
||||
|
||||
@ -32,13 +32,13 @@
|
||||
WiFi.softAP(ssid);
|
||||
dnsServer.start(DNS_PORT, "*", apIP); // redirect dns request to AP ip
|
||||
|
||||
MDNS.begin("esp8266", WiFi.softAPIP());
|
||||
MDNS.begin("opencoil", WiFi.softAPIP());
|
||||
Serial.println("Ready");
|
||||
Serial.print("IP address: ");
|
||||
Serial.println(WiFi.softAPIP());
|
||||
|
||||
//Over-the-Air updates
|
||||
ArduinoOTA.setHostname("ESP8266");
|
||||
ArduinoOTA.setHostname("opencoil");
|
||||
//ArduinoOTA.setPassword("change-me"); //disabled to allow data uploads
|
||||
ArduinoOTA.begin();
|
||||
SPIFFS.begin();
|
||||
|
@ -15,7 +15,7 @@
|
||||
ESP8266WebServer server(80);
|
||||
|
||||
#ifndef STASSID
|
||||
#define STASSID "\xF0\x9F\x9B\xB4 UNFLASHED"
|
||||
#define STASSID "Hello Capitalism"
|
||||
//#define STASPSK "mypassword"
|
||||
#endif
|
||||
|
||||
@ -32,13 +32,13 @@
|
||||
WiFi.softAP(ssid);
|
||||
dnsServer.start(DNS_PORT, "*", apIP); // redirect dns request to AP ip
|
||||
|
||||
MDNS.begin("esp8266", WiFi.softAPIP());
|
||||
MDNS.begin("opencoil", WiFi.softAPIP());
|
||||
Serial.println("Ready");
|
||||
Serial.print("IP address: ");
|
||||
Serial.println(WiFi.softAPIP());
|
||||
|
||||
//Over-the-Air updates
|
||||
ArduinoOTA.setHostname("ESP8266");
|
||||
ArduinoOTA.setHostname("opencoil");
|
||||
//ArduinoOTA.setPassword("change-me"); //disabled to allow data uploads
|
||||
ArduinoOTA.begin();
|
||||
SPIFFS.begin();
|
||||
|
@ -15,7 +15,7 @@
|
||||
ESP8266WebServer server(80);
|
||||
|
||||
#ifndef STASSID
|
||||
#define STASSID "\xF0\x9F\x9B\xB4 UNFLASHED"
|
||||
#define STASSID "followers"
|
||||
//#define STASPSK "mypassword"
|
||||
#endif
|
||||
|
||||
@ -32,13 +32,13 @@
|
||||
WiFi.softAP(ssid);
|
||||
dnsServer.start(DNS_PORT, "*", apIP); // redirect dns request to AP ip
|
||||
|
||||
MDNS.begin("esp8266", WiFi.softAPIP());
|
||||
MDNS.begin("opencoil", WiFi.softAPIP());
|
||||
Serial.println("Ready");
|
||||
Serial.print("IP address: ");
|
||||
Serial.println(WiFi.softAPIP());
|
||||
|
||||
//Over-the-Air updates
|
||||
ArduinoOTA.setHostname("ESP8266");
|
||||
ArduinoOTA.setHostname("opencoil");
|
||||
//ArduinoOTA.setPassword("change-me"); //disabled to allow data uploads
|
||||
ArduinoOTA.begin();
|
||||
SPIFFS.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user