AT+CIPSTART - DNS Fail

ballj19
Posts: 2
Joined: Tue Mar 08, 2016 3:24 am

AT+CIPSTART - DNS Fail

Postby ballj19 » Tue Mar 08, 2016 3:27 am

I am having issues connecting to the web when using a mobile hotspot.

Here is an example of what happens when I try using the WiFi from my iPhone's hotspot
failedconnection.png


I cannot get AT+CIPSTART to connect to any web server, and get DNS Fail whenever I try.
I have the same issue using a TP-Link TL-WN725N in access point mode. To clarify, I can get the ESP8266 to connect to both of these using AT+CWJAP, the problem lies with the CIPSTART command.

Whereas when I use the WiFi from my home router the connection succeeds.
workingconnection.png


I need to be able to use the ESP8266 away from home, does anyone have any advice on how to use a hotspot connection?

ESP_Faye
Posts: 1640
Joined: Mon Oct 27, 2014 11:08 am

Re: AT+CIPSTART - DNS Fail

Postby ESP_Faye » Fri Mar 11, 2016 2:33 pm

Hi,

Please have a try with the attachment. If your problem is still unsolved, please feel free to let us know.
Attachments
AT_TEST.zip
(807.08 KiB) Downloaded 292 times

ballj19
Posts: 2
Joined: Tue Mar 08, 2016 3:24 am

Re: AT+CIPSTART - DNS Fail

Postby ballj19 » Wed Apr 06, 2016 3:58 am

When I flashed my chip with the attached firmware my ESP8266 returned jumbled characters on boot-up and would not respond to any commands. I reverted to the latest version 1.5.2 and it is functioning the same as before, with the DNS fail on CIPSTART.

ESP_Faye
Posts: 1640
Joined: Mon Oct 27, 2014 11:08 am

Re: AT+CIPSTART - DNS Fail

Postby ESP_Faye » Wed Apr 06, 2016 10:55 am

Hi,

Please download the bin files into Flash using ESP Flash Download Tool.

If your problem is still unsolved, please provide the captured picture of ESP Flash Download Tool while downloading, and the bin files you downloaded and the corresponding address.

Please notice that blank.bin needs to be downloaded in 2 different addresses as initialization.

kalarav.parmar
Posts: 1
Joined: Sun Mar 18, 2018 2:52 am

Re: AT+CIPSTART - DNS Fail

Postby kalarav.parmar » Sun Mar 18, 2018 3:01 am

Hi,
I had to face the same problem not connecting to DNS due to ESP8266 not getting a proper IP address.

Normally all router provides IP address ranges from 192.168.1.xx to 192.168.1.xx.
But android mobile hotspot provides ranges from 192.168.43.xx I had ser according to that IP address was 192.168.43.8 and it's working fine.

ESP_Faye
Posts: 1640
Joined: Mon Oct 27, 2014 11:08 am

Re: AT+CIPSTART - DNS Fail

Postby ESP_Faye » Thu Jun 14, 2018 4:35 pm

Hi,

This is an very old issue two years ago. The solution has already merged in our AT long time ago.

If you still have a DNS issue, please check:
  • AT+RESTORE to initialize the module first, to see if it solves the problem.
  • To check if the router is 5G only. ESP8266 can only support 2.4G.
Thanks.

andreysnug
Posts: 21
Joined: Wed May 16, 2018 12:33 pm

View first unread post

Postby andreysnug » Tue Aug 28, 2018 7:09 am

Clicking that link always just takes me to the first post of the thread. Is there any way to fix this?

Who is online

Users browsing this forum: No registered users and 0 guests