彻底解决Fedora 13校园网锐捷上网问题

87244353 2010-06-26

我在Fedora 13下用两个客户端进行校园网上网的尝试:

ruijieclient mentohust

一、利用ruijieclient进行上网,(本人为32位机)

1、在此处 http://code.google.com/p/ruijieclient/downloads/detail?name=ruijieclient-0.8.2-1.fc11.i686.rpm下载最新ruijieclient,双击安装;

2、查看ruijieclient的代码(http://code.google.com/p/ruijieclient/source/browse/trunk/packet/packetsender.c)第89行以后,发现ruijieclient识别的 libpcap包为libpcap.so.1,libpcap.so.0.x,x>=7;Fedora 13系统安装的libpcap包为libpcap.so.1.0.0,建有唯一软连接libpcap.so.1,是可以正常使用的,大家也可以尝试建立以上x>=7的libpcap包的软连接,也是可以正常使用的。

命令:ln -s /usr/lib/libpcap.1.0.0 /usr/lib/libpcap.so.0.x

其中x>=7,自行确定;

3、运行ruijieclient,配置自己的账号与密码有两种方式;

(1)、在root终端输入

gedit /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>1</DHCPmode>
<!--Add if you don't want ruijieclient to ping the default gateway-->
<PingHost></PingHost>
</settings>
</ruijie.conf>

保存退出;

(2)、在root终端输入 ruijieclient

按提示一步步配置以上的文件;

4、配置完毕,输入ruijieclient,既可以上网了;

ruijieclient 默认后台运行,如果想退出,在终端输入:ruijieclient -k

相关推荐