Solution for 802.1x authentication client on Linux

Source: Internet
Author: User
Article Title: 802.1x authentication client solution for Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. Download the free mdc-ssd 802.1x authentication client software. Current version: mdc-ssd-01.1.2-1.i386.rpm (see attachment)
2. Install mdc-ssd. Because mdc-ssd uses TLS authentication, some SSL library files are required. If you are prompted to install software packages such as libssl or libcrypto during installation, run the following command:
& Quot; rpm-Uvh -- nodeps mdc-ssd-01.1.2-1.i386.rpm & quot"
Install. At the same time, in the/usr/lib directory, create a file link:
Cd/us/lib
Ln-s libssl. so libssl. so.1
Ln-s libcrypto. so libcrypto. so.1
3. Configure mdc-ssd.
Cd/etc/mdc-ssd
Modify the ifcfg file and change the content in the corresponding column of id to your user name.
Cd/etc/mdc-ssd/eth0
Modify the chap-secrets file and change the column automatically added by the system to your username and password. Do not change the column "*" in the middle.
You can also modify the ifcfg file and set the default password after the id to your password. You do not need to modify the chap-secrets file.
  
Note: For systems that do not have version 1.x SSL installed, you can only use the MD5-Challenge authentication method, not the TLS authentication method. If your access system is LAN or VDSL, there should be no problem. At present, almost all use MD5-Challenge certification in mainland China. If you use WLAN Access, TLS authentication may be used. The configuration of TLS authentication is complex. You need to obtain the security certificate from the carrier. The configuration in this article only applies to MD5-Challenge authentication.
Verified system: Mandrake 8.2
If your kernel version is earlier than 2.4, there may be problems, but I have not tried it and there is no environment.
If you are compiling your own kernel, check whether the "raw packet" in the network configuration is compiled. Otherwise, you need to re-compile the kernel.
  
Usage:
Mdc-ssd is divided into two parts: a daemon process and a management process.
First, start the daemon. The management process can be used only when the daemon starts and is successfully connected to the access network team.
You can create a startup text for the daemon in the/etc/rc. d/rc5.d directory. If the daemon is started from the command line, it must be started as a daemon process: "mdc-ssd &"
Mdc-ssc is a management process. There are four commands for start login logout help. Enter the help Command for details.
Related rpm packages:
Http://www.linuxfans.org/nuke/modules.php? Name = Forums & file = download & id = 2371'
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.