redhat linux 中用锐捷客服端实现上网推荐

redhat linux中用锐捷客服端实现上网

开学了我们学校用的是锐捷的客服端连接外网,window下安装锐捷客服端实现上网很随意,但linux下却不是那么如鱼得水。我们校的很多同学都想用linux系统,但都因为安装锐捷客服端问题,不能上网,望而却步。

如今linux系统越来越火,为了攻破以上问题,结合网络上和自身的知识,总结出下方法:

1.刚开始一直用xrgsu-1.1.1.i386.tar.gz应该是锐捷官方提供的,搞了半天一直不成,错误结果是:

[root@localhost xrgsu1.1]# ./xrgsu -aXRGSupplicant 1.0.1RuiJie Network CopyRight 2004Please input your user name:20087780338Please input your password:Use DHCP,1-Use,0-UnUse(Default: 0):You have 3 Nic: 0. eth0 Desc: (null) 1. vmnet1 Desc: (null) 2. vmnet8 Desc: (null)Please select which NIC will be used(0-2,Default:0)Use default auth parameter,0-Use 1-UnUse(Default: 0):Searching server…Connecting server…Authenticating…?????? ? ???????!Authenticate FAIL!xrgsu exit!想必大家也出现过以上的结果吧,有可能是软件版本与服务端不兼容或系统内核没有编译好的原因。之所以在这里提出来是给大家一个参考。这种方法不行那我们就换一种方法。

2.换一个客服端软件ruijieclient安装

其功能: 支持静态认证和3种DHCP认证 支持2种服务器发现包 支持客户端版本欺骗 支持伪造IP 支持智能重连 支持后台daemon驻留,可以加入Linux启动脚本 支持服务器消息读取和转码 良好的embeded特性 支持2种文件配置和命令行传参配置

所需软件:ruijieclient-0.8.2.tar.bz2

下载地址:http://code.google.com/p/ruijieclient/downloads/list

下载后编译安装:

tar xvf ruijieclient-0.8.2.tar.bz2

cd ruijieclient-0.8.2

./configure make make install

注意:以上步骤不能出错!

然后:

vim /etc/ruijie.conf

#加入一下内容 ?xml version= 1.0 encoding= UTF-8 ? ruijie.conf version= 0.7.9 !–This is a sample configuration file of RuijieClient, change it appropriately according to your settings.– account Name 输入你的帐号 /Name Password 输入你的密码 /Password /account settings !–Network Adapter Name– NIC eth0 /NIC !–0: Standard, 1: Private– AuthenticationMode 0 /AuthenticationMode EchoInterval 25 /EchoInterval !–IntelligentReconnect: 0: Disable IntelligentReconnect, 1: Enable IntelligentReconnect — IntelligentReconnect 1 /IntelligentReconnect !–AutoConnect: 0: Disable AutoConnect, 1: Enable AutoConnect (only available in gruijieclient) — AutoConnect 0 /AutoConnect !–Fake Version for cheating server– FakeVersion 3.35 /FakeVersion !–Fake IP for cheating server– FakeAddress /FakeAddress !–DHCP mode 0: Disable, 1: Enable DHCP before authentication, 2: Enable DHCP after authentication 3: DHCP after DHCP authentication andre-authentication(You should use this if your net env is DHCP)– DHCPmode 0 /DHCPmode !–Add if you don’t want ruijieclient to ping the default gateway– PingHost /PingHost /settings /ruijie.conf 保存退出

3.参数解释Name= #用户名Password= #密码#This is settings#Network Adapter Name 网卡设备名称NIC=eth0#0: Standard, 1: Private 服务器发现包类型 0 标准发现包 1 锐捷私有发现包AuthenticationMode=1#保活延时 单位秒EchoInterval=25#IntelligentReconnect: 0: Disable IntelligentReconnect, 1: Enable IntelligentReconnect#智能重连 IntelligentReconnect=1#AutoConnect: 0: Disable AutoConnect, 1: Enable AutoConnect (only available in gruijieclient) #自动连接AutoConnect=0#Fake Version for cheating server#版本伪装FakeVersion=3.99#Fake IP for cheating server#IP地址伪装FakeAddress=#DHCP mode 0: Disable, 1: Enable DHCP before authentication, 2: Enable DHCP after authentication 3: DHCP after DHCP authentication andre-authentication(You should use this if your net env is DHCP)#DHCP认证模式 0 关闭 1 认证前DHCP 2 认证后DHCPDHCPmode=0#Add if you don’t want ruijieclient to ping the default gateway#自动重连使用的测试主机地址PingHost=

4.启动ruijieclient

第一次启动还要输入用户名,密码

以后启动就不需要用户名,和密码了,验证成功结果如下:

[root@localhost ~]# ruijieclient

Searching for server…@@ Server found, requesting user name… Sending user name…@@ User name valid, requesting password… Sending password… @@ Password valid, SUCCESS:## Server Message: 然后就可一通过firefox上网了,心动了吧,你也试一试吧!!!

5.另一些问题

a.有一些大学(如郑大),服务器端不支持客服端多网卡。解决方法一:自己可以上网搜一搜这个软件UltraEdit-32及其使用在这里不做介绍 法二:ifconfig ethx down 如果安装虚拟机了还要ifconfig vmnet1 down ifconfig vmnet8 down 最好把lo 也down了

b.如果装上后过两三分钟后又掉线了,且不能重连,解决方法:

crontab -e

#add

*/2 * * * * /usr/local/bin/ruijieclient

其意思:每隔两分钟连接一次

学会宽容,要有一颗宽容的爱心!

redhat linux 中用锐捷客服端实现上网推荐

相关文章:

你感兴趣的文章:

标签云: