Linux official version with 802.1x authentication

Source: Internet
Author: User
Article title: linux official version with 802.1x authentication. 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.
Many schools use the Shida-Ruijie 802.1 certification system. now (in fact, last month) Ruijie has launched the linux client authentication program, called xrgsu.
  
I downloaded one and can use it. however, libpcap is required. so, this may be a little troublesome, because most of the downloaded files on the Internet compile LIBPCAP. a. I 've been working on it for A long time. I finally see A description, as shown below:
-----------------------------------------------------
2. Compile and install the libpcap library
  
The hypothetical libpcap-0.7.2.tar.gz is stored in the/home/andy directory. The procedure is as follows:
[Root @ t113/] # cd/home/andy
[Root @ t113 andy] # gunzip libpcap-0.7.2.tar.gz
[Root @ t113 andy] # tar-xvf libpcap-0.7.2.tar
[Root @ t113 andy] # cd libpcap-0.7.2
[Root @ t113 libpcap-0.7.2] #
  
Note (speak out loud ~~), The function is compiled as a static function library here, but you need to share the function library (dynamic function library) when compiling DNSTOP later ). So we need to modify the Makefile. in file under the libpcap-0.7.2 Directory, open the file to find the following statement:
[Code: 1: 248ab9a8fe] all: libpcap. a (row 96th)
  
Libpcap. a: $ (OBJ)
@ Rm-f $ @
Ar rc $ @ $ (OBJ)
$ (RANLIB) $ @ [/code: 1: 248ab9a8fe]
To:
[Code: 1: 248ab9a8fe] all: libpcap. so
  
Libpcap. so: $ (OBJ)
@ Rm-f $ @
# Ar rc $ @ $ (OBJ)
Gcc $ (OBJ)-shared-o libpcap. so
# $ (RANLIB) $ @ [/code: 1: 248ab9a8fe]
  
Find the following statement:
[Code: 1: 248ab9a8fe] install :( lines 139th)
[-D $ (DESTDIR) $ (libdir)] | (mkdir-p $ (DESTDIR) $ (libdir); chmod 755 $ (DESTDIR) $ (libdir ))
$ (INSTALL_DATA) libpcap. a $ (DESTDIR) $ (libdir)/libpcap.
$ (RANLIB) $ (DESTDIR) $ (libdir)/libpcap. a [/code: 1: 248ab9a8fe]
  
To:
[Code: 1: 248ab9a8fe] install:
# [-D $ (DESTDIR) $ (libdir)] | # (mkdir-p $ (DESTDIR) $ (libdir); chmod 755 $ (DESTDIR) $ (libdir ))
# $ (INSTALL_DATA) libpcap. a $ (DESTDIR) $ (libdir)/libpcap.
# $ (RANLIB) $ (DESTDIR) $ (libdir)/libpcap.
Cp libpcap. so/usr/lib/[/code: 1: 248ab9a8fe]
  
Done! Start compilation:
[Root @ t113 libpcap-0.7.2] #./configure -- prefix =/usr
[Root @ t113 libpcap-0.7.2] # make
[Root @ t113 libpcap-0.7.2] # make install
  
We can breathe a sigh of relief.
------------------------------------------------
Xrgsu is a binary program, which can be copied to/usr/bin.
  
Download a connection http://seal.blogchina.com/
  
Download and change the suffix to .tar.gz
  
More than 500 kb. if it cannot be uploaded, upload a single file, decompress it, replace it with the original file, and then compile it. of course, if you download it, you can compile libpcap. so.
  
The original file can be easily searched to (libpcap-0.8.3), xrgsu in ftp://ftp.jnu.edu.cn/student
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.