Questions tagged [hostapd]

The tag has no usage guidance.

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

AP nginix website shows on newer devices, but not on older ones

I am running my Raspberry (Pi 4, Model B, running latest Raspberry Pi OS bookworm) as an Access Point using hostapd, dnsmasq & dhcpcd to serve a website via nginix. So people can connect wia WLAN ...
Andresch Serj's user avatar
0 votes
1 answer
58 views

hostapd running but wlan0 state down

I try to use my pi (Raspberry Pi 4, Model B, running latest Raspberry Pi OS bookworm) as a WLAN Access Point which also provides a website. I installed and configured hostapd, dnsmasq, dhcpcd & ...
Andresch Serj's user avatar
0 votes
0 answers
28 views

iOS devices cannot join AP created with hostapd if I enable EAP

I am trying to create an 802.1x EAP access point using a Raspberry Pi 4 and hostapd. It all seems to be working well on Windows as Windows devices can connect without issues, but when I try on iOS it ...
LegendusMaximus's user avatar
0 votes
0 answers
214 views

RaspAP - Wifi repeater

I have followed carrefully this : https://docs.raspap.com/repeater/ to configure my Rpi4 ( w/ latest OS 64 Lite ). wlan1 is configured w/ built-in wifi. wlan0 is related to USB Dongle ( TP Link WN725 ...
cocopops's user avatar
1 vote
1 answer
1k views

Raspberry Pi Zero 2 W simultaneous AP and client

I have seen many tutorials on using a Raspberry Pi Zero W as a simultaneous WiFi AP and client such as this one on Hackaday and this blog post, but these tutorials don't seem to work on the Raspberry ...
Ash Skabo's user avatar
1 vote
1 answer
1k views

`hostapd` running but unable to join network

I'm building out a Raspberry Pi 4 Model B Rev 1.5 with 8 GB running on Raspbian 11, into an all-in-one roller derby scoreboard and I've hit a snag with the WiFi access point component. The SSID isn't ...
amber's user avatar
  • 153
0 votes
0 answers
124 views

Hostapd on Pi Connection failed

I am using a PI 3B+ and the Rasbian light Version on it. I build the hostapd on my PI with wget, so that i can make modifications on it. After building and starting (build and make) the hostapd, ...
User19922's user avatar
0 votes
2 answers
156 views

How do I connect my raspberry pi to its own network?

I use hostapd to create a wireless AP and I use dnsmasq to hand out ip addresses. In order for dnsmasq to work I have turned off the my dhcp client deamon dhcpcd. I do not want my network to be ...
Snakehater's user avatar
1 vote
1 answer
107 views

Could not start DHCPv4 server instance: Address already in use

I am trying to set up an isolated lan using systemd-networkd on a RPi3B+ running Debian GNU/Linux 11 (bullseye) 64b. I followed the recipe here Workaround for a wifi bridge on a Raspberry Pi with ...
JeffD's user avatar
  • 13
0 votes
0 answers
192 views

Unable to connect more than one device on raspberry pi 4 hotspot

I am trying to configure raspberry pi wifi module as AP and client at the same time on same wlan0 interface using Access point as WiFi router/repeater, optional with bridge this tutorial, the problem ...
Muhammad's user avatar
0 votes
2 answers
85 views

Raspberry pi wifi point

I have a hostapd running on my raspberry pi 4b on wlan0. I also have installed succesfully a usb wifi adapter. I can have wifi on the pi and send a wifi connection to a laptop or other device. My ...
Hidde's user avatar
  • 9
-1 votes
2 answers
272 views

switch from hostapd AP to wifi client Raspberry Pi OS (Raspberry Pi4 64bit)

After meticulously following the instructions in this thread. I have a problem with my Raspberry Pi 4 on Raspberry Pi OS. Indeed, when I use this script: #!/bin/bash # This script will stop Hotspot (...
Marty's user avatar
  • 1
