Kubuntu 14.10 mentohust configuration libpcap Rui Jie Campus Network login Summary

Source: Internet
Author: User

First, it needs to be explained that Mentohust and Ruijie are all dependent on the LIBPCAP function library.

Before configuring Libpcap, you need to install GCC, GNU M4, Flex, bison, or you will get an error.

(the following are performed as Root)

1. Installation Gccubuntu the GCC is installed by default, but it is required to install according to the reference (1)
sudo Install build-essential

2. Install the GNU M4 Web site ftp.gnu.org/gnu/m4/Download the current latest version
wget http://ftp.gnu.org/gnu/m4/m4-latest.tar.gztar -zxvf m4-latest. Tar . GZCD M4-1.4.  - . /Configuremake doinstall
3. Install Flex (if there is no software source, then go to the site itself, under the decompression, configure, make, make install, and install the same as the GNU M4)
wget http://cznic.dl.sourceforge.net/project/flex/flex-2.5.39.tar.gztar - ZVXF flex-2.5. . Tar . GZCD Flex-2.5.  the . /Configuremake doinstall

or directly

sudo Install Flex

4. Installing Bison
wget FTP://ftp.gnu.org/gnu/bison/bison-3.0.tar.gztar -zvxf bison/bison-3.0 . Tar . GZCD Bison-3.0. /Configuremake doinstall

or directly
sudo Install Bison

5. Install libpcap URL http://www.tcpdump.org/download current latest version
wget http://www.tcpdump.org/release/libpcap-1.4.0.tar.gztar -zxvf libpcap- 1.4. 0. Tar . GZCD libpcap-1.4. 0 . /Configuremake doinstall

6. To this point not yet, we see that we need the library libpcap.so.1 is not placed in the Mentohust default search directory we view
Whereis libpcap.so. 1

Will find

Libpcap.so:/usr/local/lib/libpcap.so/usr/local/lib/libpcap.so. 1

is present, but the program defaults to find a lot of solutions, list one, the method can solve similar problems, once and for all./usr/lib/ Open the/etc directory file ld.so.conf, add two lines, I was directly edited with VI, (initial file empty, a line of code)
/usr/local/Lib/usr/lib

At this point, as Administrator re-run Mentohust, according to the actual situation of your choice of network cards and authentication forms. I connect when found that the first time to obtain the IP did not succeed, wait a while you will find in fact already connected ~ Wish you good luck ~ reference: Http://blog.163.com/[email protected]/blog/static/ 12726353120131022283250/http://wiki.ubuntu.org.cn/%e9%94%90%e6%8d%b7%e3%80%81%e8%b5%9b%e5%b0%94%e8%ae%a4%e8%af %81mentohust

Kubuntu 14.10 mentohust configuration libpcap Rui Jie Campus Network login Summary

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.