Categories
Android

Ubuntu 下锐捷认证

到mentohust官网下载最先的ubuntu适用的deb安装包

http://code.google.com/p/mentohust/
http://code.google.com/p/mentohust/downloads/list

安装好deb包后,拷贝Win7下锐捷安装目录下的8021x.exe 和 W32N55.dll 到 /etc/mentohust
(ubuntu 下进入不到Win7的Program Files(x86)文件夹,所以先拷贝两个文件到 Data 盘下再进一步操作)

然后sudo mentohust即可

选择实际的网卡,
输入用户名密码,
选择广播方式为ruijie,
选择认证前获取dhcp

done!

han@han-Lenovo-V470:/media/han/Win7$ cd ..
han@han-Lenovo-V470:/media/han$ cd Data
han@han-Lenovo-V470:/media/han/Data$ ls
8021x.exe Games Youku Files
Application $RECYCLE.BIN CloudCache
W32N55.dll
han@han-Lenovo-V470:/media/han/Data$ sudo cp ./8021x.exe /etc/mentohust
han@han-Lenovo-V470:/media/han/Data$ sudo cp ./W32N55.dll /etc/mentohust
han@han-Lenovo-V470:/media/han/Data$ sudo mentohust

Welcome to MentoHUST Version: 0.3.1
Copyright (C) 2009-2010 HustMoon Studio
Bug report to http://code.google.com/p/mentohust/issues/list

** net card[1]: eth0
** net card[2]: wlan0
** net card[3]: nflog
?? enter net card[1-5]:1
** net card [1] selected.
?? enter your username:2011050215
?? enter your password:
?? enter multicast address(0–standard 1–ruijie 2–saier):1
?? enter DHCP type(0–do not use 1–secondary authenticate 2–post authenticate 3–pre authenticate):3
** username: 2011050215
** net card: eth0
** authenticate timeout: 8 sec(s)
** heartbeat interval: 30 sec(s)
** wait on failure: 15 sec(s)
** failure allowed: 8 time(s)
** multicast address: ruijie
** DHCP type: pre authenticate
** notify timeout: 5 sec(s)
** DHCP script: dhclient
** localhost mac: f0:de:f1:7c:b8:f6
** using IP: 172.19.0.136
** netmask: 255.255.252.0
** authenticate parameters saved to /etc/mentohust.conf.
>>getting IP…
RTNETLINK answers: File exists
>>operation end.
** localhost mac: f0:de:f1:7c:b8:f6
** using IP: 172.19.0.136
** netmask: 255.255.252.0
>> looking for server…
** Server MAC: 00:1a:a9:1a:cc:ec
>>sending username…
>>sending password…
** client version: 3.95
** MD5 seed: 45:2d:21:94:7e:72:a8:2b:88:3c:6c:4d:36:7b:e2:cc
** V2 checksum: da0a928fa268da0add6e505458898c25
>> Authentication succeed!
$$ Accounting Message: 您当前使用的服务为internet;
!! cannot load libnotify, please check its existence.
>>sending heartbeat to keep alive…

在Ubuntu下共享Wifi网络
Ubuntu下设置笔记本成为wifi热点 http://www.wxx3g.com/articles/169.html
更详细版本:
Ubuntu共享WiFi(AP)给Android的方法汇总

Leave a Reply

Your email address will not be published. Required fields are marked *