Previously, the hadoop environment was set up in a windows VPN (VPN connection is because it can connect to the network of the instructor's lab and use the network environment of the lab to allocate virtual machines to the instructor ). No VPN connection has been tried in ubuntu. The connection is successful tonight... previously, the hadoop environment was set up in a windows VPN (VPN connection is because it can connect to the network of the instructor's lab and use the network environment of the lab to allocate virtual machines to the instructor ). No VPN connection has been tried in ubuntu. The connection is successful !! Now write down the process.
Before establishing a VPN connection, you must first establish and install pptp graphics software on the system. the specific command is as follows:
Vpn @ vpn-laptop :~ $ Sudo apt-get install network-manager-gnome network-manager-pptp vpn @ vpn-laptop :~ $ Sudo NetworkManager restart www.2cto.com
Next, we will start setting. Click the network connection icon, select "VPN connection", and click the Add button in the displayed window. the following window appears for configuration:
Enter the "connection name" at will. The name is only used to distinguish different VPN connections on the local machine. The following "Gatway" is the IP address of another host that needs to establish a VPN connection with it. "User name" and "password" are the username and password used to log on to another host. After filling in the above three items, click "Advance" below to display the following interface:
Select "User Point-to-Point encryption", and set other options as default. Click OK to return to the previous window, and then click save. At the end of www.2cto.com, due to a bug in ubuntu, EAP is used for authentication by default. NetworkManager does not support disable EAP authentication. you must set it with gconf-edit. Enter "gconf-editor" on the terminal. the following interface is displayed:
Select "system-> networking-> connection-> 1-> vpn". some keys and corresponding values will appear on the right of the window. Right-click the blank space and select the "New Key" option. the following dialog box is displayed and you can set it:
Remember to enter "refuse-eap" as the "name", select "string" as the type, and enter "yes" as the value ". Click OK to complete the settings.
Next, click the network connection icon and select "VPN connection-> VPN name" to connect to the VPN server.
Prepared by AI_Net
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.