0 votes
0 answers
139 views

Generation of AP not working in Raspberry Pi 4

I configured the hostapd.conf, dnsmasq.conf and dhcpcd.conf properly. When hostapd launched and querying the status of the services I get: wlan0: Could not connect to kernel driver What could be ...
Nfernandez's user avatar
0 votes
0 answers
1k views

How can I lower wifi transmit power below 0?

We have a Pi 4 in a box with some other equipment, and it turns out that the wifi of the Pi is interfering with the other equipment. This is a problem because it can't be removed from the box it's in, ...
John's user avatar
  • 449
1 vote
1 answer
481 views

Connection on Raspberry/Ubuntu as Access Point Wifi > Ethernet > Internet not going through

I managed to set up hostapd using wifi-ap via Snap so my Raspberry Pi 4 creates a new Wifi Network Ubuntu that I can connect to. When I log in to that Raspberry via SSH using the new network, I can ...
ChrisB's user avatar
  • 111
1 vote
1 answer
293 views

Setting up open wireless access point on Raspberry pi

I have set up me Raspberry Pi as a wireless access point protected with WPA2 and a password but is there any way I can turn it into a open access point? Like changing my hostapd settings? My hostapd....
blaker1327's user avatar
2 votes
1 answer
3k views

WiFi access point fails with brcmf_cfg80211_change_iface: iface validation failed: err=-16

I was trying to set-up an access point at the same time as I have a station (client) connection and I kept hitting a brcmf_cfg80211_change_iface: iface validation failed: err=-16 error seen in syslog ...
TvE's user avatar
  • 131
1 vote
1 answer
243 views

Nintendo Switch thinks RPi-hosted WiFi Network has a captive portal when it doesn't?

I have a hostapd/dnsmasq WiFi network hosted by my Pi Zero W. I have it so I can play multiplayer video games with friends when no WiFi is available. It does not have internet access. For the Nintendo ...
Blue Herring's user avatar
0 votes
0 answers
147 views

Raspberry Pi Zero with WLAN Dongle, set up standalone AP and switch to Wifi Client

For a current project, I want to set up a standalone Blynk-Server on my Raspberry Pi Zero (version without inbuilt WLAN). I am using an EDIMAX Wifi Dongle EW-7811Un V2 and was able to set up the ...
Maximilian Sgodda's user avatar
0 votes
0 answers
153 views

AccessPoint doesn't allow me to connect my device to raspberry

I am trying to configure an Wifi access point on my raspberry. I have created a virtual interface that enables my RPI (3B+) to still use wlan0 for wifi connection and "apwlan0" for ...
Searme's user avatar
  • 31
2 votes
0 answers
2k views

Using Systemd-Networkd for Multi-Interface Networking

I am attempting to create a multi-interface WiFi to (WiFi, AP / ethernet) setup. I am using Systemd-Network, and I am able to get the base configuration to work without issues. I run into problems ...
Mike W's user avatar
  • 21
0 votes
0 answers
155 views

Setting up an AP from C code rock solid

I have to develop a program for RBPi4 with latest Raspberry OS. I'm coding in C because that's what i know for now. After startup the device's first task is to create a WLAN with predefined ssid, ...
Greenberet's user avatar
0 votes
1 answer
203 views

Raspberry Pi AP crashes when transferring large files over FTP [closed]

I have an Access Point set up on my Raspberry Pi 4 using a wifi dongle and hostapd. Everything works great, but when I start to transfer a file over FTP, the connection aborts at around 1 GB and I ...
user11748507's user avatar
0 votes
1 answer
410 views

hostapd failing to respond to DHCP discover nl80211: Frame command failed:

I'm trying to set up a AP by using hostapd and I was unable to even after following the tutorial notes step by step: After running hostapd with dnsmasq The AP gets advertised on the air, but ...
freddie_ventura's user avatar
0 votes
1 answer
671 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
0 votes
0 answers
88 views

Max. data-transfer-rate for RPi 3 over Wifi

Q1 What is the maximum data-tranfer-rate for the RPi 3B onboard wifi as access point? Q1.1 If it's > 72 Mb/s what does the config for hostapd.conf look like?
participant's user avatar
0 votes
1 answer
196 views

Access website with port in access point

Here's my "starting position": I have a Raspberry Pi 3b+, which is already configured, and I wanted to convert it into an Access Point. I followed this tutorial: https://pimylifeup.com/...
Tobias Kastl's user avatar
0 votes
0 answers
25 views

Pi access point brilliant (until another pi connects to it!)

just joined and have in interesting issue. 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....
Rubato's user avatar
  • 1
0 votes
0 answers
48 views

I cannot use wget or pip without encountering connection errors after following tutorial

I followed these access point instructions (lines of commands and file edits) tutorial, and now whenever I use wget or pip, connection errors are thrown. These were the instructions I followed: sudo ...
LaravelSucks's user avatar
0 votes
2 answers
42 views

Roboust Network connectivity

I want to run a headless (no monitor and keyboard) Pi 3a in the somewhat fluent environment (at home, in an Artist’s studio, on the attic of an cathedral). The Pi is controlling some Christmas ...
max's user avatar
  • 101
0 votes
0 answers
41 views

What does the iptables related operation in step 11 and 7 of this tutorial do?

this tutorial: https://calap.co/blog/how-to-use-raspberry-pi-as-a-vpn-access-point--2018-10-27.html shows how to turn an raspberry pi into a VPN hotspot. I find the iptable configs at step 7 and 11 ...
cream_pi's user avatar
0 votes
0 answers
166 views

Would like to use wlan0 to autologon to a captive portal, then bridge to wlan1 as AP

Scenario is this: My office wifi AP uses a simple "press to agree button" captive portal. That works well for humans, but in this case my wifi client is an instrument that does not have any ...
Carmen's user avatar
  • 1
0 votes
1 answer
574 views

Configure back to normal wifi station after access point mode (hostapd)

I have set up access point according to the manual https://www.raspberrypi.org/documentation/configuration/wireless/access-point-routed.md on respberry pi 4b. It works fine. Now I need to disable AP ...
kyb's user avatar
  • 103
2 votes
2 answers
16k views

Raspberry Pi 3b+ WiFi hotspot with hostapd Failed to start Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator

I have this: /etc/default/hostapd DAEMON_CONF="/etc/hostapd/hostapd.conf" /etc/hostapd/hostapd.conf interface=wlan0 driver=nl80211 ssid=HOTSPOT hw_mode=g channel=6 ieee80211n=1 wmm_enabled=...
Kurt Cobain's user avatar
2 votes
1 answer
1k views

How to invoke the existing persistent p2p Go on restart of device (to create auto connect)

I am able to connect successfully with the android device with the following wpa_supplicant.conf ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=root update_config=1 device_name=DIRECT-Pi ...
arayan's user avatar
  • 21
0 votes
2 answers
1k views

Raspberry Pi as Access Point with hostapd crashes Pi whenever I try to connect

I followed this tutorial to setup my Raspberry Pi 3 B+ as a wireless access point. I have gotten to the point where the Pi broadcasts an SSID, but as soon as a client tries to connect to that SSID, my ...
MitchTJones's user avatar
0 votes
0 answers
137 views

hostapd: Pi 3 built-in WiFi going up and down every second

I am using a Pi 3 Model B running Raspbian buster and kernel version 4.19.118-v7+. I have been trying to configure it to run as a WiFi repeater using the built-in WiFi (wlan0) which is configured to ...
synthesis's user avatar
  • 125
-1 votes
2 answers
912 views

Pi 3 wifi access point

I want to create a dedicated wifi connection between my Raspberry Pi 3 and a windows 7 laptop. I thought the method here https://www.pi-point.co.uk/documentation/ would do the job. Managed to get ...
NeilK's user avatar
  • 1
