Skip to main content

Questions tagged [hostapd]

User space daemon for access point and authentication servers.

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

What is the difference between `ssid` and `ssid2` in hostapd config file?

In a hostapd configuration file, sometimes I see the key ssid to specify the SSID, and sometimes I see the key ssid2. What is the difference between these? I'm having trouble finding documentation ...
Jason C's user avatar
  • 1,475
1 vote
0 answers
16 views

Trouble Setting Access Point 2.4GHz Orange Pi Zero 2

I'm setting up a WiFi Access Point using bridge mode. I successfully configured the bridge mode and it's working. Then, I managed to set up the WiFi Access Point for 5GHz as well. But why did I fail ...
EMAIL KERJA's user avatar
1 vote
2 answers
190 views

5 GHz WiFi is not working on Debian 12 , Hostapd , firmware-atheros , Kernel Info: Debian GNU/Linux 12.5 (Kernel:6.1.0-18-amd64 x86_64)

I have a debian 9 router that supports both 2.4 GHz and 5 GHz. As debian 9 lost its life time I decided to upgrade my router software to debian 12 and after upgrading 2.4 GHz is working fine but 5 GHz ...
Md. Rajib Hawlader's user avatar
0 votes
1 answer
220 views

How to configure hostapd service with external RADIUS server?

I am trying to set up an AP with an external RADIUS server using two Linux hosts for each service, hostapd and freeradius, correspondingly. These hosts and the Wi-Fi client host are Raspberry Pi 4 ...
pahanela's user avatar
0 votes
1 answer
86 views

How to change the regulatory domains on two Atheros wifi cards?

I have managed to get iw reg get to show channel 44 (5220MHz) as allowed, by installing wireless-regdb and cdra Debian packages: root@foo1:~# iw phy phy0 reg get global country GB: DFS-ETSI (2400 -...
fadedbee's user avatar
  • 971
0 votes
1 answer
39 views

hostapd: WIFI AP cannot ping host connected to it

I am working on an embedded Linux system (kernel-5.10.24), there is a RTL8723 WIFI module in my system. Now I configured the target board as WIFI AP with hostapd/udhcpd/dnsmasq. The hostapd.conf is. ...
wangt13's user avatar
  • 443
0 votes
0 answers
96 views

Orange Pi Zero 3 WiFi Access Point Broken using Ubuntu Image

Problem I created a Bridge Access Point using Orange Pi Zero 3 with the Ubuntu OS. However, after going through a fairly lengthy configuration, there is an issue when trying to connect to my Orange Pi ...
EMAIL KERJA's user avatar
0 votes
0 answers
121 views

Hostapd: is possible to reach a better speed?

My nmcli report those speed on wifi routers nmcli device wifi list Wufr1 Infra 44 270 Mbit/s 36 ▂▄__ WPA2 WPA3 other Infra 11 270 Mbit/s 40 ...
elbarna's user avatar
  • 12.8k
0 votes
1 answer
148 views

Linux 5GHz access point REGULATORY DOMAIN problem (debian+ hostpad + dnsmasq)

I am getting problems setting a 5GHz access point with a lattepanda 3d. I run the following setup: Debian Hostapd Dnsmasq iw (for set/get reg dom) In the end I am able to successfully test a 2,4 GHz ...
enon's user avatar
  • 3
0 votes
1 answer
185 views

Hostapd fast disconnect

This is the situation. I have setup a hostapd server on Slackware 15 I use this adapter for server, the client also using a similar adapter. I use this configuration for hostapd interface=wlan1 bridge=...
elbarna's user avatar
  • 12.8k
0 votes
1 answer
327 views

How do I make a Linux-based IPv6 access point?

To make a typical IPv4-based access point on Linux, one does these steps: Use hostapd to make e.g. wlan0 available for incoming connections; Choose some local subnet. For example, 192.168.99.0/24. ...
Vi.'s user avatar
  • 5,813
2 votes
2 answers
530 views

How to connect WIFI AP (hostapd) without passphase in Linux?

