lscript icon indicating copy to clipboard operation
lscript copied to clipboard

Need NetworkManager, not network-manager

Open oj2000us opened this issue 5 years ago • 7 comments
trafficstars

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.

oj2000us avatar Nov 18 '20 02:11 oj2000us

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 avatar Nov 25 '20 23:11 thetruemystic

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 avatar Nov 26 '20 00:11 thetruemystic

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!

thetruemystic avatar Nov 26 '20 01:11 thetruemystic

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....

tera-mithril avatar Jan 16 '21 08:01 tera-mithril

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 avatar Jan 16 '21 13:01 thetruemystic

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

thetruemystic avatar Jan 16 '21 15:01 thetruemystic

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.

RayxFinkle avatar Jun 25 '21 22:06 RayxFinkle