这些步骤是由我的 iSP 管理员针对 ver10.10 发送的,我正在使用 11.10...
步骤 1 成功执行到第 7 点之后问题在“//”后标记
第 2 步 我无法完全完成第 2 步
如何在 Ubuntu 10.10 中建立 Connect Communications VPN 连接。
1st Step:-
1- Go to System > Administration > Synaptic Package Manage
2- Search for “PPTP”, check “network-manager-PPTP” and click “Apply”
3- Click on the Network Manager tray icon with your right mouse button and choose “Edit Connections…”.
4- Go to the “VPN” tab and click “Add”.
5- Choose “Point-to-Point Tunneling Protocol (PPTP)” as the VPN Connection Type
6- Check the VPN Connection Type and click “Create”.
7- Give your VPN connection a name and assign all the necessary information
• Gateway = blue.connect.net.pk if you got Blue Package
or
• Gateway = green.connect.net.pk if you got Green Package
or
• Gateway = blueplus.connect.net.pk if you got BluePlus Package
or
• Gateway = red.connect.net.pk if you got Red Package
• User name = Connect Communications Userid
• Password = Connect Communications Password
8- Now Click on “Advanced”
Authentication
• Unchecked “PAP" // cannot uncheck
• Unchecked “MSCHAP" // cannot uncheck
• Unchecked “CHAP"
• Checked only “MSCHAPv2"
EAP shown in ver11.10 and cannot be unchecked
Security And Compression.
• Unchecked “Use Point-to-Point encryption (MPPE)”.
• Unchecked “Allow statefull encryption”.
• Unchecked “Allow BSD data Compression”.
• Unchecked “Allow Deflate data Compression”.
• Unchecked “Use TCP Header Compression”.
• Unchecked “Send PPP echo Packets”
Then Press “OK” then “Apply”.
9-Now you are able to connect to the specified VPN connection via the Networking Manager
Then you can connect to VPN in the menu bar and your Internet icon will have a lock when the connection is successful.
2nd Step:-
Open Terminal window.
First, you open a terminal (Applications > Accessories > Terminal):
Run command “sudo”
Now gave root Password.
Then run command “netstat -r -n”
It will show some lines and for example from the last line pick the IP from 2nd column like 10.111.0.1
0.0.0.0 10.111.0.1 0.0.0.0 UG 0 0 0 eth0
Now run the fallowing command.
echo “route add -net 10.101.8.0 netmask 255.255.252.0 gw 10.152.24.1” > /etc/rc.local
note :- 10.111.0.1 is an example IP
now run “ sh /etc/rc.local “
答案1
请提供有关您遇到的实际问题的更多信息,我的意思是,当您尝试连接时会发生什么?
另外,ISP 是否希望您使用任何软件,还是只需通过网络管理器运行即可?顺便说一句,网络管理器有点问题……
另外,你常用的是哪种连接?ADSL?PPPOE?
您无法完成第 2 步的全部内容,这是什么意思?
你指的是 PPTP 不可用吗?我从未听说过……
我不是专家,但有些人会接受。请提供更多信息供他们使用。