Cannot run hostapd

Briefly describe your issue below:

configured hostapd.conf :

interface=wlan1
driver=nl80211
ssid=Internet Portal
hw_mode=g
channel=6
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0

sudo hostapd hostapd.conf , but received error .


Yes, my interface is wlan1 , supports AP & monitor mode. wlan1 interface is up.

What version of Parrot are you running? (include version, edition, and architecture)

Linux parrot 4.19.0-parrot1-13t-amd64 #1 SMP Debian 4.19.13-1parrot1.13t (2019-01-09) x86_64 GNU/Linux

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)

Debian Standard

Configured to multiboot with other systems? (yes / no)

yes.

If there are any similar issues or solutions, link to them below:

have tried these solutions :

  1. airmon-ng check kill

  2. added, nano /etc/NetworkManager/NetworkManager.conf :

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

[keyfile]
unmanaged-devices=mac:7d:e6:d2:30:9f:f2

  1. service network-manager restart
  2. sudo rfkill unblock wifi; sudo rfkill unblock all

If there are any error messages or relevant logs, post them below:

Configuration file: hostapd.conf
Could not read interface wlan1 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan1 disabled_11b_rates=0
Could not read interface wlan1 flags: No such device
Could not read interface wlan1 flags: No such device
Could not read interface wlan1 flags: No such device
nl80211 driver initialization failed.
wlan1 : interface state UNINITIALIZED->DISABLED
wlan1 : AP-DISABLED
hostapd_free_hapd_data: Interface wlan1 wasn’t started

Inside the config, by any chance is there a trailing space at the end of your interface name?

1 Like

hi , yes removed the trailing spaces …thanks …

Sometimes the most annoying of problems have the easiest of fixes.

was cracking my head to solve this …:sob::sob:

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.