Ubuntu锐捷上网问题


1.
先配置好Ubuntu网络:系统-首选项-网络连接,进行IP,mask,gateway,dns
相关配置。

2.
下载mentohust的最新版本或者对应版本:http://code.google.com/p/mentohust/downloads/list,并进行安装。建议下载mentohust_0.3.4-1_i386.deb

3.
从自己或别人的windows系统下锐捷所在目录,拷贝W32N55.dll 8021x.exewubi.exe文件到ubuntu系统下的用户文件夹(home folder)。
d
4.
打开终端(terminal),依次输入以下命令:
sudo mkdir /etc/mentohust
sudo cp /home/abc/W32N55.dll /etc/mentohust
sudo cp /home/abc/8021x.exe /etc/mentohust

sudo cp /home/abc/wubi.exe/etc/mentohust
sudo mentohust

简单说明一下,mkdir---创建文件夹 cp---复制 /home/abc/W32N55.dll 是文件的路径,其中abc代表你的用户名,如果不清楚文件的路径可以右击文件选择最下边的属性,查看location
5.
配置mentohust 在终端输入:

sudo gedit /etc/mentohust.conf


[MentoHUST]

MaxFail=8

;用户名,长度不超过64

Username=***

;密码

Password= GllXXVdZXlBCRwVTAFcDUA==

;网卡

Nic=eth0

;静态IP用户可以使用非本机IP

IP=172.16.42.**

;掩码,无关紧要

Mask=255.255.255.0

;网关,如果指定了就会监视网关ARP信息

Gateway=0.0.0.0

;DNS服务器,无关紧要

DNS=0.0.0.0

;Ping主机,用于掉线检测,0.0.0.0表示关闭该功能

PingHost=0.0.0.0

;每次发包超时时间(秒)

Timeout=8

;发送Echo包的间隔(秒)

EchoInterval=30

;失败等待(秒)认证失败后等待RestartWait秒或者服务器请求后重启认证

RestartWait=15

;寻找服务器时的组播地址类型 0标准 1锐捷 2MentoHUST用于赛尔认证

StartMode=0

;DHCP方式 0(不使用) 1(二次认证) 2(认证后) 3(认证前)

DhcpMode=2

;是否后台运行: 0() 1(是,关闭输出) 2(是,保留输出) 3(是,输出到文件/tmp/mentohust.log)

DaemonMode=2

;是否显示通知: 0() 1~20()

ShowNotify=5

;客户端版本号,如果未开启客户端校验但对版本号有要求,可以在此指定,形如3.30

Version=4.3

;认证数据文件,如果需要校验客户端,就需要正确设置

DataFile=/etc/mentohust/

;进行DHCP的脚本

DhcpScript=dhclient
6
保存推出,在终端输入: sudo mentohust 运行
欢迎使用MentoHUS
版本: 0.3.4
Copyright (C) 2009-2010 HustMoon Studio
人到华中大,有甜亦有辣。明德厚学地,求是创新家。
Bug report to
http://code.google.com/p/mentohust/issues/list

网卡[1]:
eth0
网卡[2]:
wlan0
网卡[3]:
usbmon1
网卡[4]:
usbmon2
网卡[5]:
usbmon3
网卡[6]:
usbmon4
网卡[7]:
usbmon5
网卡[8]:
usbmon6
网卡[9]:
usbmon7
网卡[10]:
usbmon8
请选择网卡[1-12]: 1
您选择了第[1]块网卡。
请输入用户名: ****
请输入密码: ****
请选择组播地址(0标准 1锐捷私有 2赛尔):0
请选择DHCP方式(0不使用 1二次认证 2认证后 3认证前):0
.........
.........
>>
认证成功!
>>
发送心跳包以保持在线...
这样就可以了。
mentohust
开机时并不会自动运行,需要上网时打开终端,输入:sudo mentohust
然后输入开机登录密码,就ok了。
如果需要修改IP或密码等设置,在终端输入:

sudo gedit /etc/mentohust.conf
打开一个配置文件,修改后保存即可。

你可能感兴趣的:(Ubuntu锐捷上网问题)