PDA

View Full Version : Need an automatic ping tool for keeping network connection alive


Special2k3
5th December 2007, 08:24 PM
Hello,

i have a data option at vodafone germany with 200 MB Traffic inclusive. But there is a problem: Vodafone counts the traffic in 100kb Parts and terminates the connection if there is no data transfer for some minutes (mostly about 8 minutes)

I use the exchage Email push and there is no constand data traffic. Only when an email arrives or when the exchange sends a timeout.

So Vodafone terminates the internet connection, active sync recognized it and starts the connection again. That would be no real problem, but every connection is a new 100kb part.

So i've got about 30MB Traffic after 2 days only for reconnecting. That is not really good for my inclusive traffic.

So i need a tool like an automatic ping. A program, which sends every x minutes a ping so that there is a minimal traffic and vodafone keeps the connection alive.
Is there such a tool? It could also be a tool, which looks for updates every 5 minutes :) The program only have to do a little traffic.


Because the connection is termindated by vodafone, no kaiser reg tweak is working.
I hope you can help me.


Thank you in advance

Special2k3

peterbonge
5th December 2007, 11:12 PM
It's well known that Windows Mobile cuts off the connection after some minutes. But I've never heared that a provider cuts off the connection after some minutes without data. Are you really sure about that? A good provider wouldn't do that... ;-)

I've already had a similar problem with my old S200. It disconnected after some hours. But that wasn't a problem with the provider. It was a problem with the ROM update.

Nevertheless at that time I've also searched for a ping tool. I wrote a little Mort-Script (with logging feature) and executed it with SkSchema every hour. Since you are needing smaller intervals this could be a problem. It is a little bit hard to use SkSchema for small intervals. Here is the script:

If( InternetConnected("http://www.google.de/") )
Chk = "OK"
Else
Chk = "Off"
EndIf

FmDate = FormatTime( "Y-m-d" )
FmTime = FormatTime( "H:i:s" )
FmName = FormatTime( "ymd" )

LogText = FmDate & ", " & FmTime & ", " & Chk & ", time^NL^"
LogFile = "\My Documents\MortScript\Conn\Conn_" & FmName & ".log"

WriteFile( LogFile, LogText, 1 )

Exit

Another solution could be this tool:
http://www.wizcode.com/products/view/gprs_keep_alive

Menneisyys
5th December 2007, 11:41 PM
or, use vxUtil. see the Wiki for my related mass Ping tutorial

Special2k3
26th December 2007, 06:12 PM
So, up again.

Is there no real solution for my problem?
No little simple program?

Special2k3

Menneisyys
26th December 2007, 09:40 PM
So, up again.

Is there no real solution for my problem?
No little simple program?

Special2k3

http://wiki.xda-developers.com/index.php?pagename=How%20to%20Combat%20Automatic%2 0Disconnecting%20from%20the%20Net%20When%20I%20Don %27t%20Actively%20Use%20It%3F

danielherrero
26th December 2007, 11:48 PM
Hi. Use Bandswitch to keep your connection "always-on".
Dani

Special2k3
27th December 2007, 01:24 PM
http://wiki.xda-developers.com/index.php?pagename=How%20to%20Combat%20Automatic%2 0Disconnecting%20from%20the%20Net%20When%20I%20Don %27t%20Actively%20Use%20It%3F

Thank you, nice program, but i have a problem: When the TyTn II is in standby mode (after pushing the power button once) the programs stops sending pings. When i turn on the tytn again, the ping sending continuous.
Is it possible to send also pings when the device is in standby?

Special2k3

peterbonge
27th December 2007, 01:36 PM
Have you already tried the program I've mentioned in the post #2?

jdigitL
27th December 2007, 03:28 PM
http://www.wizcode.com/products/view/gprs_keep_alive

Special2k3
28th December 2007, 03:42 PM
Exact the program i was thinking about. But i have the same problem: The program works great if the kaiser is on. But when it is in standby mode (about 80 % of the day) the program stops to work as long as the kaiser is in standby.
Is there a way to define if a program should stop at standby or not? I mean the HTC Music Player also works in standby mode.

Thank you

Special2K3