From: "Dmitry (Mothlike) Marochko" <mothlike@yandex.ru>
To: ALT Linux Community <community@altlinux.ru>
Subject: [Comm] PPTP соединение с Windows
Date: Sun, 03 Apr 2005 01:46:44 +0400
Message-ID: <424F12C4.9010705@yandex.ru> (raw)
[-- Attachment #1: Type: text/plain, Size: 3231 bytes --]
Здравствуйте, уважаемый All.
У меня возникла необходимость подключения к windows клиенту (для доступа
в интернет) по диал-апу с помощью pptp
Так вот, у меня следующая проблема.
PPPD, запущенный со следующими параметрами:
debug
logfd 2
nodetach
dump
mppe-stateful
require-mppe-128
nodefaultroute
pty "/usr/sbin/pptp 164.3.180.100 --nolaunchpppd"
постоянно говорит мне следуюшее:
==> errors <==
Apr 3 01:23:11 aivas pptp[5389]: anon fatal[main:pptp.c:275]: Cannot
bind GRE socket, aborting.
Apr 3 01:23:11 aivas pppd[5385]: Couldn't get channel number:
Input/output error
^^^^ Кстати, что
может означать вот эта ошибка? Я так понимаю, что это последствия
неправильного
срабатывания pptp.
==> info <==
===поскипано===
Apr 3 01:23:11 aivas pppd[5385]: pppd 2.4.2 started by mothlike, uid 500
Apr 3 01:23:11 aivas pptp[5389]: anon log[main:pptp.c:267]: The
synchronous pptp option is NOT activated
Apr 3 01:23:11 aivas pppd[5385]: Waiting for 1 child processes...
Apr 3 01:23:11 aivas pppd[5385]: script /usr/sbin/pptp 164.3.180.100
--nolaunchpppd, pid 5389
Apr 3 01:23:11 aivas pppd[5385]: Script /usr/sbin/pptp 164.3.180.100
--nolaunchpppd finished (pid 5389), status = 0x1
Apr 3 01:23:11 aivas pppd[5385]: Exit.
==> warnings <==
Apr 3 01:23:11 aivas pptp[5389]: anon
warn[pptp_gre_bind:pptp_gre.c:82]: socket: Operation not permitted
В howto к pptp клиенту говорится, что в этом случае необходимо проверить
правила Iptables на предмет блокировки GRE. Но мне не помогает даже
полное отключение iptables.
Что интересно, если из конфига pppd убрать строку pty... и так далее,
подключение проходит без каких-либо ошибок, но сеть не работает по
известным причинам :) То есть нет причин грешить на наличие/отсутствие mppe:
==> info <==
===поскипано===
CHAP authentication succeeded
Apr 3 01:12:14 aivas pppd[5239]: sent [CCP ConfReq id=0x1 <mppe +H -M
+S -L -D -C>]
Apr 3 01:12:14 aivas pppd[5239]: rcvd [CCP ConfReq id=0x3 <mppe -H +M
+S +L +D +C>]
Apr 3 01:12:14 aivas pppd[5239]: sent [CCP ConfNak id=0x3 <mppe -H -M
+S -L -D -C>]
Apr 3 01:12:14 aivas pppd[5239]: rcvd [IPCP ConfReq id=0x4 <compress VJ
0f 01> <addr 164.3.180.100>]
Apr 3 01:12:14 aivas pppd[5239]: sent [IPCP TermAck id=0x4]
Apr 3 01:12:14 aivas pppd[5239]: rcvd [CCP ConfNak id=0x1 <mppe -H -M
+S -L -D -C>]
Apr 3 01:12:14 aivas pppd[5239]: sent [CCP ConfReq id=0x2 <mppe -H -M
+S -L -D -C>]
Apr 3 01:12:14 aivas pppd[5239]: rcvd [CCP ConfReq id=0x5 <mppe -H -M
+S -L -D -C>]
Apr 3 01:12:14 aivas pppd[5239]: sent [CCP ConfAck id=0x5 <mppe -H -M
+S -L -D -C>]
Apr 3 01:12:15 aivas pppd[5239]: rcvd [CCP ConfAck id=0x2 <mppe -H -M
+S -L -D -C>]
Apr 3 01:12:15 aivas pppd[5239]: MPPE 128-bit stateful compression enabled
Если я правильно понимаю, то стороны нормально договариваются
использовать MPPE. Единственное, что меня смущает, так это "-C", которое
подразумевает отключение MPPC компрессии. Если коннектится к этому
сервису через Win, то MPPC включен. Как тогда мне включить MPPC в
Линуксе? Я использую ALM 2.4 с ppp 2.4.2-alt-6, pptp-client (версию не
помню) от 23 марта.
--
With best wishes,
Dmitry Marochko aka Mothlike
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next reply other threads:[~2005-04-02 21:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-02 21:46 Dmitry (Mothlike) Marochko [this message]
2005-04-02 21:51 ` Anton Gorlov
2005-04-03 7:40 ` Dmitry (Mothlike) Marochko
2005-04-03 17:37 ` Re[2]: " Anton Gorlov
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=424F12C4.9010705@yandex.ru \
--to=mothlike@yandex.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