欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

玩欧卡就用莱仕达V10方向盘欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
查看: 7041|回复: 0
收起左侧

64位ubuntu连接校园网-不用iNode

[复制链接]
script 发表于 2012-3-10 05:38 | 显示全部楼层 |阅读模式
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[......]


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-3-29 05:26 , Processed in 0.060279 second(s), 9 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表