As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [hostapd]

For questions on the creation and administration of wireless access points and networks using the user-space daemon hostapd.

Filter by
Sorted by
Tagged with
0 votes
0 answers
144 views

Setting up dual band concurrent AP with hostapd

I have an MT7615 based wireless network adapter which apparently supports dual band concurrent mode. So how would I go about setting up two access points one on 2.4GHz frequency and another one on ...
uwuna's user avatar
  • 1
0 votes
0 answers
103 views

Onemesh or similar with hostapd

I've learned about TP-Link's proprietary Onemesh technology that, as far as I understand, allows to combine multiple WiFi access points into one single access point. While that can be achieved by ...
Daniel D.'s user avatar
0 votes
1 answer
262 views

How Implement login/authorization to captive portal?

I already have the captive portal working. Now the problem I have is the "authorization/login", I want the client to access the internet after passing the portal page/conditions. How do you ...
Osmar Baez's user avatar
1 vote
1 answer
335 views

Bypass AP Isolate for some devices

I have some devices connected to a wireless AP running from hostapd that has AP isolation on. With this, none of the devices can ping each other. However, I would like 2 or more of those devices to be ...
zuljd's user avatar
  • 13
0 votes
0 answers
939 views

How can I use the same wifi interface in AP mode and station mode simultaneously?

I am trying to use a single wifi interface on a YOCTO Linux device to create an access point and to connect to an existing wifi simultaneously. The AP is successfully created and clients can connect ...
firion's user avatar
  • 141
2 votes
1 answer
806 views

My network setup do not work. FreeBSD

This question was asked by me on serverfault.com. It was closed as off-topic, with a suggestion to ask here, on superuser. The OS is FreeBSD 13.0. The setup that I need to establish is simple. In ...
user14063792468's user avatar
1 vote
0 answers
171 views

Hostapd only starts when second network adapter is disconnected

I run hostapd and dnsmasq on boot to start an access point. This works when I don't have a second network adapter connected. But when I boot with an extra adapter it doesn't start. It seems like the ...
Andreas Damen's user avatar
1 vote
0 answers
352 views

hostapd on Raspberry Pi 4 only starts when fan is connected [closed]

I run Kali on a Raspberry Pi 4 8gb. I run hostapd and dnsmasq on boot to start an access point. This works if the small fan is connected to the Raspberry Pi. But if I reboot with the fan disconnected ...
Andreas Damen's user avatar
1 vote
1 answer
535 views

tcpdump doesn't capture WiFi-to-WiFi traffic

I have configured a transparent bridge on a network that should capture all the traffic of its connected devices with tcpdump (see diagram 1). The bridge is configured on a Debian 11 server and has an ...
Fandi's user avatar
  • 13
0 votes
0 answers
130 views

Internet Routing not occurring on hostapd

I have one wifi onboard device in my laptop. Somehow, under fedora 34 with the following configuration and script... hostapd.conf---> interface=hotspot driver=nl80211 ssid=***** channel=7 hw_mode=g ...
John Sohn's user avatar
5 votes
1 answer
469 views

hostapd: how to block only NetBIOS broadcasts to clients in same WLAN by applying network restrictions

I have set up a Raspberry Pi Wi-Fi hotspot via hostapd, dnsmasq and iptables routing using this excellent tutorial: https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/. Although ...
shadowpool's user avatar
0 votes
0 answers
504 views

Clients can't use 80mhz channel

I have an Linux system with QCA9882 wifi carad adapter that runs wifi AP using hostapd. I've configured hostapd to use vht capabilities and enabled 80Mhz channel bandwidth. In general AP works but ...
Kamil Zaripov's user avatar
3 votes
0 answers
2k views

Using Hostapd on Ubuntu 20.04 to create 5GHz access point, "Channel 153 (primary) not allowed for AP mode, flags: 0x20073 NO-IR"

I'm attempting to create a 5GHz access point running off of Ubuntu 20.04. My wireless adapter is the Intel Corporation Cannon Point-LP CNVi. Side note: 2.4GHz access points work all day long, but I ...
Nate's user avatar
  • 31
1 vote
1 answer
1k views

How do I tell OpenWrt / hostapd to use a channel other than 1?

I have a wireless router running OpenWrt 19.07.7 r11306-c4a6851c72. It is both an access point and a client (station). /etc/config/wireless looks like this (sensitive values redacted): config wifi-...
Jean-Paul Calderone's user avatar
1 vote
0 answers
233 views

Kali Hotspot with Internet access thru proxy

I have a question. My Kali laptop is only have access to the internet with a proxy (username, password, serverip an Port). Now i configured a Hotspot with Hostapd and I want to use the Internet with ...
user1281185's user avatar
1 vote
0 answers
125 views

Cannot create a virtual access point interface before starting hostapd

I have a system that I'm trying to setup as a software access point. The NIC, however, has some kind of quirk and cannot be referenced directly by hostapd, but I need to create a virtual access point ...
leonixyz's user avatar
  • 111
0 votes
0 answers
181 views

Established a hotspot via hostapd (that uses SIM network) and station can connect but can't browse

I have established a hotspot via hostapd that is using a SIM network (through datacall), and I can connect to the network from my phone but I can't browse anything. My suspicion is the packets ...
xyf's user avatar
  • 111
1 vote
2 answers
761 views

Can't resolve hostname in sub-network

I have a raspberry pi (192.168.1.1) set up as an AP for a few devices. The WIFI connection works, DHCP also seems to give out valid addresses. The issue is that none of the devices in the network are ...
Daniel D.'s user avatar
1 vote
0 answers
143 views

Fedora 33 as wireless router to the internet: stations are always isolated, cannot ping/connect between devices on the wireless lan

Wifi adapter : Asus PCE-AC88 Running on the router : Fedora 33, firewalld, hostapd (built from master), dnsmasq Routing to the internet works great, all stations are routed to the WAN provided by my ...
Ebenezer Cooke's user avatar
1 vote
1 answer
2k views

Using Raspberry Pi as Wifi AP : WPA[2]-PSK works but EAP-TLS results in "IE in 3/4 msg does not match with IE in Beacon/ProbeResp"

For some testing, I'm trying to set up a WPA2-Enterprise network with EAP-TLS, and connect to it from an Android phone. I'm using a Raspberry Pi 4B running Raspbian to host the network, with its in-...
Prateek's user avatar
  • 375
1 vote
0 answers
2k views

Linux | Intel AC 8265 | Creating 5GHZ Wifi Network with Hostapd

I am trying to setup a 5GHZ Wifi Network with Hostapd. The problem is that I cant select a channel because all my 5ghz channels have the no-ir flag, and I can't fix that. I tried every single ...
Chikko's user avatar
  • 11
1 vote
0 answers
2k views

How to configure the channel for Access Point 5Ghz in hostapd?

I try to create a WIFI Access Point with hostapd. I have the following Wireless adapter : Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01) It supports WIFI 802.11a/b/g/n ...
ZioTonio's user avatar
0 votes
0 answers
258 views

hostapd-wpe for Windows 10

I would like to implement hostapd-wpe according to this patch, but it looks like Windows 10 uses MD5 certificates, so I changed default_md entry from sha1 to md5 in the ca.cnf, server.cnf, and client....
Vladimír's user avatar
  • 101
0 votes
1 answer
213 views

Hostapd - detect and execute command when a device is connected - error

I am trying to execute a command on hostapd when there is a new connection established. I used this example: hostapd: execute a command when there is new connection established But when I start the ...
Flo's user avatar
  • 1
2 votes
1 answer
5k views

Raspberry Pi 4 hostapd hotspot not visible

I am trying to create a hotspot with my new Raspberry Pi 4 B. The problem is, when running hostapd with its configuration, no AP (with SSID) appears and I have no idea why. I have been using this ...
CybeX's user avatar
  • 1,225
1 vote
0 answers
407 views

How to create multiple hotspots with hostapd?

I would like to create two hotspots with two SSIDs with hostapd (or, in case it's not directly possible, I can accept alternatives). They must share channel (since I only have one Wi-Fi adapter/...
Paul Stelian's user avatar
0 votes
0 answers
624 views

hostapd disconnect my clients when browsing (Raspberry Pi)

I'm trying to make my own Wi-Fi network using a Raspberry Pi 3 Model B (connected on Ethernet) and hostapd version 2.8-devel. My config looks like that: interface=wlan0 bridge=br0 hw_mode=g channel=...
Minteck's user avatar
  • 53
0 votes
0 answers
938 views

802.1x setup on CentOS 7

I am currently trying to set up a 802.1x authentication server (FreeRADIUS) and authenticator (hostapd) on the same machine, and am running into some issues. I have the RADIUS server set up along ...
Jane's user avatar
  • 1
1 vote
0 answers
332 views

Hostapd , PI 3 not working , wifi disappeared after 1 to 3 days

I am having issue with my WIFI hotspot setup the in Raspberry PI 3, using hostapd and static Id, and isc-dhcp-server. After 1 to 3 days, other device can not see the wifi network , and checked the ...
Scott's user avatar
  • 11
0 votes
0 answers
225 views

Wireless adapters no longer interfacable

In the process of setting up a server I followed these two tutorials: https://seravo.fi/2014/create-wireless-access-point-hostapd https://community.openhab.org/t/setup-your-own-openhab-cloud-...
bulletgirl22's user avatar
0 votes
2 answers
142 views

Linux-Create AP that gets internet from client

I'd like to create access point that will take the internet from one of its clients. In other words, is there a way to create a bridge with a client? I know how to create AP and bridge it with ...
Michael Eagle's user avatar
0 votes
1 answer
261 views

Connecting to a headless machine that is connected to a hotspot connected to my main network

Sorry for the mouthful of a title, hopefully this diagram will make some sense of it; The solution I have right now is to connect my main workstation to the Raspberry Pi network, then connect to the ...
MrBlobby's user avatar
1 vote
0 answers
279 views

Embeded Software Linux HOSTAPD Connection Issues

First off I don't know if this the right forum to ask this in. If you know a better one, please let me know and I will post it there, don't just downvote the question... I have an older embedded ...
shaun's user avatar
  • 111
2 votes
1 answer
2k views

How to disable AP isolation in Linux bridge?

Context: I am trying to set up a WiFi hotspot on a Raspberry Pi by bridging my ethernet connection. Question: How do I disable AP isolation or client isolation? Pre-work: Here is what I have done ...
sid's user avatar
  • 21
0 votes
0 answers
343 views

Client of hostapd could not ping gateway

I have a laptop with Intel 8260 wireless module. And I ran following commands to make it a wireless router. Now the testing client can connect to my SSID, and get a DHCP address, both verified from ...
Magicloud's user avatar
  • 175
0 votes
1 answer
2k views

Ralink RT5572 based wireless adapter not working in AP mode in 5 GHz band with DFS

Objective: Get a CSL USB 2.0 WLAN adapter work in AP mode in the 5 GHz band, in a Linux-based system (in particular, Ubuntu 16.04.4 LTS, kernel 4.13). The USB adapter is based on a chipset from ...
fortune_pickle's user avatar
0 votes
0 answers
228 views

dhcp wi-fi server on raspberry with hostapd without dns forwarding

I want to use a raspberry pi as a wi-fi server in the following situation: A laser scanner sensor is connected to it by ethernet, and a service running on the pi should transfer the data to a pair of ...
Adalcar's user avatar
  • 143
1 vote
0 answers
361 views

Unable to build wireless-regb and crda packages on Debian 9 “Stretch” from sources

Ok, so the problem is, the regulations i get with the stock wireless-regdb for my country are incorect. In fact, it's not even close to the regulations we got. We're allowed to use 13 channel (2472 ...
Andy's user avatar
  • 11
0 votes
1 answer
740 views

How do you setup Raspbian Stretch as wireless-only router with Internet access?

The Situation Raspbian Stretch is wirelessly connected to a private subnet 10.0.0.0/16 via wlan0 (model RT5370). Without further modification, Raspbian Stretch has Internet access and DNS is working. ...
Rhyknowscerious's user avatar
0 votes
0 answers
260 views

Unable to ping locally with iptables masquerade wifi repeater

Okay so my network setup is as follows: I have a router that connects to the internet. Said router is 192.168.1.254. My device has 2 wifi adapters. Wlan0 is 192.168.1.99/24 static. (Dhcpcd) Wlan1 is ...
Kevin's user avatar
  • 141
0 votes
2 answers
2k views

Record incorrect password/key used to attempt to connect to hostapd network

I've been hosting a WPA2 network with hostapd on my Linux box, and I would like to record the incorrect keys used in failed attempts to connect. If my understanding is correct, the actual password is ...
Billy's user avatar
  • 147
0 votes
1 answer
558 views

Wifi AP to OpenVPN + stunnel gateway on Debian/Ubuntu

I have set up an OpenVPN connection over stunnel4 from my raspberry pi to my public server. The connection works fine, and I can connect using ssh over this connection both ways just fine. I have ...
Mr. Developerdude's user avatar
0 votes
0 answers
400 views

Raspberry pi : hostapd driver error

I'm trying to setup an Access Point on my raspberry pi using hostapd, dnsmasq and two tp link wifi dongles (TL-WN722N 2.0) When I start hostapd, I get this error : nl80211: Driver does not support ...
Pierre LAGOUTTE's user avatar
1 vote
2 answers
304 views

EAP (Re)authentification every 8:20 hours

I have a network that uses Freeradius and hostapd to authentificate. Every ~ 8:20 hours (30000 sec or 500 min) a connected station disconnects (gets disconnected?) and a new (Re?)authentification ...
Konrad Eisele's user avatar
2 votes
1 answer
3k views

Why is hostapd in IEEE 802.11a (5Ghz) not starting on boot?

I'm having a lot of trouble getting hostapd to create an access point upon system boot when it is configured to run in IEEE 802.11a (5 GHz). Running it manually from the command line or in IEEE 802....
steps0x29a's user avatar
1 vote
0 answers
863 views

Setting up hostapd in Fedora 25/26

I am trying to setup a wireless access point on Fedora with Hostapd, because Hostapd has some extra features I need over the default hotspot functionality of the Gnome network manager. I have added ...
Yatoom's user avatar
  • 111
5 votes
2 answers
24k views

Get all the IP addresses given out by DHCP Server with dnsmasq and hostapd

I have created a systemd service for the hostapd application on Raspbian Jessie Lite. The source code is similar to this GitHub Gist but with IP addresses ranging in the 192.168.50.x/24. Everything ...
Shan-Desai's user avatar
1 vote
1 answer
438 views

wlan0 to eth0 bridge works but MAC address gets mixed up

I have an access point (hostapd) running on wlan0. wlan0 and eth0 are bridged and eth0 is hooked up to a router. br0 is configured for DHCP and receives an address that is reserved on the router. ...
Jake Psimos's user avatar
0 votes
0 answers
2k views

wlan0 bridge to eth0 works but eth0 gets no internet

I am attempting to configure a linux box to use the wlan0 interface as an access point using hostapd. eth0 is the only ethernet port that is connected to a router. I am able to connect to the access ...
Jake Psimos's user avatar
0 votes
0 answers
506 views

Using two USB wifi adapters as one single WAP (wireless access point)

I'm wondering if this is possible or anyone has done this. I'm building a linux router/WAP for my house, I'm not completly sold on the distro yet probably going to use either: openWRT/DD-WRT x86, ...
Josh James Saunders's user avatar