Giter VIP home page Giter VIP logo

xd-h3c's Introduction

xd-h3c

xd-h3c是适用于西电北校区的UNIX/Linux网络客户端。
纯CLI,在系统无法进入GUI(无法使用官方客户端)而又需要网络进行修复时,是一个很好的选择。
当然,如果你追求高效或是想找一个在OpenWRT运行的校园网客户端,xd-h3c也是个很不错的选择。

CONTACT

[email protected]

INSTALL

安装依赖库 libpcap
如果安装遇到问题,请使用with_no_pcap分支的版本

sudo apt-get install libpcap-dev

编译

make

COMMAND

Usage:

	sudo ./xd-h3c -u [用户名] -p [密码] -n [网卡名称]

使用 ./xd-h3c -u 按照提示输入。
使用 ./xd-h3c -l [网卡名称] 注销登录。
使用 Ctrl^C 注销登录并退出程序。
使用 --help 来查看详细帮助。

REFERENCE

Ethernet_frame
http://en.wikipedia.org/wiki/Ethernet_frame
IEEE_802.1X
http://en.wikipedia.org/wiki/IEEE_802.1X
RFC 3748
http://tools.ietf.org/html/rfc3748

xd-h3c's People

Contributors

godspeed1989 avatar linuxholic avatar xufooo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

xd-h3c's Issues

license?

Which license do you choose? Can you specify it in the README file?

有点小问题

可以使用,但是老是出现这种错误:

[14] Server: 认证失败。
ErrType = [0x08]

然后就断网了

在OpenWrt上报错,帮忙看看为什么

用ifconfig看网卡信息正常

eth3      Link encap:Ethernet  HWaddr 00:1F:29:03:8A:21  
          inet6 addr: fe80::21f:29ff:fe03:8a21/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:68229 errors:0 dropped:6 overruns:0 frame:0
          TX packets:92899 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:24974452 (23.8 MiB)  TX bytes:27529951 (26.2 MiB)
          Interrupt:16 

但是用命令xd-h3c -u 001F29038A21 -p 001F29038A21 -n eth3,就会报错

网卡异常!请检查网卡名称是否正确,网线是否插好!

I tried to build on my raspi, but it doesn't work.

root@ericsraspberrypi:/opt/xd-h3c# make
gcc -Wall -c xd_h3c.c
In file included from xd_h3c.c:10:0:
authenticate.h:7:18: fatal error: pcap.h: 没有那个文件或目录
#include <pcap.h>
^
compilation terminated.
Makefile:11: recipe for target 'xd_h3c.o' failed
make: *** [xd_h3c.o] Error 1

openwrt上使用过吗?

笔记本上没有网线接口 宿舍里没法上网
手头有个刷好了openwrt的路由器, njit-client 好像不支持学校的客户端,想请问一下你有没有在openwrt上使用过,有什么经验可以借鉴吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.