ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yuriy Gomenyuk <law@freemail.com.ua>
To: ALT Community <community@altlinux.ru>
Subject: [Comm] /sbin/ifup ppp0 - callback
Date: Wed, 19 Mar 2003 11:25:28 +0200
Message-ID: <3E783788.8010807@freemail.com.ua> (raw)

Здравствуйте,

Раньше без проблем работал по callback (выхожу в и-нет по 
/sbin/ifup ppp0).

Сейчас переехал на другую АТС. И возникли проблеммы (не знаю 
почему, то ли от другой АТС, то ли накрутил где что...):

Звонок от провайдера идёт, но модем не берёт трубку. Причём 
только в Линуксе. В Окнах всё нормально.

Пожалуйста, помогите разобраться.

Вот логи модема:


Mar 19 11:08:28 localhost ifup-ppp: pppd started for ppp5 on 
/dev/ttyS0 at 115200
Mar 19 11:08:28 localhost pppd[7937]: pppd 2.4.1 with CBCP (ALT 
Linux) started by root, uid 0
Mar 19 11:08:29 localhost chat[7949]: abort on (BUSY)
Mar 19 11:08:29 localhost chat[7949]: abort on (ERROR)
Mar 19 11:08:29 localhost chat[7949]: abort on (NO CARRIER)
Mar 19 11:08:29 localhost chat[7949]: abort on (NO DIALTONE)
Mar 19 11:08:29 localhost chat[7949]: abort on (Invalid Login)
Mar 19 11:08:29 localhost chat[7949]: abort on (Login incorrect)
Mar 19 11:08:29 localhost chat[7949]: send (ATZ^M)
Mar 19 11:08:29 localhost chat[7949]: expect (OK)
Mar 19 11:08:30 localhost chat[7949]: ATZ^M^M
Mar 19 11:08:30 localhost chat[7949]: OK
Mar 19 11:08:30 localhost chat[7949]:  -- got it
Mar 19 11:08:30 localhost chat[7949]: send (ATDP7449207^M)
Mar 19 11:08:30 localhost chat[7949]: expect (CONNECT)
Mar 19 11:08:30 localhost chat[7949]: ^M
Mar 19 11:09:07 localhost chat[7949]: ATDP7449207^M^M
Mar 19 11:09:07 localhost chat[7949]: CONNECT
Mar 19 11:09:07 localhost chat[7949]:  -- got it
Mar 19 11:09:07 localhost chat[7949]: send (^M)
Mar 19 11:09:07 localhost chat[7949]: timeout set to 5 seconds
Mar 19 11:09:07 localhost chat[7949]: expect (~)
Mar 19 11:09:07 localhost chat[7949]:  34666/ARQ/V90/LAPM/V42BIS^M
Mar 19 11:09:10 localhost chat[7949]: ^M
Mar 19 11:09:10 localhost chat[7949]:
Mar 19 11:09:11 localhost last message repeated 23 times
Mar 19 11:09:11 localhost chat[7949]: ^M
Mar 19 11:09:12 localhost chat[7949]: alarm
Mar 19 11:09:12 localhost chat[7949]: send (^M)
Mar 19 11:09:12 localhost chat[7949]: send (^M)
Mar 19 11:09:12 localhost pppd[7937]: Serial connection established.
Mar 19 11:09:12 localhost pppd[7937]: Using interface ppp0
Mar 19 11:09:12 localhost pppd[7937]: Connect: ppp0 <--> /dev/ttyS0
Mar 19 11:09:17 localhost pppd[7937]: Remote message: Welcome !
Mar 19 11:09:18 localhost pppd[7937]: Connection terminated.
Mar 19 11:09:18 localhost pppd[7937]: Callback with 
</etc/ppp/callback-client 0>
Mar 19 11:09:18 localhost /etc/hotplug/net.agent: NET unregister 
event not supported
Mar 19 11:09:19 localhost chat[7990]: send (d+++dc^M)
Mar 19 11:09:19 localhost chat[7990]: expect (OK)
Mar 19 11:09:19 localhost chat[7990]: ^M
Mar 19 11:09:19 localhost chat[7990]: NO CARRIER^M
Mar 19 11:09:21 localhost chat[7990]: alarm
Mar 19 11:09:21 localhost chat[7990]: Failed
Mar 19 11:09:21 localhost chat[7993]: send (ATZ^M)
Mar 19 11:09:21 localhost chat[7993]: expect (OK)
Mar 19 11:09:21 localhost chat[7993]: ATZ^M^M
Mar 19 11:09:21 localhost chat[7993]: OK
Mar 19 11:09:21 localhost chat[7993]:  -- got it
Mar 19 11:09:21 localhost chat[7993]: send (^M)
Mar 19 11:09:21 localhost chat[7993]: expect (RING)
Mar 19 11:09:21 localhost chat[7993]: ^M
Mar 19 11:10:06 localhost chat[7993]: alarm
Mar 19 11:10:06 localhost chat[7993]: Failed
Mar 19 11:10:06 localhost pppd[7937]: Callback script failed
Mar 19 11:10:06 localhost pppd[7937]: Couldn't make tty 
exclusive: Bad file descriptor
Mar 19 11:10:06 localhost pppd[7937]: Couldn't set tty to PPP 
discipline: Bad file descriptor
Mar 19 11:10:07 localhost pppd[7937]: Exit.


Понимаю, что модем звонок ловит, но не может запустить скрипт или 
что ещё, но не знаю почему, и как решить... (а главное - когда то 
ведь получалось...)


-- 
С уважением,
Юрий Гоменюк.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Powered by Mozilla-mail 1.2.1 under ALT Linux Junior 2.0




             reply	other threads:[~2003-03-19  9:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-19  9:25 Yuriy Gomenyuk [this message]
2003-03-19  9:49 ` Yuriy Gomenyuk
2003-03-19 10:43   ` Yuriy Gomenyuk
2003-03-19 14:59 ` Yuriy Gomenyuk

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=3E783788.8010807@freemail.com.ua \
    --to=law@freemail.com.ua \
    --cc=community@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