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
0
votes
1 answer

how to make use of the API in wpa_ctrl.h by just including these files in my project directory

From the official doc referring to wpa_ctrl.c: "External programs can link this file into them" , how to do this? I have the "hostapd-full" in my openwrt build directory. in which all are fine (Wpa ctrl and wpa cli) I have to write a sample program…
Geethanjali
  • 57
  • 2
  • 11
0
votes
1 answer

how can i pause hostapd without stopping it completely

I'm trying to find a way to pause hostapd from transmitting (or receiving) data without stopping it. It could be by any method - c program, shell, python and any linux command. I tried searching in the configurations, hostapd_cli and all over the…
Izik
  • 746
  • 1
  • 9
  • 25
0
votes
1 answer

In a WAP setup using hostapd, how to block Wireless packets using iptables

I have set up a WAP using hostapd. I would like to block certain types of traffic to go between the hosts connected to the WAP (wireless to wireless). Is it possible to do this using iptables? How do I go about doing that?
Pedram
  • 1
  • 1
0
votes
1 answer

Raspberry Pi 3 using Hostapd and dnsmasq how to set default web page on connect

I have set up hostapd and dnsmasq to run on my Raspbian RPi3. This works great. I also have apache2 running on this RPi with a web site. How do I now make it so that everyone who connects to my RPi AP gets redirected to the default page of the web…
user856232
  • 1,073
  • 2
  • 14
  • 40
0
votes
1 answer

hostapd recent version issue, cannot set to AP mode while wpa_supplicant is running

So I had been working on a project that is able to setup an Access Point and redirect traffic through another interface (can be wired or wireless). Now there have always been issues between hostapd and wpa_supplicant, I needed to create an access…
Esser420
  • 780
  • 1
  • 8
  • 19
0
votes
1 answer

DWA-131 driver fail using beaglebone as wi-fi hostspot

I'm trying to create a wi-fi hostspot using a beaglebone black rev-C and DWA-131 nano wi-if adapter. I followed this article to install the driver: http://www.linux-hardware-guide.com/2013-11-16-d-link-dwa-131-n300-usb-wifi-adapter And this project…
Marcos Sousa
  • 71
  • 1
  • 6
0
votes
1 answer

yocto custom built linux iptables issue

I am a beginner yocto user and I am working on a custom linux build for olinuxino a20-lime using yocto I am trying to establish an access point using a rtl8192cu based dongle(TP-Link wn823n) I followed this tutorial…
0
votes
1 answer

minimum time between signals in bash

I'm trying to make a bash script that launches / stops an access point using hostapd. We have a corner case where we want to switch to another wifi channel as fast as possible, and as hostapd doesn't have support for channel swapping on the fly, we…
Acampoh
  • 589
  • 1
  • 8
  • 23
0
votes
2 answers

subproccess.call through python cgi script raspberry pi

So I have a Raspberry Pi that I have set up to be an Access Point with hostapd and isc-dhcp-server. It broadcasts an SSID, I connect to it with my phone or laptop, go to 192.168.42.1 and it serves up a page where I have a form for SSID, PSK, and…
Chris Lavan
  • 23
  • 1
  • 4
-1
votes
1 answer

eth0 (modem usb) and wlan0 (wifi module) interconnection

I'm trying to either make a bridge between eth0 (Usb modem) and wlan0 (Wifi Hotspot) or route all traffic from wlan0 to eth0. Procedure: Bridge won't be successful if the interfaces already have an ip. ip addr flush dev eth0 ip addr flush dev…
mcoromac
  • 11
  • 3
-1
votes
2 answers

Detect when a station (client) is disconnected from Access-point created using dnsmasq / hostpad

I was wondering if I can detect the disconnection of a station (client) that was connected to an access-point created using dnsmasq and hostapd on the wlan0 interface. So far, the best solution I have found is to use the following command iw dev…
Shikartoos
  • 11
  • 3
-1
votes
1 answer

Create access point on debian intel 5300 agn

i'm using debian jessie on a dell latitude e6400 with a intel 5300 agn wireless card, i've found many guides on the web but none worked as far, but they all refer to hostapd as an valuable tool, so, can anybody give me the basics to create an access…
-2
votes
1 answer

hostapd eap configuration with Let's Encrypt Certificate

I' trying to get hostapd working with eap-peap and a Let's encrypt certificate. When connecting with my Android phone though, it does not connect and complains the certificate was expired. hostapd logs wlan0: STA IEEE 802.11:…
norman
  • 1
1 2 3 4 5
6