PDA

View Full Version : Trouble with $PATH and network-manager



s7ryker
2020-08-20, 19:00
I have done a fresh install of kali linux 2020.3 in virtual box. It was just working fine. But after a power off it and start it again /sbin was missing from the $PATH. I tried to add it and was successful until I closed the terminal and opened a new terminal. After opening the new terminal again the problem appeared. Also the while trying to restart network-manager using service command its showing unit network-manager not found.


$ sudo service network-manager restart
[sudo] password for stryker:
Failed to restart network-manager.service: Unit network-manager.service not found.

script_kiddo
2020-12-28, 10:25
I have done a fresh install of kali linux 2020.3 in virtual box. It was just working fine. But after a power off it and start it again /sbin was missing from the $PATH. I tried to add it and was successful until I closed the terminal and opened a new terminal. After opening the new terminal again the problem appeared. Also the while trying to restart network-manager using service command its showing unit network-manager not found.


$ sudo service network-manager restart
[sudo] password for stryker:
Failed to restart network-manager.service: Unit network-manager.service not found.


Try this: sudo service NetworkManager restart

script_kiddo
2020-12-28, 10:27
sudo service NetworkManager restart