How to keep alive your internet connection

General Discussions
Post Reply
User avatar
Neo
Site Admin
Site Admin
Posts: 2642
Joined: Wed Jul 15, 2009 2:07 am
Location: Colombo

How to keep alive your internet connection

Post by Neo » 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).
  1. Download following zip file
    fping.zip
    (237.98 KiB) Downloaded 366 times
  2. There are two versions for x86 and x64. Extract the matching fping.exe to a folder
  3. Copy runping.bat to the same folder
  4. 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.
Post Reply

Return to “General Discussions”