i google it still can not solve my vpn connection problem..
i've installed pptp-linux in ubuntu 10.04 and follow the tutorial as following site :
http://pptpclient.sourceforge.net/howto-ubuntu.phtml
(the gui configure package can not be used,the apt-get said the package is broken....)
Configuration, by hand
obtain from your PPTP Server administrator:
the IP address or host name of the server ($SERVER),
the name you wish to use to refer to the tunnel ($TUNNEL),
the authentication domain name ($DOMAIN),
the username you are to use ($USERNAME),
the password you are to use ($PASSWORD),
whether encryption is required.
In the steps below, substitute these values manually. For example, where we write $PASSWORD we expect you to replace this with your password.
create or edit the /etc/ppp/options.pptp file, which sets options common to all tunnels:
lock noauth nobsdcomp nodeflate
create or add lines to the /etc/ppp/chap-secrets file, which holds usernames and passwords:
$DOMAIN\\$USERNAME PPTP $PASSWORD *
Note: if you are using a PPTP Server that does not require an authentication domain name, omit the slashes as well as the domain name.
Note: if the passwords contain any special characters, quote them. See man pppd for more details.
create a /etc/ppp/peers/$TUNNEL file:
pty "pptp $SERVER --nolaunchpppd"
name $DOMAIN\\$USERNAME
remotename PPTP
require-mppe-128
file /etc/ppp/options.pptp
ipparam $TUNNEL
Note: if you do not need MPPE support, then remove the require-mppe-128 option from this file and /etc/ppp/options.pptp.
start the tunnel using the pon command:
pon $TUNNEL
to further diagnose a failure, add options to the command:
pon $TUNNEL debug dump logfd 2 nodetach
Note: we have further information on enabling debug mode, and on diagnosing problems.
stop the tunnel using the poff command:
poff $TUNNEL
the first problem is i do not know whether this vpn require the mppe support ...
but anyway, whether the setting supports the mppe or not ,i can not pon the tunnel....
the second question is about the chap-secrets file and
i have successfully used the pppoeconf to connect internet via adsl ..and my /etc/ppp/chap-secrets file
# Secrets for authentication using CHAP
# client server secret IP addresses
"xxxxxxx" * "xxxxxxx"
($username) ($password)
but in the tutorial , the format is $DOMAIN\\$USERNAME PPTP $PASSWORD * (do not need the quotation mark " " )
i do not know whether there is any relationship between the adsl connection and the vpn?
Does someone here can tell me how to configure the vpn?
best regards.
how to connect to a windows vpn
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
-
- 帖子: 8
- 注册时间: 2010-04-24 13:03
- hcym
- 帖子: 15634
- 注册时间: 2007-05-06 2:46
Re: how to connect to a windows vpn
Install PPTP GUI in Ubuntu
you want to open the application go to Applications--->Internet or you can use the command line to open GUI
gksudo pptpconfig
代码: 全选
sudo sudo apt-get install pptpconfig
gksudo pptpconfig
وإذا كان هذا لا يحصل أكثر من 100 ملاحظات ، انا ذاهب الى غضب
-
- 帖子: 8
- 注册时间: 2010-04-24 13:03
Re: how to connect to a windows vpn
i have tried your command ,buthcym 写了:Install PPTP GUI in Ubuntu
you want to open the application go to Applications--->Internet or you can use the command line to open GUI代码: 全选
sudo sudo apt-get install pptpconfig
gksudo pptpconfig
代码: 全选
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package pptpconfig
- tenzu
- 论坛版主
- 帖子: 36924
- 注册时间: 2008-11-21 20:26