network conection lost when router is down
-
Yes, sorry for the tricky title LOL.
This ois the issue Im facing: power goes down, so printer goes down and also the wifi router goes down. Or sometimes, and this is worst I think, power of the wifi router goes down and so the printer looses its conection to the network.
When router is on again, the printer seems to not connect again.My config is a duet3 with SBC (raspberry pi 3 B+)
So in this scenario, the printer continues to print but it is not conected to nwetwork so I cant access DWI.I guess the reconection should be a task the SBC should do, but it is not doing it.
Should the SBC reconnect automatically when router is on again? -
Version in use?
-
@Phaedrux version is 3.5.3
-
It should automatically reconnect as far as I can tell.
Doing a quick google for raspberry pi auto reconnect wifi brings up a lot of discussion, so maybe you can find something there that points you in the right direction.
-
Thanks for the help.
lets close the topic, It is not related really to the duet. I found the problem: if router goes down and then recovers power, at least on this particular router and internet provider, the router and the printer reconnect again, but the dhcp server on router just give the printer internal network config but ont the required config to get out to internet, and also something happens with the internal dns name ".local" wich is not founded again by other devices reconnecting.
Reconnection should happened only after the router reconnect to the ISP.
I added a crontab job every 10 minutes on the raspberry to handle these event, I post the info here just in case somebody else have this "problem":sudo nano /home/pi/reconnect_wifi.sh :
#!/bin/bash
if ! ping -c 1 -W 1 8.8.8.8; then
sudo ip link set wlan0 down
sudo ip link set wlan0 up
fisudo chmod +x /home/pi/reconnect_wifi.sh
sudo crontab -e:*/10 * * * * /home/pi/reconnect_wifi.sh
-
undefined jay_s_uk marked this topic as a question
-
undefined jay_s_uk has marked this topic as solved