Skip to content

JHees/Drcom8021x_linux_scut

 
 

Repository files navigation

Drcom8021x_linux

This repository was forked from https://github.com/sunke-github/Drcom8021x_linux

But i found a better repository: https://github.com/scutclient/scutclient.git . So this repository will not be edited any more.

Todo:

  • disconnection detect and reconnect (use systemd.timer?)
  • wireless bridge
  • balance between wired and wireless network

differ from sunke-github/Drcom8021x_linux

  • support command line usage (see drcom8021x --help)
  • support install and systemd. (you can use make install and systemctl enable drcom8021x.timer to make drcom8021x run automatically, see below)
  • remove useless code and configurations
  • refactor the code and make it (maybe) more efficient

Dependencies

  • pcap
  • clipp

Build and install:

install dependency:

# pcap
apt install libpcap-dev
# clipp
git clone https://github.com/muellan/clipp.git
cd clipp
cmake .
make
sudo make install

Compile this code:

git clone https://github.com/JHees/Drcom8021x_linux_scut.git
cd Drcom8021x_linux_scut
mkdir build
cd build
cmake ..
make

If you like to install in the system path, you need to compile in release:

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
sudo make install

Systemd service

Using the persistent systemd service

Start service immediately:

sudo systemctl start drcom8021x

Start on boot:

sudo systemctl enable drcom8021x

sunke-github/Drcom8021x_linux

声明:

Drcom8021x 软件是根据 EasyDrcom软件重构而来,该源码地址:https://github.com/coverxit/EasyDrcom . 本软件遵循GPL v3.0,使用本软件源码请注明原作者,来源和出处.

免责声明:

该软件是做交流学习使用,请勿用作非法用途. 使用本软件带来的法律问题由使用者付全责与软件作者无关.

About

第三方Drcom 登录应用

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 65.6%
  • C 29.1%
  • CMake 5.3%