Autoping, Cycle and Delays

Post Reply
AaronB
Posts: 2
Joined: June 10th, 2014, 9:20 pm

Autoping, Cycle and Delays

Post by AaronB » June 11th, 2014, 11:14 am

We are currently testing the iBootbar to be placed out at remote locations. These locations use cellular services to connect to the internet. Occasionally these services will get stuck on a cell tower that is not optimal and we have to perform a reboot of the cellular modem. Unfortunately in order for the modem to not automatically connect to the same cell tower and to connect to a more optimal one the modem must be shut down for a full 2 minutes.

Here are the steps I am looking to perform, I have not been able to find how to set up a process that will allow this within the autoping function.

Autoping is unable to ping a destination
powers off cellular modem
counts to 120
powers up cellular modem

Your assistance is appreciated.

DP_Sam
Posts: 124
Joined: January 21st, 2010, 9:39 am
Location: Allendale, NJ
Contact:

Re: Autoping, Cycle and Delays

Post by DP_Sam » June 11th, 2014, 2:37 pm

Typically, the autoping would be setup, and when the time came to cycle the outlet, the off time would be a maximum of 99 seconds.
(The iBootBar has a maximum cycle time of 99 seconds. program with set cycle 99)

However, there is a work around that may help if you need 120 seconds of off time.
These are the telnet/serial commands to program what you need.
  • add group modem
  • set group modem outlet 1 yes
  • set group modem outlet 2 yes
  • set delay 60
  • set cycle 60
  • set autoping 1 ipaddress <ipaddres you want to test>
  • set autoping 1 action cycle-once
  • set autoping 1 frequency 10
  • set autoping 1 count 3
  • set autoping 1 group modem
When the autoping Fails (10 seconds x 3 fails so 30 seconds of failure) the group called modem will go off. (The group is outlet 1 and 2.)
60 seconds later, the cycle time is reached and outlet 1 will come on.
60 seconds after that, the delay will be reached and outlet 2 will come on.

Outlet 2 has now come on 120 seconds after the autoping failed. (Plug the modem into outlet 2.)
Outlet 1 can be used if you are ok with it going off with autoping, and coming back on 60 seconds later. (Otherwise leave outlet 1 unused)

You can change the autoping frequency and failcount to suit your needs. You can also make cycle and delay 65 to make the off time 130 seconds instead of 120.
You get the idea.

Let me know if you need more.
Sam Savoye
Dataprobe Tech Support
SSavoye@Dataprobe.com

AaronB
Posts: 2
Joined: June 10th, 2014, 9:20 pm

Re: Autoping, Cycle and Delays

Post by AaronB » June 11th, 2014, 5:33 pm

Thank you this looks like it will meet our needs.

Post Reply