From: John Profic <profic@lrn.ru> To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] dialup problem Date: Wed Sep 26 22:28:11 2001 Message-ID: <3BB21EFC.4050105@lrn.ru> (raw) In-Reply-To: <20010926204340.A9367@localhost.localdomain> AT wrote: > Проблема, которая, возможно, является типичной для dialup-пользователей. > /sbin/ifup ppp0 автоматически запускается из /etc/cron.hourly/. Вместе с > тем, иногда приходится звонить в Интернет самому. Проблема возникает > тогда, когда эти два случая пересекаются. Во-первых, pppd пишет в > syslog, что соединение уже установлено (вот незадача) и считает своим > долгом оборвать его и установить ещё раз. Во-вторых, если пересечение > происходит на стадии дозвона, то предыдующий сеанс завершается > некорректно, модем виснет (не кладет трубку), и не помогает уже ничего > кроме перезагрузки + выключения питания. > В связи с этим прошу помощи в разрешении двух вопросов: > 1) Как избежать обрыва связи при повторном запуске ifup? > - в /etc/cron.hourly/: > if [ соединение уже установлено; что здесь нужно написать? ]; ifconfig | grep ppp0 | grep -c . при соединении с инетом вернет 1 при отсутствия 0 отсюда и плясать > then > logger ppp already up > else > /sbin/ifup ppp0 > fi > - может есть какой ключик к pppd? Тогда в каком месте его нужно > подписать? > 2) Как сделать reset модему, если он завис? модем внутренний или внешний? все равно попробуйте echo ATH0 >/dev/ttyS0 echo ATZ >/dev/ttyS0 -- Best regards, John Profic <profic@lrn.ru> Written by Mozilla 0.9.4 using ASPLinux release 1.1 with ru_RU.CP1251, system: kernel 2.4.10-xfs-p1; glibc 2.2.4; gcc 3.0.1; XFree86 4.1.0;
next prev parent reply other threads:[~2001-09-26 22:28 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-09-26 20:46 AT 2001-09-26 22:28 ` John Profic [this message] 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=3BB21EFC.4050105@lrn.ru \ --to=profic@lrn.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