在kali下 service network-manager status 反馈:
Unit network-manager.service could not be found
尝试 service networking restart 无反馈
键入依旧not be found,尝试 network.service restart 反馈:
network.service: command not found //思考指令问题
尝试 systemctl restart network 反馈:
Failed to restart network.service: Unit network.service not found.
基本可以确定
解决办法
#vim /etc/NetworkManager/NetworkManager.conf
将:
[ifupdown]
managed=false改成true
再次尝试:
#service NetworkManager status