Thanks for 南京工程学院校园网802.1X客户端(兼容H3C/iNode V2.40-0335)
1.sudo apt-get install git
git clone git://github.com/liuqun/njit8021xclient.git
or
通过Internet浏览器在线查看最新源代码:
http://github.com/liuqun/njit8021xclient
unzip njit8021xclient-master.zip
2.cd njit8021xclient (or: cd njit8021xclient-master)
3.对应Ubuntu/Debian的是:
sudo apt-get install libpcap-dev libssl-dev
sudo apt-get install pkg-config
对应Fedora/Redhat的是:
yum install libpcap-devel openssl-devel
yum install pkgconfig
4.sudo apt-get install automake
5. ./help
6. 从源码包开始编译客户端的命令为:
tar xzf njit8021xlient-1.1.tar.gz
cd njit8021xlient-1.1
./configure
make (if it doesnot work, try : make all-in)
安装:
make install
7. cd src
make (make all-an / make install)
./client username password eth0
或者
njit-client username password eth0
Congratulations.!!!