有时,我的 wifi 互联网连接会中断,当 wifi 调制解调器中的 LED 熄灭时我可以看到这一点。
现在,当连接恢复时(我的意思是,调制解调器中的绿色 LED 开始发光),我尝试使用network-manager
客户端连接到它,
sudo service network-manager restart
sudo nmcli nm wifi off
sudo nmcli nm wifi on
nmcli d wifi connect myName password myPass iface wlan0
它会抛出错误,因为
** (process:21073): WARNING **: async_got_type: could not read
properties for /org/freedesktop/NetworkManager/ActiveConnection/2:
The maximum number of pending replies per connection has been reached
Error: Failed to add/activate new connection: (1) Creating object for path '/org/freedesktop/NetworkManager/ActiveConnection/2' failed in libnm-glib
我必须重新启动我的 ubuntu 14.04 机器才能解决此问题。
通常,当中断的网络连接开始工作时,我希望我的机器自动连接......