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
-1 votes
0 answers
14 views

How can I set up an access point but still be connected to the internet? [closed]

I need to use a laptop with Ubuntu 22.04 LTS as an access point, to connect an Ethernet-only device to the Internet, and to be able to ssh into it from the network. The laptop does not have WiFi ...
Alessandro Bertulli's user avatar
1 vote
1 answer
365 views

Iptables block incoming connections to network interface from subnet

I have a Linux machine that uses Hostapd to serve a WiFi hotspot. I also have a Raspberry Pi that connects to this WiFi hotspot as a DHCP Client. The Linux machine has a Cellular interface and shares ...
PhilBot's user avatar
  • 113
0 votes
1 answer
1k views

Hostapd Wifi 6 channel not enabled though shown in iw list in Germany using Debian bookworm

I am trying to set up a Wifi 6 Access point with an Intel AX210 card on Debian Bookworm. My configuration of the hostapd.conf file looks like: interface=wlp2s0 bridge=br0 driver=nl80211 hw_mode=a ...
Ronny Forberger's user avatar
0 votes
1 answer
559 views

Using iptables and hostapd to create isolated guest AP

I'm trying to setup my raspberry pi as an access point for guests to be able to connect to, that should allow them internet access but not access to the rest of my network, the pi also is my DHCP and ...
RichyHBM's user avatar
  • 103
1 vote
0 answers
499 views

How to configure MACSEC Key Agreement (MKA) with hostapd & wpasupplicant?

I'm trying to setup MKA between some clients (using wpa_supplicant) and an authenticator (using hostapd). Additionally I have a RADIUS server(using FreeRADIUS) that is going to be handling the ...
A. Trevelyan's user avatar
0 votes
1 answer
2k views

Hostapd failed to start - Failed to initialize interface

I'm trying to set up hostapd on linux machine as a network authenticator with 802.1x. I've been mostly following this guide, with some adaptations since I'm using Ubuntu Jammy instead of RHEL, and ...
A. Trevelyan's user avatar
0 votes
0 answers
159 views

hostapd: assigning static sub-IP based on MAC

I've set up an access point / wifi-repeater via hostapd on my raspberry pi using this incredible tutorial. Now I want to ensure that the connecting clients have a "static" IP in the subnet. ...
Sebastian Schneider's user avatar
0 votes
1 answer
982 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 ...
Human's user avatar
  • 141
1 vote
1 answer
2k 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 ...
Mausy5043's user avatar
  • 1,347
0 votes
1 answer
342 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 ...
jtomasrl's user avatar
  • 101
2 votes
2 answers
3k 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
453 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 ...
Mij Doom's user avatar
2 votes
1 answer
14k 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 ...
ZioCain's user avatar
  • 133
3 votes
1 answer
3k 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 ...
Pedro Abrantes's 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 ...
Jason Burgett's user avatar
0 votes
1 answer
1k 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 ...
Jason Burgett's user avatar
0 votes
1 answer
713 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 ...
Lokesh Carpenter's user avatar
0 votes
3 answers
4k 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 ...
BradChesney79's user avatar
1 vote
1 answer
3k 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-...
Jannis Kappertz's user avatar
1 vote
0 answers
527 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 ...
user3226957's user avatar
9 votes
3 answers
12k 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 ...
55597's user avatar
  • 141
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 ...
richmb's user avatar
  • 133
-1 votes
1 answer
6k 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 ...
dotslash's user avatar
  • 239
2 votes
0 answers
898 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 ...
Mr Bonjour's user avatar
1 vote
1 answer
3k 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'...
iamacarpet's user avatar
0 votes
0 answers
34 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=...
Nerdy's user avatar
  • 123
4 votes
1 answer
6k 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=...
Juan Garcia's user avatar
0 votes
1 answer
279 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 ...
Muneer's user avatar
  • 135
3 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 ...
Min's user avatar
  • 141
0 votes
0 answers
694 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
2 votes
1 answer
12k 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 ...
Ray's user avatar
  • 21
1 vote
2 answers
4k 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 ...
Alexander Trauzzi's 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] --> [...
mkirk's user avatar
  • 733
0 votes
1 answer
481 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 ...
fati09's 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 ...
Seth Miller's user avatar
4 votes
1 answer
5k 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 ...
Litch's 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 ...
Tim's user avatar
  • 3,047
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 | \ | / \ | / \ | / ...
bparker's 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 ...
Martin-Mark's 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 ...
binaryLV's user avatar
  • 121
0 votes
1 answer
14k 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....
user1048138's user avatar