I am working on an embedded Linux system (kernel-5.14), and I am trying to configure the device as a WIFI AP by using hostapd (and using softAP mode). The main modification of hostapd.conf is as ...
wangt13's user avatar
  • 443
1 vote
1 answer
210 views

How to connect an access point and a station using mac80211_hwsim in 2 separate qemu instances?

I'm exploring wifi virtualization with qemu running Linux. I am attempting to accomplish the following setup The access point runs inside the first qemu instance with mac80211_hwsim simulated radio ...
Amol Dhamale's user avatar
2 votes
0 answers
309 views

ubuntu/ath10k: regdomain has no effect

Summary: PCEngines APU2 board with 2 identical Compex WLE600VX wireless cards. Ubuntu 22.04 with 5.19 (hwe) kernel. I'm trying to make them work as an access points using hostapd, usual way. Both ...
Igor Novgorodov's user avatar
0 votes
1 answer
50 views

What could cause a generated hotspot to not consistently broadcast?

I am running a variant of Debian on a Coral development board. When I generate a hotspot sometimes it becomes unavailable and then re-appears again as can be seen from my phone's wifi list and from ...
brad's user avatar
  • 103
0 votes
1 answer
85 views

Why can't set the wireless access point in my debian?

My wireless adapter: lsusb | rg -i wireless Bus 001 Device 005: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter List my network interface: iwconfig lo no wireless extensions. ...
newview's user avatar
  • 205
0 votes
0 answers
244 views

How can I use a network interface as internet access in hostapd

I created a hostapd WiFi hotspot and now I want to use my phone via USB tethering as an internet source. I don't want to use a bridge because my phone isn't always connected, the hotspot should always ...
Julius Babies's user avatar
2 votes
0 answers
195 views

Issues with AP and station mode simultaneously on a AP-STA wifi module

I have an iMX8MP board running Linux. The board is equipped with a Wifi module with AP-STA capability. I want this system to start an access point at boot and to connect to an external wifi once the ...
firion's user avatar
  • 149
0 votes
1 answer
696 views

Wireless AP, I cannot ping host nor client

I'm setting up a wireless ap without internet connection. A client can connect to the hostapd server and obtain an ip address thanks to dnsmasq. The problem is that the client cannot ping the server ...
Snakehater's user avatar
0 votes
1 answer
868 views

Discrepency between `iw reg get` and the Wi-Fi chip No-IR frequencies

I have a Intel AX200 Wi-Fi chip that I would like to use to host an 5Ghz Wi-Fi AP in France. When I run iw reg get, I have this: global country FR: DFS-ETSI (2400 - 2483 @ 40), (N/A, 20), (N/A)...
Hugal31's user avatar
  • 189
0 votes
1 answer
85 views

hostapd: why only 65mbps?

compare my router fritz with raspberry pi4 + hostapd IN-USE BSSID SSID MODE CHAN RATE SIGNAL BARS > ***************** Fritzrouter Infra 1 260 Mbit/s ...
elbarna's user avatar
  • 12.8k
0 votes
1 answer
699 views

hostapd: I want wpa3 only..but enable WEP!

I start hostapd for wpa3 only auth. interface=wlan0 bridge=br0 driver=nl80211 ssid=mysid hw_mode=g channel=6 wpa=2 wpa_passphrase=iforgotit wpa_key_mgmt=SAE rsn_pairwise=CCMP But when I do the scan ...
elbarna's user avatar
  • 12.8k
1 vote
1 answer
1k views

Problem with creating wifi-hotspot with with hostapd and dnsmasq

OS: Pop!_OS 22.04 LTS (64 bit) I am trying to create an access point on my laptop and connect my android phone to it. My phone connects, shows Obtaining IP Address, and disconnects immediately. I ...
abu obaida's user avatar
1 vote
0 answers
97 views

Wi-Fi Access Point has very low speed in one direction

