xl2tpd redial doesn't workNo connections work after starting OpenVPN service?IPsec doesn't read configuration...
Modulus Operandi
Combining latex input and sed
What is a solution?
Are there any sports for which the world's best player is female?
Managing and organizing the massively increased number of classes after switching to SOLID?
Constructive proof of existence of free algebras for infinitary equational theories
Machine learning and operations research projects
Is a request to book a business flight ticket for a graduate student an unreasonable one?
Why does this quadratic expression have three zeroes?
Integer Lists of Noah
What is this triple-transistor arrangement called?
Cops: The Hidden OEIS Substring
Was I subtly told to resign?
Referring to different instances of the same character in time travel
Why didn't Thanos kill all the Dwarves on Nidavellir?
How to md5 a list of filepaths contained in a file?
Credit score and financing new car
How would my creatures handle groups without a strong concept of numbers?
Would dual wielding daggers be a viable choice for a covert bodyguard?
How to properly say "bail on somebody" in German?
Why queuable apex accepts sobjects where as future methods doesn't?
Graduate student with abysmal English writing skills, how to help
Does Lufthansa weigh your carry on luggage?
Is there any word for "disobedience to God"?
xl2tpd redial doesn't work
No connections work after starting OpenVPN service?IPsec doesn't read configuration when the tunnel is deletedWhy my xl2tpd doesn't redial?openconnect VPN ceased to work after Fedora upgradealways-on VPN connection that doesn't leak?Create network namespace that doesn't use global tunnel (VPN) interfaceWhy doesn't dig myip.opendns.com @resolver1.opendns.com use sshuttle's proxy?OpenVPN does not work with Gateway, but does with bridgessh & sftp work with netns, but sshfs doesn’tHow does a basic VPN work?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
/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♦ 5 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♦ 5 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
7,1317 gold badges32 silver badges60 bronze badges
7,1317 gold badges32 silver badges60 bronze badges
asked Jul 4 '14 at 11:42
unixlinuxuserunixlinuxuser
361 gold badge1 silver badge5 bronze badges
361 gold badge1 silver badge5 bronze badges
bumped to the homepage by Community♦ 5 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♦ 5 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
263k73 gold badges571 silver badges715 bronze badges
263k73 gold badges571 silver badges715 bronze badges
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