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
2
votes
0 answers

hostapd on yocto krogoth

I have a linux system which is build with yocto. I have do add the hostapd package to the system. With bitbake hostapd I am able to build the package and I can install the package and the dependencies on the target and it works. Now I want to add it…
fresh
  • 83
  • 2
  • 13
2
votes
2 answers

Python - script hangs on open() function

I have a Python script that first kills all hostapd processes then starts a fresh one. I want to capture the output of the hostapd start command to determine if it returns AP-ENABLED or AP-DISABLED so I decided to write it to a temporary file then…
ChumiestBucket
  • 868
  • 4
  • 22
  • 51
2
votes
2 answers

Test EAP-SIM with hostapd and wpa_supplicant

i am trying to test EAP-SIM with hostapd as AP and wpa_supplicant. I have built the hlr_auc_gw in hostapd for doing this. hlr_auc_gw and hostapd start fine but when i start wpa_supplicant, nothing happens. EDIT: hostapd.conf…
user3543097
  • 23
  • 1
  • 6
2
votes
2 answers

hostapd configuration for WEP network

I want to create fake access point in WEP mode using hostapd. I found some configuration samples like…
lord.h
  • 153
  • 3
  • 14
2
votes
1 answer

Hotspot using hostapd and wpa_supplicant

I need to create a hotspot setup using hostapd for EAP-SIM,EAP-AKA and EAP-AKA' and test it with wpa_supplicant. Currently I am able to use hostapd for WPA-PSK authentication, hostapd2.4 is used for this setup.I have modified the hostapd.conf for…
Anand
  • 278
  • 3
  • 10
2
votes
2 answers

How to get RSSI in a linux AP (iw station dump doesn't work)

I'm trying to measure the RSSI from a station connected to my AP which is running OpenWRT. I know that by using iw wlan0 station dump or iw wlan0 station get [MAC], I should be able to see it. Though for some reason it doesn't show the RSSI on my…
LKho
  • 47
  • 2
  • 10
2
votes
4 answers

Multiple SSID multiple channel

I am trying to use hostpad to create several virtual SSIDs. But is it possible to set the different virtual SSID with different channels? I tried to look up, but the result I can find is mostly about multiple SSIDs with one channel only. Thanks!
talk
  • 21
  • 3
2
votes
0 answers

Implementing 802.1x on FreeBSD

I'm trying to implement 802.1x authenticator on FreeBSD, using hostapd. When I run the daemon, this is what I get: Starting hostapd. Configuration file: /etc/hostapd.conf ioctl[SIOCS80211, op=21, val=0, arg_len=42]: Invalid argument Could not…
ipinlnd
  • 165
  • 1
  • 3
  • 11
2
votes
1 answer

HOSTAPD / WPA_SUPPLICNAT on Windows

On Linux/Ubuntu we have HOSTAPD and WPA Supplicant which can make wireless NIC card either access point or hotspot or p2p (wifi direct). Is there any way to perform the same on Windows?
Iker
  • 123
  • 1
  • 7
2
votes
3 answers

Scan networks in AP mode (hostapd)

I want to scan networks when our devices is in Access Point. When the device is in client mode, it works, but i cannot scan networks if hostapd is running as Access Point: Try 1: pi $ sudo iwlist wlan0 scan wlan0 Interface doesn't support…
Kotik_o
  • 295
  • 6
  • 19
2
votes
1 answer

hostapd dynamically show/hide ssid

I'm trying to implement a simple connection saturation algorithm for a bunch of nodes running hostapd. On having max_num_sta connections, I want hostapd to move into hidden SSID mode (ignore_broadcast_ssid=0). I have updated src/ap/beacon.c to…
user462003
  • 43
  • 2
  • 4
1
vote
0 answers

nmcli create Hotspot with HT parametrs

i have created a Hotspot with nmcli command. But the Hotspot have very low bandwidth. After debugging found out that the HT parameters isn't set. Would like to know how to set the HT parameters using nmcli command. eg: HT20 and HT40 parameters set…
Anjo John
  • 533
  • 1
  • 5
  • 7
1
vote
1 answer

Subprocess check_output of 'systemctl status hostapd' always returning exit code 3

I am on a raspberry 4B with headless raspbian v10 (buster). I am trying to get the response from the sudo systemctl status hostapd command using subprocess.check_output. Simply running sudo systemctl status hostapd in the raspi terminal works just…
Slev1n
  • 25
  • 7
1
vote
1 answer

raspberry pi4, hostapd is only working in hw_mode=a (5Ghz)

I got a raspberry pi 4 with: cat /etc/os-release NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 18.04.5 LTS" When I run hostapd in hw_mode=a, everything works fine, I can see my AP and connect to it…
A. Komarov
  • 21
  • 3
1
vote
1 answer

Serve HLS with raspap/lighttpd rather than nginx

I currently serve audio/video from a raspberry pi using the picam project along with nginx to stream it as an HLS (Http Live Streaming) stream (as detailed in the project page). Thus, in /etc/nginx/sites-available/default I add: location /hls/ { …
floflo29
  • 2,261
  • 2
  • 22
  • 45