Home/Support/Support Forum/Configure WR11XT Surelink via ssh
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Configure WR11XT Surelink via ssh

0 votes
Is there a way to configure the Surelink functionality of a WR11XT via the ssh command line interface, instead of using the Wizard interface? What parameters does the Wizard change?

Thanks in advance for any information.
asked May 14, 2019 in Digi TransPort Cellular by igfarm New to the Community (0 points)

Please log in or register to answer this question.

2 Answers

0 votes
Hello!

Here is how to turn on active recovery via the CLI with pings to Digi Remote Manager (DRM):

Detect a dead link if no pings have been received for the following period of time: (60 seconds default and recommended value):
ppp 1 pingdeact 60

ppp 1 norxrst ON

Enter ping request interval when there has been no reply to the last ping: (5 seconds default and recommended value):
ppp 1 pingint2 5

Reboot after this many consecutive connection failures (50 recommended):
ppp 1 rebootfails 50

Enter ping response time: (10 seconds default and recommended value):
ppp 1 pingresp 10

Enter primary address to ping:
ppp 1 pingip 52.73.205.125

Switch from primary address to secondary address after the following number of consecutive no replies to the primary address (optional):
ppp 1 ip2count 0

Enter normal ping request interval: (120 seconds default and recommended value):
ppp 1 pingint 120
answered Dec 19, 2019 by digi.jpac Community Contributor (62 points)
0 votes
Hi,
I recommend that you read and understand the document:  AN07 - How to configure TransPort WR for Cellular Problem Detection and Recovery using Sure Link Wizard
on this page:  https://www.digi.com/support/productdetail?pid=5499&type=documentation
This document will explain everything you're configuring in detail so you understand how it all works.

If you need some CLI commands (telnet/ssh or 'Execute a command' in the GUI) to run then you can use these:
  ppp 1 settledly 20
  ppp 1 pingip "8.8.8.8"
  ppp 1 pingint 60
  ppp 1 pingint2 10
  ppp 1 pingip2 "4.2.2.3"
  ppp 1 pingresp 10
  ppp 1 ip2count 3
  ppp 1 pingdeact 60
  ppp 1 sscnt 50
  ppp 1 sssecs 180
  ppp 1 rebootfails 50
  modemcc 0 link_retries 20
  modemcc 0 stat_retries 30
  config 0 save
  ppp 1 deact_rq              # Note, this last command will restart the PPP interface to make sure all these settings are running, expect to lose comms for a moment after running this.

These settings will...
send a ping every minute to 8.8.8.8, allowing 10 seconds for a response
if a failure occurs, switch to a 10 second interval
after 3 failures, switch to pinging 4.2.2.3 at 10 second intervals
after 60 seconds of failed pings, the PPP interface will restart
if the PPP interface is restarted, but fails to reconnect correctly to the network for 20 consecutive attempts, the radio module will be restarted
if the PPP interface continues to fail to reconnect correctly to the network for another 20 consecutive attempts, the radio module will be restarted again
if the PPP interface fails to reconnect correctly to the network for 50 consecutive attempts, the router will be rebooted

I've also allowed to 50 lost packets in 180 seconds as a trigger to deactivate and restart the PPP link, any more than 50 will restart the PPP interface.

Kind regards,
Ben - Digi Support
answered Jan 7 by bengartland Seasoned Professional (165 points)
...