* [Comm] kppp & callback
@ 2004-12-02 21:03 Roman Lesnichenko
0 siblings, 0 replies; only message in thread
From: Roman Lesnichenko @ 2004-12-02 21:03 UTC (permalink / raw)
To: community
Добрый вечер.
Я это, я....опять Ж))
Мастер 2.4
Кто-нибудь научит использовать kppp чтобы он работал с обратным звонком?
Дело в том, что сейчас я пользую скрипты:
/etc/ppp/call-isp
================================================
#!/bin/bash
/sbin/route del default
/usr/sbin/pppd /dev/ttyS0 115200 name *** connect "/usr/sbin/chat -v
-f /etc/ppp/isp" callback ********
================================================
/etc/ppp/isp
================================================
SAY "Initializing modem...\n"
TIMEOUT 5
"" ATM1L3
SAY "Calling to ******...\n"
OK ATDT********
ABORT '\nNO CARRIER\r'
ABORT '\nBUSY\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nWAITING\r'
TIMEOUT 140
CONNECT ""
HANGUP OFF
================================================
Соотвессно используется стндартный скрипт /etc/ppp/callback-client
================================================
#!/bin/sh
# Script callback-client
# Script parameters: delay time in seconds
DELAY="$1"
/usr/sbin/chat -v -t 2 "" \d+++\d\c OK ATH0 OK
sleep $DELAY
/usr/sbin/chat -v "" ATZ OK "" RING ATA CONNECT
================================================
Хочется, чтобы обычный юзер мог делать коллбэк. Скрипты я ему не даю, хочу
дать только kppp.
Но при установке в настройке соединения в kppp чекбокса насчет обратного
звонка, порисходит вызов, соединяется, потом соединение отваливается и
начинает звонить порвайдеру опять.
В логах естессно пермишн денайд на /etc/ppp/callback-client.
Кому какие права дать, или надо через pam чего-то ковырять?
--
With best wishes,
Roman.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-02 21:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-02 21:03 [Comm] kppp & callback Roman Lesnichenko
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