I can only get info level debugging which isn't particularly helpful.
with just debug logging enabled I get no wifi logging at all.
I have set up logging like this to try and get the wifi debug log.
Code: Select all
[admin@MikroTik] /system/logging> print
Flags: X, I - INVALID; * - DEFAULT
Columns: TOPICS, ACTION
# TOPICS ACTION
0 X* !info memory
1 * error memory
2 * warning memory
3 * critical echo
4 wireless memory
info
5 wireless memory
debug
The problem is with a cheap Chinese tuya smart thermostat.
It looks like it connects ok to the Wifi but is never given an ip address.. and nothing shows up in the DHCP log.
all other devices using the same 2.5ghz wifi connect fine, including some tuya smart bulbs.
the only wifi messages I get are.
Code: Select all
11:13:46 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 connected, signal strength -28
11:14:42 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 disconnected, connection lost, signal strength -29
11:14:46 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 connected, signal strength -29
11:15:42 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 disconnected, connection lost, signal strength -30
11:15:46 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 connected, signal strength -29
11:16:42 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 disconnected, connection lost, signal strength -28
11:16:46 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 connected, signal strength -29
11:17:42 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 disconnected, connection lost, signal strength -30
If I change the Wifi password so that it isn't what the IOT device expects I get
Code: Select all
11:21:42 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 connected, signal strength -28
11:21:48 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 disconnected, key handshake timeout, signal strength -30
11:22:42 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 connected, signal strength -30
11:22:48 wireless,info XX:XX:XX:XX:XX:B1@wifi2G1 disconnected, key handshake timeout, signal strength -29
I set it up using the Mikrotik at my house and it connected and worked fine.
Whenever she tries to link this tuya smart device it times out trying to link, so the above is with it pre linked at my house.
She has a load of smart light bulbs which work fine without any issues.
Hopefully with a better debug log I can work out exactly what is happening.
also any thoughts on any thing else I can try to diagnose this issue gratefully accepted.