пожалуйста, поделитесь дефолтным содержимым этого файла или подскажите в чём беда:
pptp_gre.c:197]: short read (-1): Input/output error
спасибо :)
Вид для печати
пожалуйста, поделитесь дефолтным содержимым этого файла или подскажите в чём беда:
pptp_gre.c:197]: short read (-1): Input/output error
спасибо :)
В моём дистрибутиве (gentoo) это /etc/ppp/options.pptp:
$_mppc.o# {{{# Require MPPE 128-bit encryption#mppe required,stateless# }}}###################################$
# $Id: options.pptp,v 1.2 2005/08/20 13:16:38 quozl Exp $
#
# Sample PPTP PPP options file /etc/ppp/options.pptp
# Options used by PPP when a connection is made by a PPTP client.
# This file can be referred to by an /etc/ppp/peers file for the tunnel.
# Changes are effective on the next connection. See "man pppd".
#
# You are expected to change this file to suit your system. As
# packaged, it requires PPP 2.4.2 or later from [url]http://ppp.samba.org/[/url]
# and the kernel MPPE module available from the CVS repository also on
# [url]http://ppp.samba.org/[/url], which is packaged for DKMS as kernel_ppp_mppe.
###############################################################################
# Lock the port
lock
# Authentication
# We don't need the tunnel server to authenticate itself
noauth
# We won't do EAP, CHAP, or MSCHAP, but we will accept MSCHAP-V2
refuse-eap
refuse-chap
refuse-mschap
# Compression
# Turn off compression protocols we know won't be used
nobsdcomp
nodeflate
# Encryption
# (There have been multiple versions of PPP with encryption support,
# choose with of the following sections you will use. Note that MPPE
# requires the use of MSCHAP-V2 during authentication)
# [url]http://ppp.samba.org/[/url] the PPP project version of PPP by Paul Mackarras
# ppp-2.4.2 or later with MPPE only, kernel module ppp_mppe.o
# {{{
# Require MPPE 128-bit encryption
#require-mppe-128
# }}}
# [url]http://polbox.com/h/hs001/[/url] fork from PPP project by Jan Dubiec
# ppp-2.4.2 or later with MPPE and MPPC, kernel module ppp_mppe_mppc.o
# {{{
# Require MPPE 128-bit encryption
#mppe required,stateless
# }}}
Скорее всего, изначально что-то неправильно настроено, я бы настроил всё с нуля.
На сайте разработчиков pptp описан процесс настройки для множества дистров [url]http://pptpclient.sourceforge.net[/url]
Там же описаны стандартные шаги по выявлению и решению проблем [url]http://pptpclient.sourceforge.net/howto-diagnosis.phtml[/url]
спасибо, я уже восстановил методом проб и такой-то матери :)
Беда была в сменённом ядре ;) module ppp_mppe_mppc не был загружен по дефолту и собственно все корябил...