From: "Mikhailov Vladimir" <himik_vovan@mail.ru>
To: <community@altlinux.ru>
Subject: [Comm] Автоподнятие VPN
Date: Fri, 26 Mar 2004 11:58:55 +0300
Message-ID: <004701c41310$91e0f4a0$2000a8c0@himik> (raw)
Доброго всем!
Пару раз тут проскакивал подобный вопрос , как сделать автоподнятия VPN. Но
если честно я так и не понял , прошу прощения , но я новичек в linux не
пинайте сильно.
Суть проблемы.
Дома у меня стоит машина подключена к провайдеру (к примеру к стрим),
поднято соединение pppt (помоему такое) , по идеи после обрыва соединения
оно должно восстанавливаться , но этого не происходит , не знаю почему , но
одна из причин , что у провайдера настроенно , что подключатьс можно только
через 15 сек после разрыва и не больше 3 раз в минуту , в противном случаи
блокируют на 2 часа (сделано специально, что бы не было автодозвона).
Задача.
Нужен скрипт который бы пинговал (раз в 10 минут любой сайт в интернете )
есть пинг хорошо , нет пинга ,выполняет poff -a , затем через 15 сек pon -my
(к примеру), затем чрез 30 сек опять пинг , если пинга нет , опять poff -a
и т.д. по кругу.
Подскажите как это можно реализовать ????
Заранее спасибо
reply other threads:[~2004-03-26 8:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='004701c41310$91e0f4a0$2000a8c0@himik' \
--to=himik_vovan@mail.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git