-1 votes
1 answer
55 views

raspberry pi connected to wifi but not responding

I am following this tutorial to convert my rpi 4 into an access point. I followed all the steps except installing node, Go and resizing the image. After entering the credentials to my wifi in the ...
Aayush Lakkad's user avatar
1 vote
1 answer
2k views

Setting up Raspberry Pi 4B as a routed access point

Setting up Raspberry Pi 4B as a routed access point Hi guys I want to set up my Raspberry Pi 4B as a routed access point. Many IoT-devices in the subnetwork 192.168.7.x should connect to my RasPi over ...
glades's user avatar
  • 165
2 votes
2 answers
3k views

Raspberry Pi w/Buster dynamic AP and Wi-fi client

I have managed to setup my Raspberry Pi Zero W to work in both AP and Client mode simultaneously using this great guide. Using wpa_cli -iwlan0 (no sudo), I am able to scan, connect and save networks ...
Bassline Soup's user avatar
1 vote
0 answers
333 views

Stop wifi beacon when idle

I have just bought a Raspberry Pi 4 and would like to use it as a wifi access point (for information, I will probably install Gentoo with hostapd in it). I would like this access point to be in “...
Stéphane Veyret's user avatar
0 votes
2 answers
508 views

Creating an AP with hostapd and a Wi-Fi backend

The problem: I am trying to create an AP on a Raspberry Pi 3B (want to later try on a Zero W, too) running buster. I also want to have Internet connectivity to the Pi using my Wi-Fi. I have studied ...
Chiwda's user avatar
  • 171
2 votes
1 answer
20k views

Can't start hostAPD. Job for hostapd.service failed because the control process exited with error code

Problem I am using raspberry 3B. I want to make it as a wireless router. I added TP-Link TL-WN725N as an extra wireless device which uses wlan1 as interface name. The device works flawlessly as a ...
Jastria Rahmat's user avatar
4 votes
3 answers
5k views

Rpi4 with Buster wpa_supplicant fails to connect to hostapd network hosted on Ubuntu laptop

I am attempting to connect a Rpi4 to an AP running on my laptop, but it won't connect. I don't see any obvious problems (to me) in wpa_supplicant or other config files. I have run wpa_supplicant in ...
Joey Dodson's user avatar
3 votes
1 answer
660 views

Hosted based wifi hotspot works, but BSSID keeps changing - rPi 4, Raspian

Admittedly, I'm torn between posting this in SuperUser or ServerFault, so opinions of where this should go are welcome. I have a hotspot set up on my Raspberry Pi 4, running Raspian. I used hostapd ...
FreelancerJ's user avatar
1 vote
1 answer
70 views

How to disable standalone network configuration in raspberry pi?

I have set my raspberry pi as a standalone network using this post. Now I want to get back to my previous normal network configuration so that I can connect to the available Wifi networks. How can I ...
Sagar Singh Bhandari's user avatar
1 vote
1 answer
461 views

Raspberry Pi as both AP and Client, with SSH support? (Two adapters)

Today I set up my Raspberry Pi with dnsmasq and hostapd so it's built-in wireless interface would always be used as an access point (AP), so I could connect to it with my phone and SSH/VNC into it ...
Leo Takacs's user avatar
0 votes
0 answers
38 views

Cannot manage wlan0 from desktop

Good day all Pi folks! I have a Pi 3A (buster) which has the onboard Wifi (wlan1) configured as an access point. I installed a second Wifi USB TL-WN725N which comes up as wlan0 and is the outside nat'...
keith bradley's user avatar
3 votes
1 answer
8k views

hostapd problems while setting up Pi 4 as Access Point

First of all i want to say that i'm new to all of this, so please dont hate me if the answer to my problem seemed obvious to you. I just tried to follow this tutorial to set up my Pi 4 as an Access ...
Broken Lumber's user avatar