-->
Page 1 of 2

Android phone no connection

PostPosted: Sat Aug 10, 2019 8:30 am
by hoppy707
Hi
I have a Geekcreit® ESP8266 5V WIFI Relay Module
I have installed EAYTCP on my Andorid phone, I can see the ESP network, however i can not connect to 192.168.4.1
I can ping the ESP using a laptop.
I have tried to connect via serial with no success also.
Any help would be appreciated :? :?

Re: Android phone no connection

PostPosted: Sat Aug 10, 2019 3:33 pm
by btidey
Questions

What firmware are you running on the esp8266 on relay module?

Are you seeing the AP (ssid) published by the module? It sounds like you are if you get the laptop to connect to that AP and can ping it.

Can you see the same AP (ssid) in the wireless connections set up on the phone?

What happens when you try to connect to it?

You will only get a result from EasyTCP if you have first successfully connected to it on the phone. Note that sometimes a phone will revert its network connection if it can't get an internet connection from the AP (which it won't). You have to then try again and it should then stick.

Re: Android phone no connection

PostPosted: Sat Aug 10, 2019 4:53 pm
by hoppy707
I have no idea, this was bought from Banggood and does not have a lot of information.
I tried to connect via serial with no success.
I see the SSID on both the Phone and Laptop, they both get assigned a IP , and I can ping from the laptop to the phone IP without a problem.
the SSID is AI-THINKER_AA3E9D - when connecting it connects to the wifi network with no internet connection (not worried about the internet connection)
Using EASYTCP on the phone, when connecting to the host it comes back with can not connect to host.
This is the IPconfig result from the laptop.
Wireless LAN adapter WiFi:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-N 7265
Physical Address. . . . . . . . . : 4C-34-88-F9-E8-04
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7d0a:f5c:fa66:4188%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.4.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Sunday, 11 August 2019 7:28:03 AM
Lease Expires . . . . . . . . . . : Sunday, 11 August 2019 9:28:03 AM
Default Gateway . . . . . . . . . : 192.168.4.1
DHCP Server . . . . . . . . . . . : 192.168.4.1
DHCPv6 IAID . . . . . . . . . . . : 206320776
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-24-8C-1A-9F-DC-4A-3E-05-5A-7C
DNS Servers . . . . . . . . . . . : 192.168.4.1

So the module is acting as a DHCP server.
When i try to use in chrome 192.168.4.1:8080, i get connection refused.
It appears the webserver on the module is not working.
Do you know of a way to fix this?
Or is this a DUD unit?
Also is there a way of adding this device to my existing network?
Thanks

Re: Android phone no connection

PostPosted: Sat Aug 10, 2019 7:57 pm
by hoppy707
Hi,
Thanks for the reply.
I do not the firmware version, how do I find that?
I bought this from banggood.
I am seeing the SSID published by the module AI-THINKER_AA3E9D - 192.168.4.1 on both the phone and laptop.
When i try to connect the connection is refused on the laptop and can not connect to host on phone.

Here is the IP config from the laptop once connected.
Wireless LAN adapter WiFi:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Intel(R) Dual Band Wireless-N 7265
Physical Address. . . . . . . . . : 4C-34-88-F9-E8-04
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : fe80::7d0a:f5c:fa66:4188%17(Preferred)
IPv4 Address. . . . . . . . . . . : 192.168.4.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Sunday, 11 August 2019 7:28:03 AM
Lease Expires . . . . . . . . . . : Sunday, 11 August 2019 9:28:03 AM
Default Gateway . . . . . . . . . : 192.168.4.1
DHCP Server . . . . . . . . . . . : 192.168.4.1
DHCPv6 IAID . . . . . . . . . . . : 206320776
DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-24-8C-1A-9F-DC-4A-3E-05-5A-7C
DNS Servers . . . . . . . . . . . : 192.168.4.1

I have been unsuccessful in connecting via serial using a serial cable connected to win7 computer using putty or realterm.
Do you have a foolproof way of connecting to serial, this ESP8266 is plugged in to the relay module board.
Thanks