arismelachroinos / lscript

The LAZY script will make your life easier, and of course faster.
GNU General Public License v3.0
4.03k stars 1.07k forks source link

Need NetworkManager, not network-manager #274

Open oj2000us opened 3 years ago

oj2000us commented 3 years ago

I'm a noob with an issue. When starting the network manager after being in monitor mode, the command "service network-manager start" won't restart the service. The command I have to use is, "service NetworkManager start". I honestly have no clue if it can be changed by me and my inexperience is the issue. I"m willing to learn if it is something I can do. Thank you.

thetruemystic commented 3 years ago

Yeah, from what I can tell it was called 'network-manager' in the previous kali version but in newer ones it seems to have changed to 'NetworkManager', so the lazy script just needs to be pointed to the newly updated service. Out of curiosity, what version of Kali are you running? I'm on the latest (2020.4)

thetruemystic commented 3 years ago

I might try and fix it locally, and then do a pull request and fix it there too - to my knowledge (still kinda new to all this) you just need to update the main l file and replaces instances of network-manager with NetworkManager, which appears there's seven of so that need to be changed

thetruemystic commented 3 years ago

I fixed it, you need to replace your l.bash code in /bin/lscript with this code: here I was trying to make a pull request, but as there are no other branches I can't. Hope this helps!

tera-mithril commented 3 years ago

I fixed it, you need to replace your l.bash code in /bin/lscript with this code: here I was trying to make a pull request, but as there are no other branches I can't. Hope this helps!

Hello, there is no code in the link... could you please check....

thetruemystic commented 3 years ago

I fixed it, you need to replace your l.bash code in /bin/lscript with this code: here I was trying to make a pull request, but as there are no other branches I can't. Hope this helps!

Hello, there is no code in the link... could you please check....

I'll try to fix this soon! Don't know what happened there sorry !

thetruemystic commented 3 years ago

I fixed it, you need to replace your l.bash code in /bin/lscript with this code: here I was trying to make a pull request, but as there are no other branches I can't. Hope this helps!

Hello, there is no code in the link... could you please check....

Here you go! https://pastebin.com/ny8U1VVD

RayxFinkle commented 3 years ago

You can make this easy if you open the "l" file in your preferred text editor, select find and replace, enter Network-Manager and enter NetworkManager in the replace section. It will automatically replace them all for you.