Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifite2 kills network manager #57

Closed
f00ch0w opened this issue Nov 1, 2017 · 12 comments
Closed

Wifite2 kills network manager #57

f00ch0w opened this issue Nov 1, 2017 · 12 comments

Comments

@f00ch0w
Copy link

f00ch0w commented Nov 1, 2017

So, started the scan and Wifite kills 3 processes including network manager... which disables whole networking and it can't find any APs

Anyone has a solution to this issue?

@ritiek
Copy link
Contributor

ritiek commented Nov 1, 2017

It is necessary to stop network-manager otherwise it won't let the WiFi interface stay in monitor mode. I don't think we have any other way.

@f00ch0w
Copy link
Author

f00ch0w commented Nov 1, 2017

So how do I fix this? Wifite2 can't find my AP but Wifite v2 (r87) can but it's stuck on wps attack 0/0

@kimocoder
Copy link
Contributor

Network-Manager will interfere with wifite2, therefor it gets killed. simple as that.
there also is an issue on pixiewps (in wifite2) it seems.. stuck on pixiewps here

@mtibbett67
Copy link

mtibbett67 commented Nov 1, 2017

From https://github.com/derv82/wifite2/issues/57

Set your monitor interfaces to unmanaged.

bob79 said:
2016-04-12 08:33 AM
try "sudo gedit /etc/NetworkManager/NetworkManager.conf" and at the end add this: "[keyfile] unmanaged-devices=interface-name:wlan0mon" should eliminate any network manager conflicts.

This helped me alot.

@f00ch0w
Copy link
Author

f00ch0w commented Nov 1, 2017

Now stuck on starting captive portal access point service after selecting portal language. For the pyrit it says invalid hash file

@derv82
Copy link
Owner

derv82 commented Mar 3, 2018

I guess Wifite doesn't have to kill network manager... it could just spit out the result of airmon-ng check. I'm going to mediate on this for a bit.

@derv82
Copy link
Owner

derv82 commented Mar 10, 2018

I added a fix to restart network-manager when Wifite finishes: #70

Still think we need to terminate network-manager... If a solution works for most people, then we'll add it to Wifite.

I can add a "hack" to not kill NetworkManager in some cases -- but I'm not sure what those cases might be. It could check if the wireless interface MAC vendor is in some whitelist... but I don't know if your issue (requiring network-manager to scan for APs) is specific to Wireless cards by-vendor or by chipset or something else.

@ghost
Copy link

ghost commented Mar 10, 2018

A hack would be nice. I use wifite on a raspberry pi and I need the built-in wifi to stay up so I can ssh into it from my phone

@derv82
Copy link
Owner

derv82 commented Mar 11, 2018

Yikes, that's a pretty good reason to never kill processes unless asked.

I'll look at adding a --kill switch (😆) that kills these processes, otherwise show a warning that the processes may conflict with Airmon/Airodump.

@derv82 derv82 closed this as completed in 697207f Mar 11, 2018
@derv82
Copy link
Owner

derv82 commented Mar 11, 2018

Running wifite without the --kill switch will not terminate conflicting processes. But you'll see a warning, explanation, and commands to kill them yourself.

@mtibbett67
Copy link

mtibbett67 commented Mar 11, 2018 via email

@iloiuse
Copy link

iloiuse commented Jul 16, 2023

"sudo airmon-ng check kill" when you're done using wifite "service NetworkManager start"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants