I’ve got the log.
Look how weird it is after the router reboot. Arduino/W5100 fails DHCP and gets a weird IP (wrong subnetwork) and then fails the connections.
After I power cycle the board again it gets the proper IP and starts to work again.
Any toughts on this?
#########################################################
WORKING PROPERLY - IP 192.168.0.14
#########################################################
[0] MAC: FE-39-E8-6-BA-B6
[4628] IP: 192.168.0.14
[4628] Connecting to 52.4.184.212:1883
[5226] Connected
[13663] Channel 4, pin 4, value 1
[16226] Channel 4, pin 4, value 0
[18677] Channel 7, pin 7, value 1
[22593] Channel 7, pin 7, value 0
[24842] Channel 6, pin 6, value 1
[26169] Channel 6, pin 6, value 0
#########################################################
NOT WORKING PROPERLY - DHCP FAILS IP 192.168.1.11 ??
#########################################################
[0] MAC: FE-39-E8-6-BA-B6
[60450] DHCP failed, retrying
[119261] IP: 192.168.1.11
[119262] Connecting to 52.4.184.212:1883
[151190] Network connect failed
[154000] Network connect failed
[156809] Network connect failed
[159618] Network connect failed
[162427] Network connect failed
[165236] Network connect failed
[168046] Network connect failed
#########################################################
WORKING PROPERLY - IP 192.168.0.14
#########################################################
[0] MAC: FE-39-E8-6-BA-B6
[6580] IP: 192.168.0.14
[6581] Connecting to 52.4.184.212:1883
[38507] Network connect failed
[39839] Connected
[131429] Channel 4, pin 4, value 1