ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yan Bezus <xunnu@yandex.ru>
To: Community@lists.altlinux.org
Subject: [Comm] Заморочки с wvdial
Date: Thu, 27 Apr 2006 18:44:07 +0500
Message-ID: <4450CAA7.1050209@yandex.ru> (raw)

Исходные данные: wvdial-1.53-13, ppp-2.4.2-6.4, модем Zyxel 56K DUO.
Проблемка: wvdial при дозвоне передает управление pppd, который выдает 
exit code = 16 (модем повесил трубку), если подробнее:
-----------------------------------------------------------------
...
--> Sending: ATDT<2702666>
--> Waiting for carrier.
ATDT<2702666>
CONNECT 115200/V.92 45333/V44
ROL!login:
--> Carrier detected.  Waiting for prompt.

--> Don't know what to do!  Starting pppd and hoping for the best.
--> Starting pppd at Thu Apr 27 18:10:54 2006
--> pid of pppd: 4868
--> Disconnecting at Thu Apr 27 18:11:00 2006
--> The PPP daemon has died: A modem hung up the phone (exit code = 16)
--> man pppd explains pppd error codes in more detail.
--> Auto Reconnect will be attempted in 5 seconds...
-----------------------------------------------------------------

И так далее до бесконечности. Содержимое /etc/wvdial.conf:
-----------------------------------------------------------------
[Dialer Defaults]
Modem = /dev/ttyS1
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
Phone = <2702666>
Username = <rol>
Password = <rol>
-----------------------------------------------------------------

В /var/log/messages сказано:
-----------------------------------------------------------------
Apr 27 18:09:05 localhost pppd[4834]: pppd 2.4.2 started by root, uid 0
Apr 27 18:09:05 localhost pppd[4834]: Using interface ppp0
Apr 27 18:09:05 localhost pppd[4834]: Connect: ppp0 <--> /dev/ttyS1
Apr 27 18:09:10 localhost pppd[4834]: Hangup (SIGHUP)
Apr 27 18:09:10 localhost pppd[4834]: Modem hangup
Apr 27 18:09:10 localhost pppd[4834]: Connection terminated.
Apr 27 18:09:10 localhost pppd[4834]: Exit.
-----------------------------------------------------------------

KPPP дозванивается на "ура", но для запуска по расписанию нужна консоль.

Просьба: если кто сталкивался с проблемой, сообщите, что не так.
Заранее спасибо.


                 reply	other threads:[~2006-04-27 13:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4450CAA7.1050209@yandex.ru \
    --to=xunnu@yandex.ru \
    --cc=Community@lists.altlinux.org \
    /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