[Comm] Unsupported protocol 'Compression Control
Artur Yakupov
=?iso-8859-1?q?artur_=CE=C1_dartel=2Eru?=
Вт Июл 13 14:58:57 MSD 2004
Здравствуйте.
Вы писали 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
Какие еще могут быть причины?
------------
С уважением,
Артур Якупов
Подробная информация о списке рассылки community