timeout coded for ping_check.sh insufficient

Asked by Txoof

While using KVPNC to connect to a remote VPN, the connection always is disconnected on the first attempt after about 30 seconds. Upon the second attempt, the connection is typically successful. It appears this is due to the parameters passed to the script ping_check.sh. Is there a way to pass different parameters to ping_check.sh? I would like the timeout to be a bit longer.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu kvpnc Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
mycae (mycae) said :
#1

You could just modify ping_check.sh to hardcode in your desired value.

On line 47, change

TEST_PING_COUNT=$5

to some number you like

TEST_PING_COUNT=123

Can you help with this problem?

Provide an answer of your own, or ask Txoof for more information if necessary.

To post a message you must log in.