這是當我運行學校的 wifi .py 檔案以進行安全登入時得到的輸出。
我“python SecureW2_JoinNow.py”
我已經給他們發了電子郵件詢問此事,但想嘗試一下並在這裡發帖,可能是我的問題。
我無法理解這個錯誤,儘管最後一行讓我認為這是我的問題。
全新安裝,所以也許就是這樣......
Traceback (most recent call last):
File "SecureW2_JoinNow.py", line 252, in <module>
main()
File "SecureW2_JoinNow.py", line 248, in main
nm.connect()
File "SecureW2_JoinNow.py", line 196, in connect
wireless_device = nm_iface.GetDeviceByIpIface('wlan0')
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.NetworkManager.UnknownDevice: No device found for the requested iface.