[Comm] Re: pptpd - не удается настроить
Konstantin Lepikhov
=?iso-8859-1?q?lakostis_=CE=C1_pisem=2Enet?=
Чт Мар 13 22:38:43 MSK 2003
Hi vic!
Thursday 13, at 08:49:42 PM you wrote:
> Приветствую!
> Может кто поможет в проблеме.
> Никак не могу настроить pptpd сервер.Причем проблема моя несколько раз
> мелькала в МЛ по pptp, но решения так и не нашел.
> При коннекте к pptp серверу Вин98-клиента получаю такие записи в логе
> ++++++++++++++++++++++++++++++++++++++++++++
> Mar 13 20:14:51 vic pptpd[6165]: MGR: Launching /usr/sbin/pptpctrl to handle
> client
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: local address = 192.168.3.1
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: remote address = 192.168.3.20
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: pppd options file =
> /etc/ppp/options.pptpd
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Client 192.168.1.2 control connection
> started
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Received PPTP Control Message (type: 1)
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Made a START CTRL CONN RPLY packet
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: I wrote 156 bytes to the client.
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Sent packet to client
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Received PPTP Control Message (type: 7)
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Set parameters to 0 maxbps, 16 window
> size
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Made a OUT CALL RPLY packet
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Starting call (launching pppd, opening
> GRE)
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: pty_fd = 5
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: tty_fd = 6
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: I wrote 32 bytes to the client.
> Mar 13 20:14:51 vic pptpd[6166]: CTRL (PPPD Launcher): Connection speed =
> 115200
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Sent packet to client
> Mar 13 20:14:51 vic pptpd[6166]: CTRL (PPPD Launcher): local address =
> 192.168.3.1
> Mar 13 20:14:51 vic pptpd[6166]: CTRL (PPPD Launcher): remote address =
> 192.168.3.20
> Mar 13 20:14:51 vic pptpd[6165]: GRE: read(fd=5,buffer=804d620,len=8196) from
> PTY failed: status = -1 error = Input/output error
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: PTY read or GRE write failed
> (pty,gre)=(5,6)
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Client 192.168.1.2 control connection
> finished
> Mar 13 20:14:51 vic pptpd[6165]: CTRL: Exiting now
> Mar 13 20:14:51 vic pptpd[6157]: MGR: Reaped child 6165
> ++++++++++++++++++++++++++++++++++++++
>
> iptables выключены.
> modules.conf
> ++++++++++++++
> #for pptpd
> alias /dev/ppp ppp_generic
> alias char-major-108 ppp_generic
> alias tty-ldisc-3 ppp_async
> alias tty-ldisc-14 ppp_synctty
> alias ppp-compress-18 ppp_mppe
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
> alias net-pf-47 ip_gre
> +++++++++++++++++++++
>
> options.pptpd
> +++++++++++++++
> lock
> mtu 1490
> mru 1490
> ms-dns 192.168.1.1
> debug
> name pptp
> nobsdcomp
> proxyarp
> auth
> #+pap
> +chap
> +chapms
> +chapms-v2
> require-mppe
> mppe-40
> mppe-128
> mppe-statelesslock
> require-mppe-statelesslock
> +++++++++++++++++++
>
> chap-secrets
> ++++++++++++++
> # Secrets for authentication using CHAP
> # client server secret IP addresses
> win1 pptp 123 192.168.3.50
> ++++++++++++++++++++++++++++
>
> kernel24-up-2.4.20-alt5
> ppp-2.4.1-alt8
> ppp-extra-2.4.1-alt8
> pptpd-1.1.3-alt1
>
> Винда отваливается с ошибкой 629: You have been disconnected from the computer
> you dialed.
А пробовали с последними pppd из cvs? Ядро точно насчет mppe патченное? У
меня, например, прекрасно работает связка xtradius+pptp-server+pppd
(2.4.2b2). Правда, используя chap и ядра 2.2
--
WBR, Konstantin chat with ==>ICQ: 109916175
Lepikhov, speak to ==>JID: lakostis на jabber.org
aka L.A. Kostis write to ==>mailto:lakostis на pisem.net.nospam
...The information is like the bank... (c) EC8OR
Подробная информация о списке рассылки community