From: AT <alexey_tourbin@mail.ru>
To: Linux-Mandrake RE <mandrake-russian@altlinux.ru>
Subject: [mdk-re] dialup problem
Date: Wed Sep 26 20:46:54 2001
Message-ID: <20010926204340.A9367@localhost.localdomain> (raw)
Проблема, которая, возможно, является типичной для dialup-пользователей.
/sbin/ifup ppp0 автоматически запускается из /etc/cron.hourly/. Вместе с
тем, иногда приходится звонить в Интернет самому. Проблема возникает
тогда, когда эти два случая пересекаются. Во-первых, pppd пишет в
syslog, что соединение уже установлено (вот незадача) и считает своим
долгом оборвать его и установить ещё раз. Во-вторых, если пересечение
происходит на стадии дозвона, то предыдующий сеанс завершается
некорректно, модем виснет (не кладет трубку), и не помогает уже ничего
кроме перезагрузки + выключения питания.
В связи с этим прошу помощи в разрешении двух вопросов:
1) Как избежать обрыва связи при повторном запуске ifup?
- в /etc/cron.hourly/:
if [ соединение уже установлено; что здесь нужно написать? ];
then
logger ppp already up
else
/sbin/ifup ppp0
fi
- может есть какой ключик к pppd? Тогда в каком месте его нужно
подписать?
2) Как сделать reset модему, если он завис?
__
AT
next reply other threads:[~2001-09-26 20:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-26 20:46 AT [this message]
2001-09-26 22:28 ` John Profic
2001-09-27 0:16 ` AT
2001-09-27 0:36 ` John Profic
2001-09-27 1:36 ` AT
2001-09-27 0:46 ` Любимов А.В.
2001-09-27 1:36 ` AT
2001-09-27 12:37 ` Любимов А.В.
2001-09-27 14:29 ` Eugene Pazhitnov
2001-09-27 16:28 ` Любимов А.В.
2001-09-27 21:32 ` Michael Shigorin
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=20010926204340.A9367@localhost.localdomain \
--to=alexey_tourbin@mail.ru \
--cc=mandrake-russian@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