none
AutoReconnect to APN or Script/Task to connect every 5 minutes

    Question

  • Basically we have mobile data terminals running windows 7 in vehicles that are connected to our private APN via Vodafone. We are finding that this connection dies sometimes after a day and sometimes after 3 weeks which is causing us a lot of issues. What we are after is some way to auto reconnect the disconnected connection or a task that will kick off every 5 minutes to connect the connection.

    We have done everything we can to keep the connection live, we have changed all power settings, configured a heart beat to send data every 15 minutes to our server on the other side and looked into connection managers - Vodafone connection manager and Sierra one click internet both of which work wonders with the public APN but wont even connect using our private APN which is strange as windows connects fine using these details. All sims are registered to our private APN and there is a radius server at the other end authenticating the mobile number allowing it on to the network.

    I have tried RASDIAL but this only works with dialled connection and will not work with an APN. There used to be some software by Ntoolz called Reconnect that would have been great only it wont work with windows 7 (it works with some dialled connections) 

    Well if anyone knows of any script or task that could help us keep this connection live and connected it would be really helpful :)

    Wednesday, June 27, 2012 2:21 PM

Answers

  • Hi,

    Since you have a specific hardware/software combination that you are having trouble with, it will be difficult for those in this forum to reproduce the problem and/or provide suggestions for a fix. As you have already tried the built-in dial-up tool (rasdial) and it doesn't work for you, your only real option is to pursue support with the software's vendor.

    Bill

    Wednesday, June 27, 2012 2:30 PM
    Moderator

All replies

  • Hi,

    Since you have a specific hardware/software combination that you are having trouble with, it will be difficult for those in this forum to reproduce the problem and/or provide suggestions for a fix. As you have already tried the built-in dial-up tool (rasdial) and it doesn't work for you, your only real option is to pursue support with the software's vendor.

    Bill

    Wednesday, June 27, 2012 2:30 PM
    Moderator
  • The RASDIALER initializatoin file has a set of settings that will tellit when to reconnect and how often.  How to do this depends on which RAS diler software you are using.  Contact teh vendor for insturctions on how to set this.  If it is teh Microsft VPNdialer then you canpost in teh Microsoft WIndows Server forum or teh workstaion  forum for the mobile device you are using and they will tell you how to set this.

    Tisis not a scripting issue.  The RAS dialer is fully automated on WIndows and is likely either not set to reconenct or only set to reconnect a certain number of times before giving up.  It can be set to retry forever which is what you are asking for,


    ¯\_(ツ)_/¯

    Wednesday, June 27, 2012 5:06 PM