Questions tagged [hostapd]

hostapd is an open source program for creating software access points with multiple authentication backends. It needs a wireless network device/adapter that is supported. It supports most of the features of a hardware access point.

Filter by
Sorted by
Tagged with
0 votes
1 answer
449 views

DNSmasq Forward DNS on Multiple Interfaces

I am using hostapd to setup WiFi hotspot networks on my Ubuntu 18.04. I am using this guide to setup multiple SSIDs on my WiFi interface. And to enable DHCP on the hotspot networks, I use dnsmasq. I ...
user avatar
  • 141
1 vote
1 answer
1k views

How to switch off "Not RRM Network" messages

My system's logs are being swamped by these messages: wpa_supplicant[390]: RRM: Ignoring radio measurement request: Not RRM network I have searched extensively; I've even found the sources for ...
user avatar
  • 1,327
0 votes
1 answer
255 views

Hostapd client unable to connect to docker container network

I've setup hostapd on a RP3 so I could connect some IoT devices to it. Inside the RP3 I have several docker containers, one of which is running a MQTT Broker. The MQTT Broker is running on a bridge ...
user avatar
  • 101
1 vote
2 answers
2k views

hostapd not working anymore

I had a working hostapd file and a functioning wifi hotspot (device is busybox, iMX6 board). While the hotspot was up and running, I was doing manual routing connected to the device via ssh (I'm able ...
user avatar
0 votes
0 answers
280 views

Configure hostapd to accept password multiple WPA2 PSKs

Is it possible to configure hostapd to have a list of more than one valid passphrase that a supplicant can use to authenticate ? Solutions I've seen so far involve setting up a RADIUS server, but I'm ...
user avatar
2 votes
1 answer
10k views

DNSmasq on 2 interfaces

SysInfo: ubuntu 18.04 external access point (with its own internal linux system) => interface ap1, IP: 192.168.13.1 external access point (USB stick) => interface ap0, IP: 192.168.12.1 hostapd ...
user avatar
  • 133
3 votes
1 answer
2k views

hostapd: mapping MAC address to VLAN ID (static mapping via accept_mac_file)

I want hostapd to assign each station a given VLAN based on MAC address. BTW, my network is quite small. Using RADIUS would be an overkill. According to the hostapd manual: Optionally, the local ...
user avatar
1 vote
0 answers
42 views

Trigger agreement page automatically when connecting to Captive Portal [duplicate]

I have a WiFi hotspot setup using Hostapd and Dnsmasq. Everything works great, but I'm trying to trigger the sort of Terms and Conditions page you might see at a hotel or coffee shop after you connect ...
user avatar
0 votes
1 answer
802 views

Auto-trigger captive portal agreement page display

I have a WiFi hotspot setup using Hostapd and Dnsmasq. Everything works great, but I'm trying to trigger the sort of Terms and Conditions page you might see at a hotel or coffee shop after you connect ...
user avatar
0 votes
1 answer
576 views

Not Getting speed in Atheros QCA6174 802.11ac

I got 50MB/s speed in Station mode but using AP mode I got only 8MB/s to 10MB/s How to increase my Transfer speed Details: WiFi Card = Atheros QCA6174 802.11ac OS = Ubunut 16 Hostapd = 2.6 ...
user avatar
0 votes
3 answers
3k views

Trouble with 802.11ac from a WLE900VX card (QCA9880 ath10k) via hostapd

I think this is where I am going wrong-- But I am not sure if it really is the problem and even if it is, I am not sure what to do about it. nl80211: Could not configure driver mode nl80211: deinit ...
user avatar
1 vote
1 answer
2k views

What characters are allowed for the username and password in FreeRADIUS?

I am testing the WLAN functionalities of a device connecting to a RADIUS server. This RADIUS server is located on a Raspberry Pi with Raspbian Stretch and is using FreeRADIUS 3.0 and Hostapd. For EAP-...
user avatar
1 vote
0 answers
449 views

Interface combinations implementation without firmware update wireless linux networking

I am working with the Qualcomm WiGig (60GHz) chipsets supported by the Linux networking wil6210 driver. I use Linux kernel 4.12. In my use case, I would like to use concurrent usage of the WiGig ...
user avatar
7 votes
2 answers
9k views

DNSMASQ config for captive portal

I am trying to create a captive portal wifi hotspot. Aim of the setup: Users connecting to hotspot through wlan0 should never be allowed to access the internet through eth1. For the "Sign into ...
user avatar
  • 121
1 vote
1 answer
2k views

Windows 10 clients can't connect to HostAPD

I have an access point running on a linux server. I'm using hostapd 2.4 on ubuntu 16.04. wifi adapter: Intel® Centrino® Advanced-N 6235 android, iphone, linux computers, and windows 7(don't have a ...
user avatar
  • 133
-1 votes
1 answer
5k views

How to view dnsmasq client MAC addresses dynamically?

If I have already known the client IP, I know there's /var/log/dnsmasq.log and it contains logs such as Jun 13 12:22:42 dnsmasq-dhcp[499]: DHCPACK(wlan0) 172.24.1.110 34:12:98:11:80:bd ones-iPad ...
user avatar
  • 219
2 votes
0 answers
779 views

How to redirect a URL from hostapd without internet access?

I have configured my server with iptables rules in order to forward all traffic to a specific domain. Those are NAT rules and the redirection works fine as long as I have internet access. But when ...
user avatar
1 vote
1 answer
2k views

hostapd Wired 802.1x with Bridge

I've got a PCEngines APU running Debian Jessie. I'm trying to configure hostapd to perform wired 802.1x authentication against a remote domain controller running NPS on 2008 R2. I would like 2 of it'...
user avatar
0 votes
0 answers
29 views

De-authenticating Wi-Fi without turning off the device

I have established Wi-Fi access point using hostapd and the IP address is configured via DHCP. This is my configuration file hostpad.conf interface=wlan0 driver=nl80211 ssid=User hw_mode=g channel=...
user avatar
  • 123
3 votes
1 answer
5k views

Hostapd with ACS not working due to not collecting survey data

I'm trying to use hostapd in version 2.5 with ACS. In order to do that, I have used the following config file: interface=wlp2s0 driver=nl80211 ssid=ap-example hw_mode=g channel=acs_survey macaddr_acl=...
user avatar
0 votes
1 answer
258 views

Disconnect an 802.11 wireless station

I am setting up a wifi system using serveral accesspoints (ap) based on OpenWrt. The ap are 802.11n series. Currently the system works properly. The missing part I feel is roaming. Some end-user ...
user avatar
  • 135
2 votes
2 answers
2k views

Linux Hostapd registers as WEP, but I want WPA2-PSK

as usual to respect the community, I have traversed a bajillion articles and re-read the manual and still can't seem to get past this issue. I'm trying to create an access point in Linux(linaro on a ...
user avatar
  • 131
0 votes
0 answers
619 views

How to block device trying to connect to your wifi

In my log-file I see that hostapd shows that a device is continuously trying to connect and disconnect which slows down the network & pollutes the log-file and. Anyone knows how to block a device ...
user avatar
1 vote
1 answer
11k views

Enable DHCPv6 in dnsmasq to distribute fixed range IPv6 addresses but failed

Help wanted! I want to create a AP in my Raspbian PI. And i choose dnsmasq as the dhcpv4 and dhcpv6 server. However, my laptop can acquire IPv4 successfully but fail to get a IPv6. Why the dnsmasq ...
user avatar
  • 11
1 vote
2 answers
3k views

Monitor WiFi association attempts

I'm using hostapd to create an access point and I was wondering if there's any way for me to get an output of current or recent association attempts. Ideally I'd like to see the MAC ID and any other ...
user avatar
2 votes
0 answers
2k views

Restrict hostapd wireless client from talking to eachother

How can I keep a wireless client of hostapd from talking to a wired client on the same network or another wireless client on the same network? Here's my network topology: [wired client] --> [...
user avatar
  • 623
0 votes
1 answer
440 views

How to link hostapd to physical wireless card via ethernet?

I want to separate the software and physical part of an access point into two different equipments. As a first step, I have installed hostapd in an Ubuntu server machine. How can we link hostapd to a ...
user avatar
  • 11
1 vote
0 answers
2k views

Unable to setup wlan0/ppp0 bridge

Don't know how many hours/days I have into this 'simple' problem, but I'm stuck... What I'm attempting to do is connect an eth0/wlan0 bridge to a ppp session (in other words share a ppp connection to ...
user avatar
4 votes
1 answer
4k views

hostapd, rtl8192se and wpa not working: EAPOL-Key Timeout [closed]

Ubuntu 12.04.2, 3.2.0-49-generic, x64 hostapd from saucy (hostapd_1.0-3ubuntu2_amd64) Have tried from precise-updates as well to no avail. You can see in the debug output below, hostapd sends the ...
user avatar
  • 316
0 votes
1 answer
1k views

KVM USB Passthrough Performance

I have a CentOS 6.4 KVM host. I also have an ESXi 5.1 host. Under ESXi I am running a Ubuntu 12.04 guest with a USB TP-Link WN722N Wifi dongle. The Ubuntu guest runs an access point using hostapd. The ...
user avatar
  • 2,977
3 votes
2 answers
1k views

Wifi performance is slow only when there are multiple radios in one router

I have a wireless network setup like this: Laptop \ | Wifi Router A | Wifi Router B | Wifi Router C | \ | / \ | / \ | / ...
user avatar
  • 133
2 votes
0 answers
2k views

how to set up open source wireless lan controlloer (wlc) to manage multiple access points

I am working on linux devices to facilitate different functionalities (like access point, CAN controller, I2C, etc.). Due to financial limits, we have planned to implement access points using linux ...
user avatar
2 votes
3 answers
3k views

Slow 802.11n on custom-built router

I have custom-built router, based on Intel D510MO motherboard with Slackware 13.37 on it. I'm using hostapd-2.0 and iptables to make it act as a router. Client is a laptop with Windows 7 on it. Both ...
user avatar
  • 121
-1 votes
1 answer
13k views

Why is hostapd not working?

I have been working on getting hosapd work for some time. The guides I have followed will be attached on the bottom. So first things first. As far as I can tell, my network card does support AP mode....
user avatar