ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Artur Yakupov <artur@dartel.ru>
To: Andy Gorev <horror@altlinux.ru>
Cc: community@altlinux.ru
Subject: Re[2]: [Comm] Unsupported protocol 'Compression Control
Date: Tue, 13 Jul 2004 14:58:57 +0400
Message-ID: <1159450185.20040713145857@dartel.ru> (raw)
In-Reply-To: <40F3B268.50903@altlinux.ru>

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

Вы писали 13 июля 2004 г., 13:59:04:


>> Здравствуйте.
>> 
>> Стоит задача организации callback для ppp Dial up соединения.
>> Используем ppp-2.4.1, portslave - 1
>> Сервер перезванивает, соединение происходит, но пакеты больше 200 байт
>> не проходят.
>> Лог следующий:
>> Jul 12 23:05:56 gwtest port[S0]: pppd 2.4.1 with CBCP (ALT Linux) started by AutoPPP, uid 0
>> Jul 12 23:05:56 gwtest port[S0]: Using interface ppp0
>> Jul 12 23:05:56 gwtest port[S0]: Connect: ppp0 <--> /dev/ttyR0
>> Jul 12 23:06:00 gwtest port[S0]: user support logged in
>> Jul 12 23:06:00 gwtest port[S0]: Warning - user file /etc/ppp/callback-users has world and/or group access
>> Jul 12 23:06:03 gwtest port[S0]: LCP terminated by peer
>> Jul 12 23:06:06 gwtest port[S0]: Connection terminated.
>> Jul 12 23:06:06 gwtest port[S0]: Connect time 0.2 minutes.
>> Jul 12 23:06:06 gwtest port[S0]: Sent 0 bytes, received 0 bytes.
>> Jul 12 23:06:06 gwtest port[S0]: Callback with </etc/ppp/callback-server 15 480908>
>> Jul 12 23:06:06 gwtest chat[6816]: send (ATH0^M)
>> Jul 12 23:06:41 gwtest chat[6837]: send (AT^M)
>> Jul 12 23:06:41 gwtest chat[6837]: expect (OK)
>> Jul 12 23:06:41 gwtest chat[6837]: ^M
>> Jul 12 23:06:41 gwtest chat[6837]: NO CARRIER^M
>> Jul 12 23:06:41 gwtest chat[6837]: AT^M^M
>> Jul 12 23:06:41 gwtest chat[6837]: OK
>> Jul 12 23:06:41 gwtest chat[6837]:  -- got it 
>> Jul 12 23:06:41 gwtest chat[6837]: send (ATS7=40D480908^M)
>> Jul 12 23:06:41 gwtest chat[6837]: expect (CONNECT)
>> Jul 12 23:06:41 gwtest chat[6837]: ^M
>> Jul 12 23:07:12 gwtest chat[6837]: ATS7=40D480908^M^M
>> Jul 12 23:07:12 gwtest chat[6837]: CONNECT
>> Jul 12 23:07:12 gwtest chat[6837]:  -- got it 
>> Jul 12 23:07:12 gwtest chat[6837]: send (^M)
>> Jul 12 23:07:12 gwtest port[S0]: Serial connection established.
>> Jul 12 23:07:12 gwtest port[S0]: Using interface ppp0
>> Jul 12 23:07:12 gwtest port[S0]: Connect: ppp0 <--> /dev/ttyR0
>> Jul 12 23:07:12 gwtest port[S0]: user support logged in
>> Jul 12 23:07:12 gwtest port[S0]: Unsupported protocol 'Compression Control Protocol' (0x80fd) received
>> Jul 12 23:07:12 gwtest port[S0]: Cannot determine ethernet address for proxy ARP
>> Jul 12 23:07:12 gwtest port[S0]: local  IP address 192.168.0.3
>> Jul 12 23:07:12 gwtest port[S0]: remote IP address 192.168.0.35
>> Jul 12 23:13:35 gwtest port[S0]: user support logged out
>> Jul 12 23:13:35 gwtest port[S0]: Connection terminated.
>> Jul 12 23:13:35 gwtest port[S0]: Connect time 6.4 minutes.
>> Jul 12 23:13:35 gwtest port[S0]: Sent 2206 bytes, received 11696 bytes.
>> Jul 12 23:13:35 gwtest port[S0]: Exit.
>> 
>> Как избавиться от  "Unsupported protocol 'Compression Control
>> Protocol' (0x80fd) received "?

AG> noccp

В том то и дело, что noccp стоит.

##pslave.conf

all.pppd        /usr/sbin/pppd-radius
all.locallogins no
all.authtype    radius
all.radnullpass yes
all.protocol    ppp
all.speed       115200
all.initchat    TIMEOUT 10 \
                ABORT "NO CARRIER" \
                ABORT VOICE \
                SETVAR "C=CARRIER " \
                SETVAR C+PROTOCOL: \
                SETVAR C?CONNECT \
                "" \d\l\dAT&B1&S0&H1S0=1&A3S7=40X7&C1S39 \
                OK\r\n-AT+++\d\d\d-OK\r\n "\c" \
                TIMEOUT 3600 \
                RING "\c" \
                STATUS Incoming %p:I.HANDSHAKE \
                "" ATA \
                TIMEOUT 75 \
                CONNECT "\c" \
                STATUS Connected %p:I.HANDSHAKE

all.autoppp     proxyarp %d asyncmap 0 %i: \
                noipx noccp debug login auth +pap -chap \
                mtu %t mru %t \
                ms-dns xxxx.xxxx.xxxx.xxxx \
                callback server \
                plugin /usr/lib/libpsr.so
all.pppopt      proxyarp %d asyncmap 0 %i:%j \
                noipx noccp debug \
                mtu %t mru %t \
                netmask %m idle %I maxconnect %T \
                ms-dns xxxx.xxxx.xxxx.xxxx \
                plugin /usr/lib/libpsr.so

s0.tty          ttyR0

Какие еще могут быть причины?
------------
С уважением,
Артур Якупов




       reply	other threads:[~2004-07-13 10:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 10:58   ` Artur Yakupov [this message]
2004-07-13 11:08     ` Andy Gorev
2004-07-13 15:42       ` Re[2]: " Artur Yakupov
2004-07-13 15:40         ` Andy Gorev
2004-07-14  6:42           ` Re[2]: " Artur Yakupov
2004-07-14 11:16           ` Artur Yakupov
2004-07-14 12:09             ` Andy Gorev
2004-07-14 13:05               ` Re[2]: " Artur Yakupov
2004-07-14 13:16                 ` Valery V. Inozemtsev
2004-07-14 13:24                   ` Re[2]: " Artur Yakupov
2004-07-14 13:56                     ` Valery V. Inozemtsev
2004-07-14 13:33                 ` Andy Gorev

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=1159450185.20040713145857@dartel.ru \
    --to=artur@dartel.ru \
    --cc=community@altlinux.ru \
    --cc=horror@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