How to keep alive your internet connection
Posted: Tue Mar 09, 2010 1:48 am
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).
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.
- 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
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.