[求助]使用教育网直通车的用户能在这贴一下/etc/ppp/options.pptp吗?谢谢

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
fantysun
帖子: 11
注册时间: 2006-07-01 21:10
联系:

[求助]使用教育网直通车的用户能在这贴一下/etc/ppp/options.pptp吗?谢谢

#1

帖子 fantysun » 2006-08-05 15:44

1。在root下启动pptpconfig


2。点Sever页。Name随便填;Server填上58.207.255.17;剩下两项就填自己申请的用户名和密码


3。Routing页,选中All To Tunnel,所有连接都走VPN的意思


4。DNS页,去掉所有选择


5。Encryption页,同样不要选择任何选项,然后点ADD


6。注释掉/etc/ppp/options.pptp文件中 require-mppe-128


7。将58.207.255.35添加(注意是添加,不是替换)到DNS列表。


之后在pptpconfig里面点start.

我就是这么来的啊,可是老是给我一个错误!
Using interface ppp0
pptpconfig: monitoring interface ppp0
Connect: ppp0 <--> /dev/pts/2
CHAP authentication succeeded
MPPE required but peer negotiation failed
Connection terminated.
pptpconfig: pppd process terminated by signal 10 (failed)
pptpconfig: SIGUSR1

我已经注释掉/etc/ppp/options.pptp文件中 require-mppe-128了啊
能把你们的/etc/ppp/options.pptp的内容贴上来过来吗
我的如下:
###############################################################################
# $Id: options.pptp,v 1.1 2005/02/18 01:40:23 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
# }}}
cg
帖子: 31
注册时间: 2006-06-25 13:02

#2

帖子 cg » 2006-08-22 9:19

请问第七句话应该如何操作阿,就是如果在终端中?
怎么将ip地址添加到dns列表?
谢谢!
我和楼上出现的错误是一模一样的!
请大家赐教解决方法,谢谢!
fteye
帖子: 201
注册时间: 2005-11-18 20:52

#3

帖子 fteye » 2006-09-14 0:14

为什么edgy下面显示的是一片空白呢?
回复