Article Title: Use pptp to connect to the VPN Server in Linux. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, basic Classification of embedded systems and open-source systems. Currently, Linux releases are mainly divided into two series of 2.4 kernels (red hat 9, red hat 8.0, fedora core 1, RHEL 3), 2.6 kernel (fedora core 2-6, RHEL 4 ). First, we will introduce the former. Here, red hat 9 prevails.
1. Install the basic software packages libglade and libglade-devel.
Libglade and libglade-devel are a GTK +/GNOME program. Automatically generate a library on the program interface or part of the interface from the xxx. glade file. The original design intention of Glade is to separate the Interface Description of GTK +/GNOME from the source code, that is, using xxx. the glade file is used to describe the interface, instead of writing the c code of the generated interface to the source code. The additional benefit is that it is very easy to modify the program interface in the later stage, you only need to use Glade to adjust the interface (actually, only xxx is modified. glade file, without modifying the source program ). In addition, using the. glade file to generate a program interface does not affect the efficiency of your program, because you only need to load all the interfaces at a time and then use them directly as needed. If the system has been installed, we can directly install the VPN Client software. Otherwise, you can install the "Add/delete application" tool on the GUI of Rat Het Linux. Select "Main Menu"> "system settings"> "Add/delete application", and select "GNOME Software Development" on the displayed page ", click "Update. 1.
|
| Install libglade and libglade-devel |
If your Linux release version does not have these two software, you can also install it through the network. Download URL: http://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/libglade-2.0.1.tar.bz2
2. Install the DKMS module package
DKMS (Dynamic Kernel Module Support) supports Dynamic Kernel modules. The purpose is to create a framework with a kernel-related Module source that can reside, so that the module can be easily rebuilt during kernel upgrade. This will allow Linux vendors to provide drivers of earlier versions, without waiting for the release of the new kernel version, but also saving the work expected by customers who attempt to recompile the new kernel module. Oikawa and others proposed a dynamic core module (DKMs) technology similar to LKM in 1996. Like LKM, DKMs is stored as a file and can be dynamically loaded and detached during system operation. DKMs is managed by a user-layer DKM server, not by the kernel. When the core needs a module, the DKM server is responsible for loading the corresponding DKM. When the core memory resources are insufficient, the DKM server is responsible for detaching an unused DKM. The disadvantage is that all DKM are stored on the local system, occupying a large amount of valuable storage space. For more information about how DKMS works, see.
# Wget http://www.city-fan.org/ftp/contrib/drivers/pptp/dkms-2.0.13-1.noarch.rpm
# Rpm -- install dkms-2.0.13-1.noarch.rpm
3. Install and view the ppp kernel module
# Wget http://www.city-fan.org/ftp/contrib/drivers/pptp/kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
# Rpm -- install kernel_ppp_mppe-1.0.2-3dkms.noarch.rpm
# Dkms status
# Kernel_ppp_mppe, 0.0.5, 2.4.20-8, athlon: installed (original_module exists)
4. Upgrade the ppp Software Package
# Wget ftp://rpmfind.net/linux/ASPLinux/contribs/9/i386/ppp-2.4.2-0.20030925asp.i386.rpm
# RPMs -- upgrade ppp-2.4.2-0.20030925asp.i386.rpm
5. Install the VPN Client Software pptp-linux and graphics front-end
# Wget ftp://fr2.rpmfind.net/linux/sourceforge/p/pp/pptpclient/pptp-linux-1.5.0-1.i386.rpm
# Rpm -- install pptp-linux-1.4.0-1.i386.rpm
# Wget ftp://ftp.pbone.net/mirror/ftp.sourceforge.net/pub/sourceforge/p/pp/pptpclient/pptp-php-gtk-20040102-rc1.i386.rpm
Rpm -- install pptp-php-gtk-20040102-rc1.i386.rpm
[1] [2] [3] [4] Next page