ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Mike Lykov <combr@vesna.ru>
To: community@altlinux.ru
Subject: [Comm] Re: [SUMMARY] wvdial не работает , а kppp да
Date: Wed, 25 May 2005 09:35:24 +0500
Message-ID: <200505250935.24336.combr@vesna.ru> (raw)
In-Reply-To: <200505241132.56998.combr@vesna.ru>

В сообщении от Вторник 24 Май 2005 11:32 Mike Lykov написал:
> Хотел настроить wvdial, на не тут-то было.
> если звонить с пом. kppp, то он соединяется (CONNECT),  запускает pppd, тот
> шлет необходимые LCP-пакеты, получает ответы и успешно авторизуется по
> проткоклу PAP.
> если звонить с пом. wvdial, тот ждет CONNECT, после коннекта получает байты
> типа [18]ff[18]xx и так далее, тупо на них смотрит, потом пишет "не понял,
> что это, на всякий случай запускаю pppd" . он запускается, начинает слать
> LCP-пакеты, ответ а не получает и отваливается с ошибкой 10 и словами LCP
> connection timeout.

Ситуация, как ни странно, решилась таким образом:
в kppp стояла скорсть порта 57600, в wvdial - 115200. Я стал сравнивать 
аргументы вызова pppd из kppp и из wvdial, поставил в wvdial 57600 - все 
сразу залетало.

данные:
ppp-2.4.2-alt2

порт 

$ setserial -a /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
        Baud_base: 115200, close_delay: 50, divisor: 0
        closing_wait: 3000
        Flags: spd_normal skip_test

wvdialconf

ttyS1<*1>: Modem Identifier: ATI -- 5607A
ttyS1<*1>: Speed 4800: AT -- OK
ttyS1<*1>: Speed 9600: AT -- OK
ttyS1<*1>: Speed 19200: AT -- OK
ttyS1<*1>: Speed 38400: AT -- OK
ttyS1<*1>: Speed 57600: AT -- OK
ttyS1<*1>: Speed 115200: AT -- OK
ttyS1<*1>: Max speed is 115200; that should be safe.
при всем этом 115200 не работает

--> pppd: Connect: ppp0 <--> /dev/ttyS1
--> pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x28bd8cff> <pcomp> 
<accomp>]
--> pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x28bd8cff> <pcomp> 
<accomp>]
--> pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x28bd8cff> <pcomp> 
<accomp>]
--> pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x28bd8cff> <pcomp> 
<accomp>]
--> pppd: Modem hangup
--> pppd: Connection terminated.


а 57600 работает

--> pppd: Connect: ppp0 <--> /dev/ttyS1
--> pppd: Warning - secret file /etc/ppp/pap-secrets has world and/or group 
access
--> pppd: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xaca2b48d> <pcomp> 
<accomp>]
--> pppd: rcvd [LCP ConfReq id=0xf8 <asyncmap 0xa0000> <auth pap> <magic 
0x2e06858a> <pcomp> <accomp>]
--> pppd: sent [LCP ConfAck id=0xf8 <asyncmap 0xa0000> <auth pap> <magic 
0x2e06858a> <pcomp> <accomp>]
--> pppd: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xaca2b48d> <pcomp> 
<accomp>]

в остальном все одинаково? меняется только Baud = 57600 или 115200 в 
wvdial.conf и? соответственно? опция вызова pppd.

в kppp по умолч. 57600 . в чем бага, интересно? в pppd? в чипе на плате?

-- 
Mike Lykov
Samara, "Vesna" parfum company, System administrator 


      parent reply	other threads:[~2005-05-25  4:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-24  6:32 [Comm] " Mike Lykov
2005-05-24  7:45 ` Sergey Lebedev
2005-05-24  8:00   ` [Comm] " Michael Shigorin
2005-05-24  8:18   ` [Comm] " Mike Lykov
2005-05-24  8:47     ` Sergey Lebedev
2005-05-25  4:35 ` Mike Lykov [this message]

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=200505250935.24336.combr@vesna.ru \
    --to=combr@vesna.ru \
    --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