Results 1 to 1 of 1

Thread: hostapd nl80211 Driver Error !

  1. #1
    Join Date
    2018-Sep
    Posts
    2

    Exclamation hostapd nl80211 Driver Error !

    hi all
    i tried to start my access point to perform Evil Twin Attack
    but there is a problem with hostapd and i don't know how to solve it

    i used airmon-ng check kill
    but didn't worked ...


    here is the detail :

    Code:
    root@kali:~/Desktop# uname -a
    Linux kali 5.2.0-kali2-amd64 #1 SMP Debian 5.2.9-2kali1 (2019-08-22) x86_64 GNU/Linux
    root@kali:~/Desktop# lsusb
    Bus 003 Device 002: ID 0781:5590 SanDisk Corp. Ultra Dual
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 008 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
    Bus 008 Device 002: ID 25a7:fa23 Compx 2.4G Receiver
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 006: ID 0cf3:0001 Qualcomm Atheros Communications AR5523
    Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    root@kali:~/Desktop# airmon-ng check
    
    Found 2 processes that could cause trouble.
    Kill them using 'airmon-ng check kill' before putting
    the card in monitor mode, they will interfere by changing channels
    and sometimes putting the interface back in managed mode
    
        PID Name
       1677 NetworkManager
       2169 wpa_supplicant
    
    root@kali:~/Desktop# ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.102  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 fe80::fb60:32ed:424f:1eb5  prefixlen 64  scopeid 0x20<link>
            ether 90:e6:ba:01:5b:3d  txqueuelen 1000  (Ethernet)
            RX packets 76306  bytes 70164457 (66.9 MiB)
            RX errors 0  dropped 3  overruns 0  frame 0
            TX packets 62986  bytes 7790440 (7.4 MiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
            inet 127.0.0.1  netmask 255.0.0.0
            inet6 ::1  prefixlen 128  scopeid 0x10<host>
            loop  txqueuelen 1000  (Local Loopback)
            RX packets 740  bytes 55200 (53.9 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 740  bytes 55200 (53.9 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    wlan0mon: flags=803<UP,BROADCAST,NOTRAILERS,PROMISC,ALLMULTI>  mtu 1500
            ether 00:21:27:c3:1c:9c  txqueuelen 1000  (Ethernet)
            RX packets 7033  bytes 1573094 (1.5 MiB)
            RX errors 0  dropped 1453  overruns 0  frame 0
            TX packets 0  bytes 0 (0.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    root@kali:~/Desktop# iwconfig
    wlan0mon  IEEE 802.11  ESSID:off/any  
              Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
              Retry short limit:7   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              
    lo        no wireless extensions.
    
    eth0      no wireless extensions.

    ERROR :

    Code:
    root@kali:~/Desktop# hostapd hostapd.conf 
    Configuration file: hostapd.conf
    nl80211: Could not configure driver mode
    nl80211: deinit ifname=wlan0mon disabled_11b_rates=0
    nl80211 driver initialization failed.
    wlan0mon: interface state UNINITIALIZED->DISABLED
    wlan0mon: AP-DISABLED 
    wlan0mon: CTRL-EVENT-TERMINATING 
    hostapd_free_hapd_data: Interface wlan0mon wasn't started
    Attached Images Attached Images

Similar Threads

  1. hostapd-wpe
    By ozsteyr in forum NetHunter General Questions
    Replies: 0
    Last Post: 2015-12-04, 02:00
  2. nl80211 not found.
    By peshay in forum ARM Archive
    Replies: 1
    Last Post: 2014-12-07, 19:32

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •