WindSpiritSR / sie8021xclient

802.1x and iMC Portal auth for SIE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Install

Debian/Ubuntu

sudo apt install autoconf libtool libpcap-dev libssl-dev pkg-config
git clone https://github.com/WindSpiritSR/sie8021xclient
cd ~/sie8021xclient
autoreconf --install
./configure
make
sudo make install

Then you can find it at /usr/local/sbin/sie-client

OpenWrt

Download the OpenWrt SDK which version you want to run, then cd into it

./scripts/feeds update -a
./scripts/feeds install -a

Clone this package to package/

Run make menuconfig, check build config, select sie8021xclient as M at Network, then run make V=s (This is not a complete step, I assume you have the technical ability to compile OpenWrt :) )

If successful, you can find sie8021xclient_2.0-testing_<arch>.ipk at bin/packages/<arch>/base

Or you can run make package/sie8021xclient/compile V=s

If successful, you can find sie-client at staging_dir/target-<arch>/root-<target>/usr/sbin/

Usage

Run sudo sie-client [account] [password] [network card]

Auto auth in OpenWrt

Copy sie_auth to /etc/init.d/, and run /etc/init.d/sie_auth enable

Please modify config in sie_auth according to your actual info

Don't forget to set IP DNS blblbl in you router

Fork from

Depends on

About

802.1x and iMC Portal auth for SIE

License:GNU General Public License v3.0


Languages

Language:C 74.2%Language:M4 17.8%Language:Makefile 2.7%Language:Shell 2.4%Language:HTML 1.5%Language:Python 1.4%