我用的是Ubuntu12.04。
我的有线线路坏了。我编辑了配置文件,然后用:sudo /etc/init.d/network-manager restart重新启动了网络管理器。连接已启动,但它说te如下:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service network-manager restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop network-manager ; start network-manager. The restart(8) utility is also available. 为什么要这么说?我能做些什么?
发布于 2014-11-14 21:23:01
你什么都不用做。这个信息只是简单地告诉你,有一种新的、更简单的方法来做你想要做的事情:
sudo service network-manager restart你也可以采取两个步骤:
sudo service network-manager stop
sudo service network-manager starthttps://askubuntu.com/questions/549723
复制相似问题