-
Notifications
You must be signed in to change notification settings - Fork 315
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
hostapd_free_hapd_data: Interface wlan0 wasn't started #189
Comments
I'm getting the same error. |
so i think i worked it out - when debugging is enabled, you can see specifically what happens. first eaphammer writes a tmp config file to: go into the conf file and look for the
place the leading then run with eaphammer with the Bingo. Not sure where this is exactly in the github repository but someone can work it out. |
@gdraper-cs very good catch, this issue was bothering me forever. I tried your fix but still couldn't get eaphammer to run successfully, where do you save the new conf file once you edit it? EAPhammer creates a new one in . I am trying to find it in the repository so I can just manually fix it there. really weird issue Im surprised more people haven't had |
@mbb5546 I'm not sure what your error is but you can save your You might also need to copy the ... Then your command should look something like this:
|
Hey folks, I just had a similar error on a Kali box but found that running from source fixed the issue. The latest version of the code handles pathing better in settings/paths.py, which is where the error occurred on my system (line 31). Interestingly, the EAPHammer version installed on this Kali box is reportedly 1.13.5, which should be the latest, but the paths.py file is older. Not sure what's up with that, but running from source definitely seems to fix the configuration file path issues. |
I just had this issue and restarting the laptop fixed it. I had previously been in monitor mode and had also run "airmon-ng check kill" before that. I noticed that each time I ran eaphammer and then checked "ifconfig", wlan0 no longer showed up and it was disabled. Even after reenabling wlan0 I still got this error until I restarted the laptop. |
This is super unclean, but if you still want to use the cli parameters with packaged version and dont rely on manual config you can prepend a slash in here: /usr/share/eaphammer/core/hostapd_config.py -> line 495: |
Resolved 1.14.0 |
when I use eaphammer to execute command,it's exception down. how to deal with it? my os is kali
[?] Am I root?
[] Checking for rootness...
[] I AM ROOOOOOOOOOOOT
[] Root privs confirmed! 8D
[] Saving current iptables configuration...
[*] Reticulating radio frequency splines...
[*] Using nmcli to tell NetworkManager not to manage wlan1...
100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00, 1.00s/it]
[] Success: wlan1 no longer controlled by NetworkManager.
[] WPA handshakes will be saved to /var/lib/eaphammer/loot/wpa_handshake_capture-2021-11-12-09-17-58-n7bingOg1XNf2F4noP7tNDZXPpeVjzwz.hccapx
Configuration file: /var/lib/eaphammer/tmp/hostapd-2021-11-12-09-17-58-3UtjbPIi3l9yCfF3xM7jRAiZnDESZI6O.conf
[hostapd] AP starting...
mkdir[ctrl_interface]: No such file or directory
Failed to setup control interface for wlan1
wlan1: Unable to setup interface.
wlan1: interface state UNINITIALIZED->DISABLED
wlan1: AP-DISABLED
wlan1: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan1 wasn't started
nl80211: deinit ifname=wlan1 disabled_11b_rates=0
The text was updated successfully, but these errors were encountered: