Questions tagged [hostapd]

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

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
1 answer
39 views

How can I set up an access point on Linux and still be connected to the internet?

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
2 votes
1 answer
1k 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
2 votes
0 answers
195 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
2 votes
0 answers
901 views

wpa_supplicant commands on openwrt

I'm trying to port a program to openwrt. Everything works fine except wpa_supplicant. I have connected to it using wpa_cli and i have discover that for many commands such as 'scan', 'scan_results', '...
Acampoh's user avatar
  • 31
1 vote
0 answers
33 views

IPtables doens't block client to client communication

I'm working on a project with my fellow students, and we've discovered a vulnerability in a IP camera. This camera uses port 8554 for the rtsp protocol (it's unauthenticated). I want to block this ...
Dracolly's user avatar
1 vote
0 answers
675 views

Why does hostapd with channel=0 (ACS) fail?

I try to setup a WiFi AP with hostapd on Debian (Bullseye and Bookworm) with Automatic Channel Selection (ACS), by setting channel=0 in /etc/hostapd/hostapd.conf. On multiple system with different ...
MichaIng's user avatar
  • 525
1 vote
1 answer
1k 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
  • 11
1 vote
0 answers
208 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
326 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
164 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
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
1 vote
0 answers
751 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
1 vote
0 answers
417 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
1 vote
0 answers
354 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
1 vote
0 answers
424 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
1 vote
2 answers
389 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
1 vote
0 answers
901 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
1 vote
1 answer
521 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
1 vote
0 answers
984 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 ...
CybeX's user avatar
  • 1,385
1 vote
0 answers
75 views

IEEE 802.11:deauthicated due to local deauth request Respberry pi 2 jessie

I am trying to make hotspot using Raspberry Pi 2. I have followed a video tutorial in which I have completed all steps successfully. I use TL-WN722N router. Actually I'm facing an issue is that when ...
Salman Rafiq's user avatar
1 vote
0 answers
595 views

Raspberry Pi iptables not working without active eth0

I just work on a AcessPoint, hosted from my Raspberry Pi B+. When a cable is plugged in on the eth0 adapter it all works fine. If someone connect to my AP, they will be redirected to the webserver, ...
tobyblack's user avatar
1 vote
0 answers
452 views

802.11N in TP-LINK TL-WN722N

I'm using usb dongle TL-WN722N as Acess Point on my Raspberry Pi B 2. It works as AP but I can't get 802.11N speeds to work. My max Bit Rates is 65 Mb/s. Is this correct? sudo iw list: Wiphy phy0 ...
pedroh's user avatar
  • 11
1 vote
0 answers
1k views

hostapd + Ubuntu 14.04 Driver Issue for TL-WN725N v2

I recently purchased a TL-WN725N v2 usb dongle so that it may be used for my Ubuntu virtual machine. My Ubuntu installation seemed to install the correct drivers when plugging in the usb dongle (...
Intrepid's user avatar
1 vote
0 answers
3k views

Raspbian - Can't spoof a MAC address through HostAPD

I'm trying to let my Raspberry Pi function as an access point, but I keep running into some problems. Specifically when it comes to spoofing the MAC address. The purpose is to create a Nintendo 3DS ...
Bob's user avatar
  • 263
1 vote
2 answers
1k views

How does wlan interface receive 802.11 management frames?

From what I have read, hostapd (its used for creating a wifi access-point) creates a mon0.wlan0 interface to send and receive wifi management frames (http://lists.shmoo.com/pipermail/hostap/2012-May/...
user3465593's user avatar
1 vote
0 answers
3k views

Setting up a hotspot with hostapd

I've been using the steps described here to set up a wireless hotspot: How to turn my Linux netbook into WiFi AP But when I type: /etc/init.d/hostapd start on the commande line, I get the reply ...
John Smith Optional's user avatar
1 vote
1 answer
2k views

Debian Wheezy, hostapd running but no AP detected by clients

I've an TL-WN951N (AR5416+AR5008) using ath9k module running an hostapd and a dhcp for it. So hostapd starts fine: $ hostapd wifi.test Configuration file: wifi.test Using interface int1 with hwaddr ...
f0o's user avatar
  • 56
1 vote
0 answers
525 views

hostapd: Blacklist devices

Is it possible to blacklist specific device (according to their mac address or something similar) on my access point? I just used a basic configuration, ips are assigned by a dhcp servers on another ...
Christoph Schniedermeier's user avatar
1 vote
2 answers
9k views

really disable power save in linux wifi

I've got a laptop with an Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34) (using iwlwifi kernel module). Although power_save (a module parameter) is disabled, I can see 802.11 ...
Jayen's user avatar
  • 512
0 votes
0 answers
21 views

Hostapd kills ethernet connection

Dealing with the exact same issue like this guy: https://bbs.archlinux.org/viewtopic.php?id=159306 Interesting that how this never answered and/or the issue still exist in 2023 but can be specific to ...
Thermal take's user avatar
0 votes
0 answers
100 views

Using ebtables with hostapd to block outbound access from an IoT network

I have a Raspberry Pi set up to control a number of local IoT devices, and needed them connected to the Internet to set them up initially, but want to prevent them from "phoning home" to a ...
Curtis Parfitt-Ford's user avatar
0 votes
0 answers
258 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
945 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
0 votes
0 answers
2k 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
0 votes
0 answers
201 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
0 votes
0 answers
1k 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
0 votes
0 answers
227 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
0 votes
0 answers
348 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
0 answers
769 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
  • 73
0 votes
0 answers
1k 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
0 votes
0 answers
237 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
206 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
0 answers
417 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
  • 185
0 votes
0 answers
259 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
0 votes
1 answer
754 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
299 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
  • 161
0 votes
1 answer
588 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
428 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
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