* [Comm] Автоподнятие pptp
@ 2004-03-18 9:13 Alex Savvin
2004-03-18 10:39 ` Низамов Шавкат
0 siblings, 1 reply; 2+ messages in thread
From: Alex Savvin @ 2004-03-18 9:13 UTC (permalink / raw)
To: community
Здравствуйте
Нужен совет в такой ситуации:
Хост с установленным ALM2.2 выполняет функции интернет-шлюза, почтового
сервера. Имеет два порта: eth0 -> LAN, eth1 -> WAN (radio-modem).
Через eth1 (172.18.0.5) имеется маршрут на шлюз 172.18.0.1.
Далее по этому каналу поднимается VPN командой:
# pppd call VPN1
где VPN1 - конфигурационный файл (все как в README пакета pptp)
Проблема в том, что иногда канал падает на некоторое время (проблема у
провайдера, похема в радиоканале и т.п.). Как _правильным_ способом
заставить подниматься VPN автоматически после восстановления
канала?
Один из вариантов - прописать команду вызова (pppd call VPN1) в файл
inittab, но интуитивно чувствую, что это не совсем правильный способ.
Может быть уже кто-нибудь сталкивался с подобной проблемой и нашёл
более элегантное решение?
--
Александр Саввин
ICQ UIN: 103069766
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Автоподнятие pptp
2004-03-18 9:13 [Comm] Автоподнятие pptp Alex Savvin
@ 2004-03-18 10:39 ` Низамов Шавкат
0 siblings, 0 replies; 2+ messages in thread
From: Низамов Шавкат @ 2004-03-18 10:39 UTC (permalink / raw)
To: community
>
> Проблема в том, что иногда канал падает на некоторое время (проблема у
> провайдера, похема в радиоканале и т.п.). Как _правильным_ способом
> заставить подниматься VPN автоматически после восстановления
> канала?
>
> Один из вариантов - прописать команду вызова (pppd call VPN1) в файл
> inittab, но интуитивно чувствую, что это не совсем правильный способ.
>
pppd -persist ?
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-03-18 10:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18 9:13 [Comm] Автоподнятие pptp Alex Savvin
2004-03-18 10:39 ` Низамов Шавкат
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