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
10 views

raspberrypi hostapd not connecting to the internet itself

I was making an access point using my raspberry and hostapt, I followed the official guide on the raspberry pi foundation website and everything works fine, I can access my AP network and browse with ...
user avatar
  • 1
2 votes
1 answer
73 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 ...
user avatar
1 vote
0 answers
18 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 ...
user avatar
1 vote
0 answers
31 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 ...
user avatar
0 votes
0 answers
23 views

hostapd stops working after few minutes on intel NUC, What can be the reason?

I wanted to create AP for my IOT devices on intel nuc running debian. I followed the setup for wpa2 hostapd and dnsmasq. Everything works fine for 10 minutes after I restart hostapd. but after that ...
user avatar
1 vote
1 answer
116 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 ...
user avatar
  • 13
0 votes
0 answers
29 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 ...
user avatar
0 votes
0 answers
30 views

ICMPv6_RA with ipv4 DNS server windows

I have a Windows 10 (20H1 with firewall disabled) computer connected to an AP. The AP sets the default DNS server to for example 6.6.6.6. The AP also sets the W10 internal IPv4 adress (thanks to DHCP) ...
user avatar
4 votes
1 answer
180 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 ...
user avatar
0 votes
0 answers
111 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 ...
user avatar
1 vote
0 answers
556 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 ...
user avatar
  • 11
1 vote
1 answer
438 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-...
user avatar
1 vote
0 answers
77 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 ...
user avatar
1 vote
0 answers
61 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 ...
user avatar
  • 111
0 votes
0 answers
122 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 ...
user avatar
  • 11
1 vote
2 answers
99 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 ...
user avatar
1 vote
0 answers
77 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 ...
user avatar
0 votes
1 answer
965 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-...
user avatar
  • 365
1 vote
0 answers
1k 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 ...
user avatar
  • 11
1 vote
0 answers
640 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 ...
user avatar
0 votes
0 answers
144 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....
user avatar
  • 101
0 votes
1 answer
125 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 ...
user avatar
  • 1
2 votes
1 answer
4k 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 ...
user avatar
  • 1,085
1 vote
0 answers
181 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/...
user avatar
0 votes
0 answers
451 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=...
user avatar
  • 23
0 votes
0 answers
755 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 ...
user avatar
  • 1
1 vote
0 answers
261 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 ...
user avatar
  • 11
0 votes
0 answers
217 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-...
user avatar
0 votes
2 answers
86 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 ...
user avatar
0 votes
1 answer
179 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 ...
user avatar
1 vote
0 answers
203 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 ...
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 ...
user avatar
  • 21
0 votes
0 answers
293 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 ...
user avatar
  • 165
0 votes
1 answer
1k 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 ...
user avatar
0 votes
0 answers
167 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 ...
user avatar
  • 143
1 vote
0 answers
317 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 ...
user avatar
  • 11
0 votes
1 answer
732 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. ...
user avatar
0 votes
0 answers
182 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 ...
user avatar
  • 121
0 votes
2 answers
1k 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 ...
user avatar
  • 147
0 votes
1 answer
498 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 ...
user avatar
0 votes
0 answers
355 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 ...
user avatar
1 vote
2 answers
256 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 ...
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....
user avatar
1 vote
0 answers
825 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 ...
user avatar
  • 111
5 votes
2 answers
20k 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 ...
user avatar
1 vote
1 answer
316 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. ...
user avatar
0 votes
0 answers
1k 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 ...
user avatar
0 votes
0 answers
491 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, ...
user avatar
-1 votes
1 answer
3k views

nl80211: Failed to set channel: -22 (Invalid argument)

i am trying to setup a wifi hotspot using hostapd with the following configuration: interface=wlan0 ssid=My_AP hw_mode=g channel=2 auth_algs=1 wmm_enabled=0 ieee80211n=1 and i am getting this error ...
user avatar
  • 159
1 vote
0 answers
714 views

udhcpd instance reports address already in use

I am attempting to setup a dhcp server, using udhcpd as the dhcp server. Background info: Following a tutorials for configuring a dhcp server (for Raspberry Pi AP's e.g. here and here and here), I ...
user avatar
  • 1,085