Linux Xsupplicant package installation Description

Source: Internet
Author: User

Linux Xsupplicant has been widely used but is constantly updated. Here we will introduce the installation and use of Linux Xsupplicant to help you install and update the Linux Xsupplicant system. After Linux Xsupplicant is installed, this article describes how to configure the system to pass authentication because our company's network has 802.1X MD5 authentication.

This article describes how to enable Linux to pass 802.1X MD5 authentication by installing the Linux Xsupplicant software package.

Content: first download the file Linux Xsupplicant-1.2.8.tar.gz (http://open1x.sourceforge.net/) unzip tar zxvf xsupplicant-1.2.8.tar.gz to enter the directory generated after decompression./configure this time start to report an error because there is no libiw. h this file.

I haven't found the installation CD for a long time. Just download, compile, and install it on your own (the best way to install software in Linux is to download the source code and compile and install it on your own) go to http://www.2d-hp.com/personal/jean_tourrilhes/linux/tools.htmlto download the latest example. decompress it to any directory (I will decompress it to the/opt directory)

Go to the decompressed directory, run make, and run make install. Then run the command again in the xsupplicant directory. /configure, or cannot find libiw. h's error was searched online and found the solution: Modify/usr/include/linux/wireless. h file, add # include <linux/if. h> this line.

Go to the Linux Xsupplicant directory and run./configure. Now everything is OK. Then make

The file linux/compiler. h is missing. It doesn't matter. You can find it in the/usr/src/kernels/2.6.21-1.3194.fc7-i686/include/linux directory of the system, find the file cp to the/usr/include/linux directory of FC7.

Then make install

Xsupplicant is installed in the system. Configure Linux kernel default decompressed folder named xsupplicant-1.2.8, which has a etc folder, find the Linux Xsupplicant. conf file, this is the Linux Xsupplicant configuration file.

1. Run the configuration file cp to/etc. This configuration file will be called by default during Linux Xsupplicant running.

2. Edit the configuration file in two ways:

1) Delete the empty default configuration block and change my_network to default.

2) or add:

 
 
  1. AllAllow_types= All
  2. Identity = yourid
  3. Eap-md5 {
  4. Username="Windy xu"(Quotation marks are required here because there are spaces)
  5. Password="Windy xu's password"(It is best to add quotation marks)
  6. }

3. Change the username password value in the eap-md5 section to your username and password.

4. Run the following command:

 
 
  1. #/Usr/local/sbin/xsupplicant-I eth0
  2. #/Sbin/dhclient eth0 (killall dhclient may be required before)

Now it has officially passed 802.1x authentication and can access the Internet normally.

Summary: two other 802.1x authentication programs have been downloaded. The results are all due to space in our NT account, which causes the Username to be intercepted and cannot pass authentication, only the software in this article can enclose username with double quotation marks.

  1. Linux Makefile
  2. Linux partition solution Discussion
  3. Knowledge about Linux SNMP and RRD database updates
  4. Linux openmosix hardware configuration and installation steps
  5. Handling of Linux VMware installation failure

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.