I'm new here and I have a simple question.
My Purpose: I want to use the ESP8266 for a demonstration. I want to show that it is possible to connecdt to the internet using such a cheap device. Speed is not of interest, I only want to show that this is possible.
I need some help here because I was not succesful yet.
What I did already:
I changed the name of the Wifi to “EineKugelEis”, no password. I set the mode to 3.
In my smartphone and my notebook I can see the network with this name and I can connect them both to this network.
Now I want the ESP8266 to connect to the network “GRONAU” and route all queris via “EineKugelEis” to th network “GRONAU”
My network is in the rang 192.168.0.x, the devices connected to the ESP-device have IP-adresses in the range 192.168.4.x.
So here is what I achieved:
AT+GMR
AT version:1.3.0.0(Jul 14 2016 18:54:01)
SDK version:2.0.0(5a875ba)
Farylink Technology Co., Ltd. v1.0.0.2
May 11 2017 22:23:58
OK
AT+RST
..........
AT+CWMODE=3
OK
AT+CWLAP
.......
+CWLAP:(4,"GRONAU",-78,"90:5c:xx:xx:xx:xx",6,8,0)
.....
OK
AT+CWJAP="GRONAU","yyyyyyyyy"
WIFI DISCONNECT
WIFI CONNECTED
WIFI GOT IP
OK
AT+CWLIF
192.168.4.3,1c:4b:xx:xx:xx:xx
192.168.4.2,00:08:xx:xx:xx:xx
OK
AT+CIPAP?
+CIPAP:ip:"192.168.4.1"
+CIPAP:gateway:"192.168.4.1"
+CIPAP:netmask:"255.255.255.0"
OK
AT+CIFSR
+CIFSR:APIP,"192.168.4.1"
+CIFSR:APMAC,"6a:c6:xx:xx:xx:xx"
+CIFSR:STAIP,"192.168.0.184"
+CIFSR:STAMAC,"68:c6:xx:xx:xx:xx"
OK
As you can see communication to the device works. I can see the existing wifi-networks in my area.
On my router I deactivated the MAC-filter.
I do not see the mac-address of the ESP to appear in the list of devices connected to my router.
I can connect my smartphone and my notebook via “EineKugelEis” to the ESP-device.
But I cannot start a ping to any device on my normal network (like: ping 192.168.0.10).
So what is missing here? What did I do wrong?