Error hostapd_free_hapd_data: Interface wlan0 wasn't started
See original GitHub issueHello, i am trying to use the script. I successfully ran the install_prerequisites and then i am now trying to start it but the AP does not appear and i get this wifi log. I am running Kali 2019.1 on vmware and i attached to the vm a wifi usb dongle TP-Link TL-WN823N and also the host pc integrated wifi card. In both cases this is the message. Where am i wrong? Thank you
Backing up NetworkManager.cfg...
Restarting NetworkManager...
Backing up /etc/dnsmasq.conf...
Writing dnsmasq config file...
Creating new /etc/dnsmasq.conf...
Writing hostapd config file...
Configuring AP interface...
Applying iptables rules...
Starting DNSMASQ server...
Error: Device for nexthop is not up.
Starting AP on wlan0 in screen terminal...
Configuration file: /etc/hostapd/hostapd.conf
Could not set interface wlan0 flags (UP): Operation not possible due to RF-kill
nl80211: Could not configure driver mode
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
nl80211 driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
wlan0: CTRL-EVENT-TERMINATING
hostapd_free_hapd_data: Interface wlan0 wasn't started
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
hostapd_free_hapd_data: Interface wlan0 wasn't started #17
Hi, after disabling Wifi (in network manager of XFCE4) I execute script krack-test-client.py. However this script reports error that ...
Read more >hostapd_free_hapd_data: Interface wlan0 wasn't started
I'm trying to virtualize two wlans on my linux and set connection, but when I'm running the hostapd.conf I get this error, and...
Read more >Hostapd error nl80211: Could not configure driver mode
nl80211: Could not configure driver mode nl80211 driver initialization failed. hostapd_free_hapd_data: Interface wlan0 wasn't started.
Read more >PiZeroW as an AP: hostapd error: interface wlan0 does not ...
The problem manifests itself in two places: the hostapd service + the hostapd debug log. In the below output it's "warning: interface wlan0...
Read more >hostapd error "nl80211: Could not configure driver mode"
The first two lines stop wlan from network manager, and then unblocks the interface, so ifconfig can work. UPDATE: But if for the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello, I fix it unblocking the wifi adapter:
sudo rfkill unblock wifi
You can check the blocking status with:rfkill list
Best regards
If you have another machine on your network handling DNS queries you could redirect
*.tuya(us|eu|cn).com
requests to the machine runningfake-registration-server
.Otherwise, without support for AP (master) mode, there is no way to create an isolated WiFi network for the Tuya device to connect to, and so nothing can be done here.