пожалуйста, поделитесь дефолтным содержимым этого файла или подскажите в чём беда:
pptp_gre.c:197]: short read (-1): Input/output error
спасибо
|
пожалуйста, поделитесь дефолтным содержимым этого файла или подскажите в чём беда:
pptp_gre.c:197]: short read (-1): Input/output error
спасибо
/dev/gmaker
В моём дистрибутиве (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 http://ppp.samba.org/
# and the kernel MPPE module available from the CVS repository also on
# http://ppp.samba.org/, 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)
# http://ppp.samba.org/ 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
# }}}
# http://polbox.com/h/hs001/ 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 описан процесс настройки для множества дистров http://pptpclient.sourceforge.net
Там же описаны стандартные шаги по выявлению и решению проблем http://pptpclient.sourceforge.net/howto-diagnosis.phtml
спасибо, я уже восстановил методом проб и такой-то матери
Беда была в сменённом ядре module ppp_mppe_mppc не был загружен по дефолту и собственно все корябил...
Последний раз редактировалось Николай; 20.08.2006 в 20:30.
/dev/gmaker
Социальные закладки