下载了最新源码,试着把版本号改成了 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有什么功能?为什么报错了还可以连上网?