From: Sergey Lizogub <linthong@mail.ru>
To: community@altlinux.ru
Cc: sbog@ukrpost.net
Subject: Re: [Comm] wvdial, xisp
Date: Sun, 13 Oct 2002 19:56:10 +0400
Message-ID: <20021013195610.1dfb8fb9.linthong@mail.ru> (raw)
In-Reply-To: <20021013151158.73865d4c.nuboh@rbcmail.ru>
Sun, 13 Oct 2002 15:11:58 +0400
Дмитрий Зубов <nuboh@rbcmail.ru> Вы писали:
> On Sun, 13 Oct 2002 12:28:39 +0300
> Sasha Bogachyk <sbog@ukrpost.net> wrote:
>
>
> > Как заставить wvdial ложить трубку <...>
>
> killall wvdial (или в консоли <ctrl>-c)
>
Описывая автоматическое получение почты по cron-у, я когда-то
писал:
Встрастаиваем дозвон
В файл /etc/sysconfig/network-scripts/ifcfg-ppp0 добавляем
следующие строки (ppp on demand - "ppp по требованию"):
DEMAND="yes"
WVDIALSECT="имя_соединения"
IDLETIMEOUT="сколько-надо-секунд"
получаем ifcfg-ppp0 с содержанием что-то типа:
DEVICE="ppp0"
ONBOOT="yes" #выбрать yes, чтобы pppd запускался при загрузке
USERCTL="no"
MODEMPORT="/dev/modem"
LINESPEED="115200"
PERSIST="yes"
DEFABORT="yes"
DEBUG="yes"
INITSTRING="ATZ"
DEFROUTE="yes"
HARDFLOWCTL="yes"
ESCAPECHARS="no"
PPPOPTIONS=""
PAPNAME="логин_для_провайдера"
REMIP=""
NETMASK=""
IPADDR=""
MRU=""
MTU=""
DISCONNECTTIMEOUT="10"
RETRYTIMEOUT="60"
BOOTPROTO="none"
PEERDNS="yes"
DEMAND="yes"
WVDIALSECT="имя_соединения"
IDLETIMEOUT="60" # указать необходимое время для time-out-а
Конечно, killall wvdial тоже работает, но IMHO, применять его
нужно только в крайнем случае, например если возникли проблемы на
линии. По крайней мере у меня трубка кладется без моего
вмешательства.
С уважением,
Сергей Лизогуб
next prev parent reply other threads:[~2002-10-13 15:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-13 9:28 Sasha Bogachyk
2002-10-13 11:11 ` Дмитрий Зубов
2002-10-13 15:56 ` Sergey Lizogub [this message]
2002-10-13 16:39 ` "А. Леутин"
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=20021013195610.1dfb8fb9.linthong@mail.ru \
--to=linthong@mail.ru \
--cc=community@altlinux.ru \
--cc=sbog@ukrpost.net \
/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