We are creating an Access Point on an embedded device by using hostapd and dnsmasq. No iptables rule is set. We set it on 5Ghz (a/n) however max transfer speed is 6.1 Mbyte/sec. (Tried with scp and ...
obayhan's user avatar
  • 139
1 vote
1 answer
3k views

hostapd disables and enables interface

My hostapd, after some minutes of execution, it does this: wlan1: INTERFACE-DISABLED wlan1: INTERFACE-ENABLED then, connected clients lose connection and, if i try reconnecting, it wont't connect ...
DoggoPlayer's user avatar
2 votes
1 answer
3k views

Why configure bridge in hostapd.conf

In a lot of hostapd documentation (is there a single comprehensive one that covers all options?) I read that it is necessary to configure the bridge to which the wireless interface belongs to, using ...
Philippe's user avatar
  • 479
-1 votes
1 answer
71 views

Makefile: 1037: recipe for target '../src/ap/beacon.o' failed

I am installing hosatpd-wpe as on kali linux rolling 2017.2 follows: wget https://raw.githubusercontent.com/aircrack-ng/aircrack-ng/master/patches/wpe/hostapd-wpe/hostapd-wpe.patch wget https://w1.fi/...
Zac's user avatar
  • 27
0 votes
1 answer
771 views

WiFi interface configured as AP is down after system restart

I'm trying to setup my WiFi interface in AP mode using hostapd. However, after system restart startup hangs for about 2min on: A start job is running for Wait for Network to be Configured It seems ...
Cob's user avatar
  • 1
2 votes
1 answer
3k views

How to filter ARP-Requests with Nftables using a Raspberry Pi as AP (using hostapd)

I´m trying to filter ARP-requests coming from certain IP-addresses in my network. I tried : table arp filter { chain input { type filter hook input priority 0; policy drop; ...
hopelessStudent's user avatar
0 votes
0 answers
252 views

hostapd client cannot ping the host but the host can

I have an embedded system running Linux and I configured it to create an access point using hostapd and udhcpd. I can connect to the access point and receive an IP with a client device. However, I ...
firion's user avatar
  • 149
0 votes
1 answer
711 views

Cannot ping from PC to hostapd access point, but I can ping from the host to the PC

I am working on an embedded system running Yocto. I created an access point using the following commands: iw dev wlan0 interface add wlan1 type __ap ifconfig wlan1 hw ether 00:25:ca:07:0d:a6 ifconfig ...
firion's user avatar
  • 149
0 votes
1 answer
441 views

Raspberry Pi AP hostapd not working with WPA

I'm trying to make an AP out of my Raspberry Pi and I have a strange problem. I have installed hostadp and dnsmasq When I set an open network everything works but when I try to add a passphrase, only ...
golder3's user avatar
  • 1,074
0 votes
1 answer
484 views

Clients cannot connect to each other on WLAN. No reply on ARP requests

I have install a WLAN with an access point which connects the clients to the internet. At first all seemed to work correctly until I noticed that the clients can not communicate with each other. Here ...
Andreas Matthias's user avatar
3 votes
2 answers
7k views

Why can't hostapd service start AP configured in the 5 GHz band using Intel AX200 based adapter?

I am trying to set up an AP using the following configuration: Wi-Fi adapter: TP-Link AX3000 (Intel AX200 based) Operating system: Ubuntu Server 20.10 (groovy) Kernel version: 5.8.0-44-generic ...
pahanela's user avatar
3 votes
0 answers
45 views

Raspberry pi (running Debian) Access Point - Another Pi Crashes It

I have a Pi3b+ hooked up to my router running hostapd, dnsmasq and openvpn running an airvpn config, it is solid as a rock. It has a static IP on wlan0 192.168.4.1 and serves a local IP range, ...
Rubato's user avatar
  • 31
0 votes
1 answer
696 views

Create hotspot in raspbian

I have a RPI 2 with raspbian OS. I have a WI-FI USB adapter too that it is connected to the pi. I want to use wlan0 as a hotspot but any try get failed. I tried this guide and some open source project ...
Majid's user avatar
  • 101
1 vote
0 answers
76 views

Cannot ping or access webserver

I have a kali chroot running on my phone which has a custom kernel that includes external usb wifi adapter drivers. Inside the chroot, I'm using hostapd to create an AP and isc-dhcp-server for DHCP. I'...
Tavern Mitsu's user avatar
1 vote
0 answers
379 views

WEP access point with hostapd

I'm trying to set up a WEP access point for old hardware. Here's my hostapd.conf: interface=wlx08beac0a6c1d country_code=UK ieee80211d=1 ieee80211n=0 hw_mode=g channel=4 wmm_enabled=1 ssid=banana ...
Richard Barraclough's user avatar
4 votes
2 answers
5k views

hostapd on two interfaces (two configuration files)

I have two wireless interfaces and I want to run different APs on each. (Neither hardware supports multiple SSIDs.) I have a .conf file for each interface. How do I get hostapd to use them both ...
Richard Barraclough's user avatar
1 vote
0 answers
260 views

Hostapd not starting despite successful startup message

I have Hostapd running on Ubuntu 20.04.1 LTS. It's set to run as a service, or so I thought. Whenever I reboot the system, the status indicates it's running properly. root@beelink:~# service hostapd ...
john cs's user avatar
  • 164
1 vote
1 answer
4k views

Creating a virtual wifi network interface for a second hostapd access point

I'm trying to set up hostapd with two SSIDs. One I can do; a second is proving impossible. My latest hypothesis is that one first has to create another of them things what appear in ip a, then add it ...
Richard Barraclough's user avatar
4 votes
1 answer
2k views

Raspberry Pi 4 Model B - External RT3070 WiFi adapter - Hostapd crashing

I'm attempting to use my Raspberry Pi 4 Model B with one of these ModMyPi Ralink RT3070-based-chipset usb wireless adapters as an AP via hostapd. The issue I'm facing is as follows: Start hostapd AP ...
Kane Charles's user avatar
2 votes
0 answers
2k views

Intel wireless card AX200 5g AP mode worked then failed

I have two intel wireless card, one of them is AX200. I didn't know intel disabled all 5g ap mode before buying it. The reason I want to use a wireless card for ap is I want to test how many ...
Randix Lai Randy's user avatar
5 votes
4 answers
15k views

Enabling AP mode for Intel AX-200 WLAN adapters on 5GHz band

Has anyone been successful in enabling ap-mode for Intel AX-200 WLAN adapters on the 5GHz band? After a few weeks of attempting and searching other forums there hasn't been a positive note yet that ...
VRS's user avatar
  • 53
1 vote
0 answers
261 views

WiFI issues on Ubuntu 18.04.3 with 4.9 kernel and Atheros AR9285 PCI wireless adapter

UPDATE After some time we got around to testing it with a 5.4 kernel under Ubuntu 20.04. Same issue, setting up the network usingnmcli is easy, but there is still no SSID to be found. Although we have ...
MortenMC's user avatar
2 votes
1 answer
3k views

Getting hostapd and dnsmasq working together

I have both hostapd and dnsmasq running but for some reason any connected host does not get assigned an IP. tcpdump shows the client pinging the broadcast IP but no response. hostapd config ...
CarterKF's user avatar
1 vote
0 answers
3k views

Trying to install HostAPD on Kali linux Error = Driver does not support authentication/association or connect commands

Im using latest Kali 5.4.0-kali2-amd64 in a VM (vmware) with a TP-Link TL-WN722N v2 dongle, Im trying to setup an access point routed through my Kali VM so that I can connect an android device to it ...
Kravitz's user avatar
  • 111
1 vote
1 answer
703 views

hostapd clients don't get ipv4 addresses

I'm trying to setup a raspberrypi 4 as a wifi access point. Following the official documentation I managed to bridge my eth0 interface and setup hostapd. The bridges IP is provided by an exisiting ...
vendetta's user avatar
4 votes
1 answer
4k views

NetworkManager Hotspot vs. HostAPD

It seems that the preferred way of making a AP out of your Wireless NIC is to use HostAPD. However, there is an easier and out-of-the-box alternative method that can be done with single command with ...
Vicente Bolea's user avatar
0 votes
1 answer
142 views

Debian Router Configuration Problem

I just got my brand new laptop and I intet to make the old one to act as a home router, just to play and learn a bit about Networking. After I fallow some tutorials, I make the configuration as fallow:...
Weiss Willy's user avatar