Go Down

Topic: ESP2866 Wi-fi module not pinging (Read 207 times) previous topic - next topic

aelorduy

Jul 11, 2018, 10:19 am Last Edit: Jul 11, 2018, 11:59 am by aelorduy
I have been working with a water flow counter which sends data over wifi. I'm using an ESP2866 wifi module. Everything is correctly connected and I've gotten to the point where it's correctly connected to the wifi network and everything, except when I try to ping its IP adress from the cmd (192.168.1.125) it times out.

I know this info has something to do: I have read it's something about my ipv4 not being 192.168... But i'm not sure if that's the issue or if so, how to fix it.

ESP2866 Module IP adress: 192.168.1.125
My IPV4 Adress is: 192.192.10.125
Subnet mask: 255.255.255.0
DNS servers: 192.192.10.129
Default gate: 192.192.10.252

Juraj

why the address 192.192.10.125? is it the address of the esp8266. the 192.168.1.125 is the IP address of the computer?
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

aelorduy

The adress of the esp8266 is 192.168.1.125 ad my computer's seems to be 192.192.10.125

Juraj

are they in the same network? why got the esp8266 a standard local network IP address and the computer a 192.192 address?
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

aelorduy

Yes they are in the same network, I should state that it's a company network, not my home wifi. Should I be able to establish a connection if I changed the ESP2866's IP adress to 192.192....? Because I don't think I would be able to change the company's IP adress (If it's really necessary to change it I could speak to the network manager).

Juraj

let the esp8266 get the IP address over dhcp
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

aelorduy


Juraj

how do you set  the address now?
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

aelorduy

I changed the ESP8266 module's IP to the same of the computer. I don't know how is this not creating any conflict. However, if I try to ping, I get a response but I don't know if it is from the module or my computer as they now have the same IP

Juraj

you should not set address. the esp8266 should get it from the dhcp service
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.

Go Up