UBUNTU 下锐捷连网方法
不想用锐捷官方那个老得不能再老的客户端。发现下面这个软件很好用。
首先下载 MentoHUST
MentoHUST_i386_090826.tar.gz 下载 (245.9 KB, 371 次)
更新网址:http://lewuya.ys168.com/(不支持FireFox)、http://pcyard.qupan.com/?folder=1117507(支持FireFox),需要其他版本数据包的可到该网址下载,程序新版本也会在该网址发布。
#设置数据包(可选,适用于有锐捷客户端版本要求的同学)
假设数据包文件名为“版本.mpf”
1 2 | sudo mkdir /etc/mentohust sudo cp 版本.mpf /etc/mentohust |
修改mentohust.conf使Package=/etc/mentohust/版本.mpf
#将mentohust.conf修改好后放在/etc/mentohust(具体修改方法见mentohust.conf)
1 | sudo cp mentohust.conf /etc/mentohust |
#设置可执行权限
1 | sudo chmod +x MentoHUST |
#将程序放到/bin(可选,使得运行MentoHUST不需要带路径)
1 | sudo cp MentoHUST /bin |
#设置超级用户权限(可选,使普通用户正常执行MentoHUST)
1 | sudo chmod +s /bin/MentoHUST |
#开机自动认证(方法有多种)
#使用/etc/rc.local脚本实现
将以下代码添加至/etc/rc.local文件的末尾:
1 | MentoHUST & |
#在桌面环境程序中添加自动运行项来实现
KDE4桌面可在“系统设置”->“高级”->”自动启动”中添加程序。填入/bin/MentoHUST即可
Gnome桌面可以在“系统”->“会话“->“自动启动”中添加程序。
#后台运行
在命令行结尾加&后运行程序,可关闭终端,程序在后台继续运行。
若想将输出结果重定向到文件:
MentoHUST >file 把stdout重定向到file文件中
MentoHUST 1>file1 把stdout重定向到file1
#依赖项
#32位环境下运行依赖于
libpcap.so.0.9#使用libpcap动态库
如果运行时提示找不到库 libpcap.so.0.9 ,只要做个链接就行了。
1 | ln -s /usr/lib/libpcap.so.1.0.0 /usr/lib/libpcap.so.0.9 |







