njit-RefreshIP是干嘛用的?
发表于 : 2012-05-14 23:55
我装的64位的ubuntu 12.04,学校客户端版本是3.60-E6307,直接下载的可执行程序运行时会报版本太旧,学校提供的iNode 又45秒掉线一次,把他们配合使用,即先用iNode连上,然后在45秒内用njit-client在连一次,就可以上网了,不过很麻烦。
下载了最新源码,试着把版本号改成了 3.60-6307, 运行njit-client包里面的 help,然后按照install.html里面的方法安装了njit-client,安装完成之后好像只有一个njit-client程序,在/usr/local/sbin/目录下面,没有njit-RefreshIP,但是我之前装过其他版本,在/usr/bin/目录下有njit-RefreshIP,运行时会报错:
不过貌似依然可以连上网,
这个njit-RefreshIP有什么功能?为什么报错了还可以连上网?
下载了最新源码,试着把版本号改成了 3.60-6307, 运行njit-client包里面的 help,然后按照install.html里面的方法安装了njit-client,安装完成之后好像只有一个njit-client程序,在/usr/local/sbin/目录下面,没有njit-RefreshIP,但是我之前装过其他版本,在/usr/bin/目录下有njit-RefreshIP,运行时会报错:
代码: 全选
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 70, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, 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)
这个njit-RefreshIP有什么功能?为什么报错了还可以连上网?