Ubuntu下安装锐捷客户端

Ubuntu下安装锐捷客户端

Ubuntu下安装锐捷客户端

1.首先在google code中找到ruijieclient项目
其下载地址如下:
http://code.google.com/p/ruijieclient/downloads/list

2.选择你要的软件包deb或者rpm和版本
Ubuntu用户就可以直接下载deb包,fedora用户选择rpm包
下载之后可以之间点击安装
安装后运行命令:sudo ruijieclient
出现以下提示的话:
ruijieclient: error while loading shared libraries: libpcap.so: cannot open shared object file: No such file or directory

那么你可以到下面网站下一个libpcap0.8_1.1.1-2_i386.deb包
地址:http://packages.ubuntu.com/zh-cn/maverick/i386/libpcap0.8/download
最好是点亚洲源下载
安装此包。

3.安装完成之后
命令:sudo gedit /etc/ruijie.conf
对配置文件进行修改,有三个地方需要修改,红字已经指出

<?xml version=”1.0″ encoding=”UTF-8″?>
<ruijie.conf version=”0.8.1svn129″>
  <!–This is a sample configuration file of RuijieClient, change it appropriately according to your settings.–>
  <account>
    <Name>200731610384</Name>
    <Password>password</Password>
  </account>
  <settings>
    <!–Network Adapter Name–>
    <NIC>eth0</NIC>
    <!–0: Standard, 1: Private–>
    <AuthenticationMode>1</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>1</AutoConnect>
    <!–Fake Version for cheating server–>
    <FakeVersion>3.33</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>

4.使用锐捷终端命令:sudo ruijieclient

5.关闭锐捷终端命令:sudo ruijieclient -k


以上这个东西,不稳定,发现了更好的东东,http://code.google.com/p/mentohust/