5 ms·
I ended up running a script on launch that pings 127.0.0.1 every 5 seconds - my Wifi was disconnecting every few minutes and this has fixed the problem for the
by marquis 13y ago
I ended up running a script on launch that pings 127.0.0.1 every 5 seconds - my Wifi was disconnecting every few minutes and this has fixed the problem for the last 6 months for me.
edit: actually pinging the router, 192.168.1.1 etc. Script is:
#! /bin/sh
ping 192.168.1.1 > /dev/null 2>&1
- mianosm 13y agoThat makes no sense what so ever. Pinging your loopback address just shows that your localhost is still there. If you were to write a script that instead pulled the local IPv4 address you are getting - that might be a little more sensical?
- gcr 13y agoOn Linux, that packet wouldn't leave the device either. You have to ping another host on your subnet or the kernel won't queue the packet for transmission on a hardware network interface.
- singular 13y agoInteresting, will give that a go when next I notice it happening (it's intermittent for me too which is good + bad... hard to repro :)