WiFi not working

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
RonaldTheFox
New user
Posts: 7
Joined: 15 Jan 2021, 17:24
Contact:

WiFi not working

#1 Post by RonaldTheFox » 15 Jan 2021, 17:48

I ve got a number of ESP8266 mini (produced by doit.am). I can flash the units, no problem. However the WiFi does not work at all. IF I can connect it times out. Windows claims it 'is using an old version of the security protocol'. Tried various ESPEasy firmware versions (latest used is mega 20201227, both 4M1M and 1M). All give the same problem: everything seems to be working (as far as I can tell) except WiFi. The board is OK: when I flash it with microPython it all works including WiFi.
Does anyone have any clues as to where this problem stems from? Any suggestions?
Photos of the board attached.
Attachments
ESP2.png
ESP2.png (996.25 KiB) Viewed 8277 times
ESP1.png
ESP1.png (959.47 KiB) Viewed 8277 times

User avatar
Ath
Normal user
Posts: 3481
Joined: 10 Jun 2018, 12:06
Location: NL

Re: WiFi not working

#2 Post by Ath » 15 Jan 2021, 19:27

Could you try a bin file with alt_wifi in the name? Maybe that works on your unit.
/Ton (PayPal.me)

RonaldTheFox
New user
Posts: 7
Joined: 15 Jan 2021, 17:24
Contact:

Re: WiFi not working

#3 Post by RonaldTheFox » 15 Jan 2021, 19:33

Thanks - tried that already, same problem...

TD-er
Core team member
Posts: 8736
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WiFi not working

#4 Post by TD-er » 15 Jan 2021, 20:41

Hmm never heard of Windows rejecting to connect to the AP of the ESP.

Can you try to connect to the ESP via (USB) serial?
For example using some terminal program like Putty with 115200 baud (default for other serial settings)
When connected, the ESP is likely to reboot (if the board uses one of those square USB to UART chips), and starts showing the logs.
In this mode, it also accepts commands via the serial port, so you can try to set the WiFi credentials manually.

Code: Select all

wifissid myssid
wifikey topsecretkey
save
Of course you have to replace your SSID and key of your AP.
N.B. You are not allowed to correct a typo, so make sure the echo'ed command is as expected.

After saving, the node will likely try to connect to WiFi, so you can see the result in the logs. (and the received IP from DHCP)

chemmex
Normal user
Posts: 92
Joined: 15 Feb 2019, 16:18

Re: WiFi not working

#5 Post by chemmex » 16 Jan 2021, 05:54

I had to throw away all my modules from doit.am looking exactly like yours. They have different schematics from other modules, I believe that the antenna is completely unmatched. How come they are being sold by a vendor with a name - I have no idea.
Mine flashed well too, but the packet loss was terrible.

As to the Windows complaining to the old encryption algorithm: this happens when the module starts AP in 802.11g mode which doesn't support WPA2 but WPA only.
Although it may look confusing, my Windows 10 does connect to this AP without any problem

RonaldTheFox
New user
Posts: 7
Joined: 15 Jan 2021, 17:24
Contact:

Re: WiFi not working

#6 Post by RonaldTheFox » 16 Jan 2021, 08:01

Can you try to connect to the ESP via (USB) serial?

Tried all that and it all seems to work.
Set WiFi using serial commands and they show up nicely in "settings". Reboot and they are all gone again...

RonaldTheFox
New user
Posts: 7
Joined: 15 Jan 2021, 17:24
Contact:

Re: WiFi not working

#7 Post by RonaldTheFox » 16 Jan 2021, 08:06

I had to throw away all my modules from doit.am looking exactly like yours

I think you confirmed my suspicion... Incompatible board. I am just baffled they all work fine with microPython and was hoping someone got ESPEasy to work as well.
I guess I will use them for microPython stuff only and use 'proper' boards for ESPEasy...

TD-er
Core team member
Posts: 8736
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: WiFi not working

#8 Post by TD-er » 16 Jan 2021, 09:58

Do you have a link to those boards?
Then I can get some to test why it doesn't work.

Or maybe can you send me one via the mail?

User avatar
Ath
Normal user
Posts: 3481
Joined: 10 Jun 2018, 12:06
Location: NL

Re: WiFi not working

#9 Post by Ath » 16 Jan 2021, 11:04

RonaldTheFox wrote: 16 Jan 2021, 08:01 Set WiFi using serial commands and they show up nicely in "settings". Reboot and they are all gone again...
You have clicked the Submit button at the bottom of the page, right?
/Ton (PayPal.me)

RonaldTheFox
New user
Posts: 7
Joined: 15 Jan 2021, 17:24
Contact:

Re: WiFi not working

#10 Post by RonaldTheFox » 16 Jan 2021, 14:59

Yes, pressed submit (of course).. ;-)

RonaldTheFox
New user
Posts: 7
Joined: 15 Jan 2021, 17:24
Contact:

Re: WiFi not working

#11 Post by RonaldTheFox » 16 Jan 2021, 15:11

TD-er wrote: 16 Jan 2021, 09:58 Do you have a link to those boards?
Then I can get some to test why it doesn't work.

Or maybe can you send me one via the mail?
Yes, can send one - can you PM me your address?

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 30 guests