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: www.linuxidc.com @ vpn :~ $ Sudoap
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:
Www.linuxidc.com @ vpn :~ $ Sudo apt-get install network-manager-gnome network-manager-pptp
Www.linuxidc.com @ vpn :~ $ Sudo NetworkManager restart
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.
Finally, Because Ubuntu has a bug, it uses EAP 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.