64位的Ubuntu 11. 10,用njit-client,配合系统自带的联网程序,就可以连上,无需iNode客户端。
[使用方法]
假设您的Linux系统里的普通用户名为liuqun,内网802.1X帐号为s-12345、密码为abcde
一、双击deb软件包,安装程序。
二、从开始菜单里找到“终端”,打开后进入命令提示符窗口
三、通过命令行切换到程序目录 :cd /usr/bin
Ubuntu下命令格式为:
sudo ./njit-client s-12345 abcde
RedHat/Fedora下命令格式为
su -c "./njit-client s-12345 abcde"
四、程序会输出一些调试信息(因目前仍是测试版本),其中大部分信息不用理会,
只需关注如果包括 Server: Success.这样一行提示即为802.1X认证成功
如果提示为Server: Failure则为认证失败,另外还会输出"E????: ",这是服务器
发来的提示信息。
下面是客户端程序运行成功时输出的部分调试信息(湖大):[ ] Client: Start.
[1] Server: Request Notification!
Client: Response Notification.
[2] Server: Request Identity!
[2] Client: Response Identity.
[3] Server: Request MD5-Challenge!
[3] Client: Response MD5-Challenge.
[3] Server: Success.
Traceback (most recent call last):
File "/usr/bin/njit-RefreshIP", line 41, in <module>
ac.service = GetProperty('ServiceName', ac.obj, 'org.freedesktop.NetworkManager.Connection.Active')
File "/usr/bin/njit-RefreshIP", line 28, in GetProperty
return dbus.Interface(object, 'org.freedesktop.DBus.Properties').Get(interface_name, property_name)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Property "ServiceName" of interface "org.freedesktop.NetworkManager.Connection.Active" isn't exported (or may not exist)
[4] Server: (H3C data)
[5] Server: (H3C data)
[1] Server: Request Identity!
[1] Client: Response Identity.
[6] Server: Request AVAILABLE!
[6] Client: Response AVAILABLE.
[1] Server: Request Identity!
[1] Client: Response Identity.
附件:
Linux的执行文件通常有32位、64位之分,经常有人发现有可执行文件明明在,执行位也对,执行它却报告找不到执行文件的错误:没有该文件或目录。
简单判断当前系统的架构,在终端执行:
$uname -m 输出:i686,系统是32位;
输出:x86_64,系统是64位。如:usrname@ubuntu:~$ uname -m
x86_64
在64位系统下可以安装ia32库从而可以运行32位程序,但反过来是不行的。
PS:判断一个执行文件是32位还是64位?
终端执行:
$ file /usr/bin/python2.6
/usr/bin/python2.6: ELF 32-bit LSB executable[......]
|