Most of the ISPs disconnect inactive connections after few minutes. To avoid this issue, we can have a simple ping program that will keep alive the connection by sending ping commands in defined intervals (In this example, I'm pinging google.com with an interval of 10 seconds).
- Download following zip file
- There are two versions for x86 and x64. Extract the matching fping.exe to a folder
- Copy runping.bat to the same folder
- Now create a shortcut under Startup by pointing to runping.bat
This program will start with windows and start pining to google.com every 10 seconds continuously to keep your connection live.
The command used in runping.bat is as follows.
Fping.exe google.com -t 10000 -c
-t 10000 is used set the time between two pings. You can set it as required.