(fwd) Re: ppp autodial after hangup

Andrey Gerzhov (kittle@freeland.alex-ua.com)
Thu, 10 Sep 1998 21:43:09 +0300 (EEST)

-- forwarded message --
Path: freeland.alex-ua.com!barmaglot.alex-ua.com!f188.n463.z2!f434.n463.z2!f67.n463!f68.n463!f238.n5020!f400.n5020!f41.n464!ddt.demos.su!f400.n5020!f100.n464!f500.n464!f69.n464!f144.n464!news.extra.dp.ua!not-for-mail
Newsgroups: fido.ru.unix.bsd
Distribution: fido
X-Comment-To: "Ruslan Sulakov"
From: Alexander Prohorenko <white@onyx.extra.dp.ua>
X-FTN-Sender: Alexander Prohorenko <Alexander.Prohorenko@p286.f144.n464.z2.fidonet.org>
Reply-To: white@extra.dp.ua
Date: Wed, 02 Sep 98 13:45:25 +0300
Subject: Re: ppp autodial after hangup
Message-ID: <6sjemd$hu$2@onyx.extra.dp.ua>
References: <6sgtif$rro$1@news.sovam.com>
Organization: FidoNet<->Internet "Golden" Gate
X-FTN-AREA: RU.UNIX.BSD
X-FTN-MSGID: onyx.extra.dp.ua 0e0d6162
X-FTN-REPLY: news.sovam.com 424d1299
X-FTN-Tearline: ifmail v.2.14
X-FTN-Origin: FidoNet<->Internet "Golden" Gate (2:464/144.286@fidonet)
X-FTN-SEEN-BY: 50/381 520 993 450/40 461/35 121 463/18 58 59 62 67 68 69 76 131
X-FTN-SEEN-BY: 463/151 164 188 270 318 323 434 477 2111 6666 464/10 22 36 41 42 50
X-FTN-SEEN-BY: 464/69 72 90 100 115 144 200 311 334 500 512 991 5000 6666 465/185
X-FTN-SEEN-BY: 466/34 467/10 34 468/2 469/999 478/20 4600/103 4614/1 4615/21
X-FTN-SEEN-BY: 4621/22 4623/17 55 4625/3 4626/5 4635/4 4642/5 5001/211 5002/16
X-FTN-SEEN-BY: 5003/15 5006/1 5007/1 5011/13 201 5012/1 5015/28 5020/68 79 118 193
X-FTN-SEEN-BY: 5020/204 238 255 300 302 400 443 487 510 748 1057 1200 1381 1851
X-FTN-SEEN-BY: 5020/4000 5022/5 5023/1 11 5024/8 11 5027/16 5029/5 5030/115 5034/1
X-FTN-SEEN-BY: 5036/1 5039/7 5049/1 6 256 5050/5050 5051/15 5054/9 10 5055/44
X-FTN-SEEN-BY: 5057/1 5058/24 5060/88 5061/7 15 48 5064/5 5065/10 5066/2 5069/1 2
X-FTN-SEEN-BY: 5074/9 5075/10 5077/3 12 5080/80 1003 5083/21 5084/10 5085/250
X-FTN-SEEN-BY: 5094/5094 5100/21
X-FTN-PATH: 464/144 69 500 41 5020/400 238 463/68 67 434
X-FTN-PATH: 463/188
Lines: 16
Xref: freeland.alex-ua.com fido.ru.unix.bsd:140

Ruslan Sulakov <basto@eas10.npi.msu.su> wrote:
RS> Как можно заставить pppd без помощи рук дозваниваться по dialup после
RS> неожиданного hangup'a,
RS> т.е. чтоб при хенгапе, pppd сам начал заново дозваниваться по модему.

#!/bin/sh
while sleep 3
do
/usr/sbin/pppd -d -detach /dev/cuaa1 /dev/cuaa1 38400 +ua /etc/ppp/pppd.secret
connect 'chat ABORT BUSY ABORT NO TIMEOUT 5 """" AT OK-AT-OK ATDPxxxxxx TIMEOUT
40 CONNECT'
done

-- 
Alexander E. Prohorenko (White Mouse)      e-mail: white@extra.dp.ua
"There is no right and wrong, there's only fun and boring" - Hackers
-- end of forwarded message --

-- 
С тем, что не помешает никогда,
                                               Kittle