xl2tpd redial doesn't work
/etc/xl2tpd/xl2tpd.conf
:
redial = yes
redial timeout = 1
autodial = yes
Version of xl2tpd
default, latest Ubuntu 14.04 ( Trusty ):
xl2tpd 1.3.6+dfsg-1 amd64 layer 2 tunneling protocol implementation
I'm always pinging some host like Google, default DNS - 8.8.8.8.
From time to time I'm losing the connection, ping is silent and xl2tpd
doesn't reconnect.
Seems like xl2tpd
doesn't know that the connection is broken.
Is there any option to keep an internet connection alive, to keep xl2tpd
redial automatically?
Now, I use a raw and dirty bash script wrapper around ping and also service xl2tpd restart
to redial xl2tpd
.
Is there a more program (xl2tpd
) friendly way?
vpn xl2tpd
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
/etc/xl2tpd/xl2tpd.conf
:
redial = yes
redial timeout = 1
autodial = yes
Version of xl2tpd
default, latest Ubuntu 14.04 ( Trusty ):
xl2tpd 1.3.6+dfsg-1 amd64 layer 2 tunneling protocol implementation
I'm always pinging some host like Google, default DNS - 8.8.8.8.
From time to time I'm losing the connection, ping is silent and xl2tpd
doesn't reconnect.
Seems like xl2tpd
doesn't know that the connection is broken.
Is there any option to keep an internet connection alive, to keep xl2tpd
redial automatically?
Now, I use a raw and dirty bash script wrapper around ping and also service xl2tpd restart
to redial xl2tpd
.
Is there a more program (xl2tpd
) friendly way?
vpn xl2tpd
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
/etc/xl2tpd/xl2tpd.conf
:
redial = yes
redial timeout = 1
autodial = yes
Version of xl2tpd
default, latest Ubuntu 14.04 ( Trusty ):
xl2tpd 1.3.6+dfsg-1 amd64 layer 2 tunneling protocol implementation
I'm always pinging some host like Google, default DNS - 8.8.8.8.
From time to time I'm losing the connection, ping is silent and xl2tpd
doesn't reconnect.
Seems like xl2tpd
doesn't know that the connection is broken.
Is there any option to keep an internet connection alive, to keep xl2tpd
redial automatically?
Now, I use a raw and dirty bash script wrapper around ping and also service xl2tpd restart
to redial xl2tpd
.
Is there a more program (xl2tpd
) friendly way?
vpn xl2tpd
/etc/xl2tpd/xl2tpd.conf
:
redial = yes
redial timeout = 1
autodial = yes
Version of xl2tpd
default, latest Ubuntu 14.04 ( Trusty ):
xl2tpd 1.3.6+dfsg-1 amd64 layer 2 tunneling protocol implementation
I'm always pinging some host like Google, default DNS - 8.8.8.8.
From time to time I'm losing the connection, ping is silent and xl2tpd
doesn't reconnect.
Seems like xl2tpd
doesn't know that the connection is broken.
Is there any option to keep an internet connection alive, to keep xl2tpd
redial automatically?
Now, I use a raw and dirty bash script wrapper around ping and also service xl2tpd restart
to redial xl2tpd
.
Is there a more program (xl2tpd
) friendly way?
vpn xl2tpd
vpn xl2tpd
edited Jul 5 '14 at 16:37
polym
6,69643158
6,69643158
asked Jul 4 '14 at 11:42
unixlinuxuserunixlinuxuser
33115
33115
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
A couple of things to try. I would set the max redial to a high number so that it will attempt to redial for more tries. Perhaps it's exhausting redial attempts and no longer trying. Also I'd set the redial timeout
to something like 2.
excerpt from the xl2tpd man page
- redial - If set to yes, xl2tpd will attempts to redial if the call get disconected.
- redial timeout - Wait X seconds before redial. The redial option must be set to yes to use this option.
- max redial - Will give up redial tries after X attempts.
Also you might want to take a look at this example script here in this Gist titled: vpn_dorm.sh. It might shed some light on alternatives.
Great. I'm on the way. Say, 7 days without hand re-connections, and your answer - is my.
– unixlinuxuser
Jul 4 '14 at 19:40
@unixlinuxuser - sorry didn't understand your comment.
– slm♦
Jul 4 '14 at 19:41
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f140732%2fxl2tpd-redial-doesnt-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
A couple of things to try. I would set the max redial to a high number so that it will attempt to redial for more tries. Perhaps it's exhausting redial attempts and no longer trying. Also I'd set the redial timeout
to something like 2.
excerpt from the xl2tpd man page
- redial - If set to yes, xl2tpd will attempts to redial if the call get disconected.
- redial timeout - Wait X seconds before redial. The redial option must be set to yes to use this option.
- max redial - Will give up redial tries after X attempts.
Also you might want to take a look at this example script here in this Gist titled: vpn_dorm.sh. It might shed some light on alternatives.
Great. I'm on the way. Say, 7 days without hand re-connections, and your answer - is my.
– unixlinuxuser
Jul 4 '14 at 19:40
@unixlinuxuser - sorry didn't understand your comment.
– slm♦
Jul 4 '14 at 19:41
add a comment |
A couple of things to try. I would set the max redial to a high number so that it will attempt to redial for more tries. Perhaps it's exhausting redial attempts and no longer trying. Also I'd set the redial timeout
to something like 2.
excerpt from the xl2tpd man page
- redial - If set to yes, xl2tpd will attempts to redial if the call get disconected.
- redial timeout - Wait X seconds before redial. The redial option must be set to yes to use this option.
- max redial - Will give up redial tries after X attempts.
Also you might want to take a look at this example script here in this Gist titled: vpn_dorm.sh. It might shed some light on alternatives.
Great. I'm on the way. Say, 7 days without hand re-connections, and your answer - is my.
– unixlinuxuser
Jul 4 '14 at 19:40
@unixlinuxuser - sorry didn't understand your comment.
– slm♦
Jul 4 '14 at 19:41
add a comment |
A couple of things to try. I would set the max redial to a high number so that it will attempt to redial for more tries. Perhaps it's exhausting redial attempts and no longer trying. Also I'd set the redial timeout
to something like 2.
excerpt from the xl2tpd man page
- redial - If set to yes, xl2tpd will attempts to redial if the call get disconected.
- redial timeout - Wait X seconds before redial. The redial option must be set to yes to use this option.
- max redial - Will give up redial tries after X attempts.
Also you might want to take a look at this example script here in this Gist titled: vpn_dorm.sh. It might shed some light on alternatives.
A couple of things to try. I would set the max redial to a high number so that it will attempt to redial for more tries. Perhaps it's exhausting redial attempts and no longer trying. Also I'd set the redial timeout
to something like 2.
excerpt from the xl2tpd man page
- redial - If set to yes, xl2tpd will attempts to redial if the call get disconected.
- redial timeout - Wait X seconds before redial. The redial option must be set to yes to use this option.
- max redial - Will give up redial tries after X attempts.
Also you might want to take a look at this example script here in this Gist titled: vpn_dorm.sh. It might shed some light on alternatives.
answered Jul 4 '14 at 16:55
slm♦slm
251k69529685
251k69529685
Great. I'm on the way. Say, 7 days without hand re-connections, and your answer - is my.
– unixlinuxuser
Jul 4 '14 at 19:40
@unixlinuxuser - sorry didn't understand your comment.
– slm♦
Jul 4 '14 at 19:41
add a comment |
Great. I'm on the way. Say, 7 days without hand re-connections, and your answer - is my.
– unixlinuxuser
Jul 4 '14 at 19:40
@unixlinuxuser - sorry didn't understand your comment.
– slm♦
Jul 4 '14 at 19:41
Great. I'm on the way. Say, 7 days without hand re-connections, and your answer - is my.
– unixlinuxuser
Jul 4 '14 at 19:40
Great. I'm on the way. Say, 7 days without hand re-connections, and your answer - is my.
– unixlinuxuser
Jul 4 '14 at 19:40
@unixlinuxuser - sorry didn't understand your comment.
– slm♦
Jul 4 '14 at 19:41
@unixlinuxuser - sorry didn't understand your comment.
– slm♦
Jul 4 '14 at 19:41
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f140732%2fxl2tpd-redial-doesnt-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown