Chat freely about anything...

User avatar
By captbill
#30319 Thanks for this all purpose tool for the ESP. I have it almost working on the ESP-12 (AI-THINKER board). I can flash it and log on to wifi ok, but only to the "Home_Net-guest" account of my router. It gives me an ip ok but I cannot Telnet to it. Oh so close though.

It is certainly my network/router setup that is the issue. I've tried every thing possible with the stock Linksys software.

Question: What telnet address should I be connecting to 192.168.33.112 or 192.168.33.1, other ? Just being certain of this one thing would help a lot to troubleshoot the router.

Any ideas appreciated!

Here is a successful log in to "Home_Net-guest":
Code: Select allconnected with Home_Net-guest, channel 1
dhcp client start...
cnt
chg_B:-120
chg_B:-60
ip:192.168.33.112,mask:255.255.255.0,gw:192.168.33.1


Here is it failing into an indefinite loop attempting to scan/login to the "Home_Net" access point (the main network):
Code: Select allConfigure wlan, set ssid="Home_Net", passwd="<mypass>"
state: 5 -> 0 (0)
rm 0
pm close 7 0 0/216588
f 0, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
pm open phy_2,type:0 0 0
cnt
state: 5 -> 2 (fc0)
rm 0
pm close 7 0 0/8080614
reconnect
state: 2 -> 0 (0)
f -180, scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 2
...
...
...
User avatar
By eriksl
#30331
Code: Select allip:192.168.33.112,mask:255.255.255.0,gw:192.168.33.1

This says your esp8266 is .112 and your gw (= gateway = router) is .1. So you must telnet to the .112. By default the command port is on port 24, the bridge is on port 25. If you get a connection but nothing happens when you enter a command, you probably used the wrong port (happens to my every once in a while).
User avatar
By captbill
#30383
eriksl wrote:
Code: Select allip:192.168.33.112,mask:255.255.255.0,gw:192.168.33.1

This says your esp8266 is .112 and your gw (= gateway = router) is .1. So you must telnet to the .112. By default the command port is on port 24, the bridge is on port 25. If you get a connection but nothing happens when you enter a command, you probably used the wrong port (happens to my every once in a while).


By disabling all the encryption to the wifi login it works a charm. My stock router firmware forces the 192.168.33.xx "guest" login with WPA2 or anything else.

Are you running any type of "virtual com port" on the server side? I have HW Virtual Serial Port 3.1.2 working on Win7-64, it does appear. Haven't quite managed a full "round trip" with it yet.

http://www.hw-group.com/products/hw_vsp/index_en.html

I have managed to get the AI_THINKER ESP-12 board figured out except for the analog pin. Is analog supported yet?

This should be pre-loaded from the factory! Great work.

Regards,
Bill
User avatar
By eriksl
#30396 It should work with WPA and WPA2 though.

No I don't have analogue input support yet, but I am planning to add it. Probably something with oversampling because the input isn't very precise (certainly not netto the 10 bits).

I don't know how to connect USB stuff to Windows - not using any ;)