linux 瑞捷客户端 的正确打开姿势

首先,插上网线。
跟 windows 一样,从学校弹出来的认证页面下载 linux 瑞捷客户端。
地址:
http://sam.xaut.edu.cn:9090/dl/RG_Supplicant_For_Linux_V1.31.zip

可使用 wget http://sam.xaut.edu.cn:9090/dl/RG_Supplicant_For_Linux_V1.31.zip
获取之

1. 解压进入
unzip RG_Supplicant_For_Linux_V1.31
cd rjsupplicant
2. 这里有32位和64位两个版本,对应的操作一样,我进入64位的
cd x64
给客户端加上可执行权限
chmod +x rjsupplicant
3. 运行之
./rjsupplicant
出现错误:
./rjsupplicant: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
这是因为 当前的lib目录下没有对应的动态库文件,我们可以手动从系统目录拷贝过来
cp /usr/lib/x86_64-linux-gnu/libssl3.so ./lib/libssl.so.6

再次运行 rjsupplicant,错误如下:
./rjsupplicant: error while loading shared libraries: libcrypto.so.6: cannot open shared object file: No such file or directory
cp /usr/lib/x86_64-linux-gnu/libcrypt.so ./lib/libcrypto.so.6

再次运行 rjsupplicant,错误如下:
./rjsupplicant: error while loading shared libraries: libpcap.so.0.9: cannot open shared object file: No such file or directory
cp /usr/lib/x86_64-linux-gnu/libpcap.so.1.7.4 ./lib/libpcap.so.0.9

再次运行,出现:No permission to run program, please run as root.

对于运行时出现的错误,发现它少了什么文件,我们从系统目录中拷贝过来就可以。当然,还有一种方式,
就是在 /usr/lib/x86_64 目录下建立 所需要的库文件的连接,或者拷贝。

到此为止,我们已经补全了所有缺失的动态库文件
sudo ./rjsupplicant -a1 -d1 -u02903017169 -p 你的密码 &

 大功告成

注意:

  1)在运行 rjsupplicant 之前要关闭所有网络接口,一般是要关闭 wlan0。

因为即使在linux 环境下,锐捷依然会检测你的多网卡;同时,如果你在

linux中安装了虚拟机(比如vmwa),在启动 rjsupplicant 之前也要关闭 vmnet1,vmnet8.

  2)如果你是在虚拟机里面安装的linux,注意把网卡设置为 “桥接模式”。

  3)经过测试,linux环境下的 rjsupplicant 貌似不支持 6M 网的账号。

 

posted @ 2016-05-26 21:35  SurfUniverse  阅读(1129)  评论(0编辑  收藏  举报