Questions tagged [hostapd]

A user space daemon for access point and authentication servers.

hostapd is a user space daemon for access point and authentication servers. It implements IEEE 802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP Authenticators, RADIUS client, EAP server, and RADIUS authentication server. The current version supports Linux (Host AP, madwifi, mac80211-based drivers) and FreeBSD (net80211).

hostapd is designed to be a "daemon" program that runs in the background and acts as the backend component controlling authentication. hostapd supports separate frontend programs and an example text-based frontend, hostapd_cli, is included with hostapd.

More information can be found at http://w1.fi/hostapd/.

88 questions
25
votes
4 answers

hostapd repeating "deauthenticated due to local deauth request"

I have recently setup my Raspberry Pi to operate as an AP/router for my home network. Using many tutorials online, I finally succeeded but have been encountering a serious problem: hostapd repeatedly announces "deauthenticated due to local deauth…
jamespharper
  • 351
  • 1
  • 3
  • 6
8
votes
1 answer

Hostapd shows wlan0: AP-ENABLED, But SSID not Visible in Devices

I am running hostapd on android devices on adb shell with following command. hostapd -B /data/misc/wifi/hostapd.conf it gives me following log 04-04 12:33:23.276 3052 3052 E hostapd : Using interface wlan0 with hwaddr 00:0a:f5:33:62:98 and ssid…
toxic_boi_8041
  • 1,424
  • 16
  • 26
8
votes
1 answer

hostapd debug level configuration

From what I understand so far, hostapd is a binary which is able to do some network configurations. However, to enable hostapd debug level, do I need to rebuild the binary? Is there any other approach I can take instead of rebuilding a new one ?
Sam
  • 4,521
  • 13
  • 46
  • 81
5
votes
0 answers

deauthenticated due to local deauth request HOSTAPD

i have set AP in respberry pi 2 model B with TP-LINK Dongle,and the TL-WN772N now the problem is that when i try to connect with my respberry pi dongle it's throw an error: wpa_sm_step() called recursively. IEEE 802.11:deauthenticated due to local…
Salman Rafiq
  • 65
  • 1
  • 8
4
votes
0 answers

WPS server on Linux or Raspberry

I configured hostapd to make an Access Point Wi-Fi network on my raspberry pi... everything works fine. It acts like a router. Can i bind client devices via WPS? For example phones, ESP8266 that support WPS connections?
Fabiosoft
  • 1,141
  • 14
  • 32
4
votes
2 answers

Enabling CSA in hostapd

I am using hostapd_cli(http://www.freebsd.org/cgi/man.cgi?query=hostapd_cli&sektion=8) to interact with my hostapd to change the channel. I am using "chan_switch" command to switch channels. But this command gets failed with "CSA is not supported"…
Pavan
  • 61
  • 1
  • 6
4
votes
1 answer

SO_WIFI_STATUS socket option in Linux

Could someone shed some light on the SO_WIFI_STATUS socket option - I encountered it in the hostapd nl80211 driver code. I could find it's declaration in the /usr/include/asm-generic/socket.h file but could not find any relevant documentation…
4
votes
1 answer

hostapd & rpbi captive portal

I have a working access point on a rspbi, works perfectly with my captive portal on ios and os x based machines. But android does not popup a captive portal, and I can see the requests for clients3.google.com The way I do the captive portal is by…
Jentel
  • 148
  • 2
  • 17
4
votes
0 answers

dnsmasq/hostapd slow to offer DHCP address

I've got an embedded system running hostapd and dnsmasq acting as a wifi access point. Very repeatably it will take 11s between the time clients (Macbook pros, Dell laptops, iphones, android tablets) associate/authenticate with the AP and the time…
Allan
  • 91
  • 1
  • 6
3
votes
1 answer

Raspberry pi refusing connection to bottle server

I'm trying to host a bottle server on my raspberry pi (4, zero w or zero 2 with newest pi os) to supply some configuration for a project. The raspberry pi itself will not have internet access but will be its own wifi accespoint. i set it up in the…
KayGee
  • 45
  • 6
3
votes
1 answer

hostapd Interface initialization failed in DFS-CAC-START

Recently, I like to upgrade my router from 802.11n to 802.11ac. I bought an Atheros QCA6174 mini PCI-E Wireless card to replace my old card. Unfortunately, It can work with 802.11n 2.4G perfectly but it cannot start 802.11ac 5G network. When I start…
Vin Wong
  • 41
  • 4
3
votes
0 answers

Stop wifi beacon when idle

I can't believe no one ever did this, but I'm searching for days now and haven't found anything. I have just bought a Raspberry Pi 4 and would like to use it as a wifi access point (for information, I will probably install Gentoo with hostapd in…
Stéphane Veyret
  • 1,791
  • 1
  • 8
  • 15
3
votes
0 answers

Raspberry pi2 model B, "Access Point, hostapd" setup issue

Working with Raspberry Pi2, ModelB with below configurations: $ uname -a Linux raspberrypi 4.9.59+ #1047 Sun Oct 29 11:47:10 GMT 2017 armv6l GNU/Linux $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian…
Mahesh
  • 133
  • 6
3
votes
1 answer

Unable to authenticate using HostAPD

I have a raspberry PI 2 and have configured HOSTAPD and udhcpd to work as a hot spot. The first issue i faced was the driver. THe WiFi adapter i purchased was a Realtek chip set. This is now solved by following this…
pradpi
  • 65
  • 1
  • 8
3
votes
1 answer

RaspberryPi as hotspot without internet accessed via a domain name

I have a RPi set up as a hotspot (hostapd) that I use to access a web server set up on the RPi. This RPi is not connected to the internet, it's just to serve some local pages. I have Apache installed and so I can easily access it via a browser with…
matt
  • 2,312
  • 5
  • 34
  • 57
1
2 3 4 5 6