Questions tagged [hostapd]

User space daemon for access point and authentication servers.

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

Hostapd and nl80211

I have some troubles with hostapd and nl80211, when I try to launch hostapd, this is what I got : # /etc/init.d/hostapd start Starting HOSTAP Daemon: Configuration file: /etc/hostapd.conf nl80211: ...
0
votes
1answer
17 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 ...
12
votes
2answers
1k views

AP randomly gets unreachable for the clients while hostapd is running

I set up an old PC as a router using Debian Wheezy, hostapd, dhcpd etc. It has 3 NICs and 1 WiFi PCI card (TP-Link L-WN751ND). The problem is that AP randomly gets unreachable for the clients while ...
1
vote
0answers
209 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 ...
5
votes
1answer
3k views

starting hostapd fails — ACS: Unable to collect survey data

I'm on a jessie on an embedded device, trying to set the WLAN into AP mode. When I try # /usr/sbin/hostapd -P /run/hostapd.wlan0.pid /etc/hostapd/hostapd.conf Configuration file: /etc/hostapd/hostapd....
3
votes
2answers
2k views

Hostapd SSID disappears after some seconds

I'm using hostapd to share another wifi connection through my raspberry pi zero w bult in wifi card. After the raspberry pi boot I can see my SSID in my phone and even connect to it and use it for ...
9
votes
1answer
5k views

“nl80211: 'nl80211' generic netlink not found” when starting hostapd

I have been trying to get my Ubuntu 11.10 laptop to make an access point to connect my blackberry playbook . hostapd gave error Configuration file: ./hostapd-minimal.conf nl80211: 'nl80211' ...
0
votes
1answer
1k views

Debian WiFi crash problem

Sorry for my bad english. On a distribution debian wheezy I configured a router AP. I set up a bridge between a VLAN eth0.102 and wlan wlan0. For configuring WiFi I installed the drivers for the ...
2
votes
1answer
2k views

Hostapd on a Raspberry Pi 3 with external WiFi card

I am trying to set an AP on a Raspberry Pi 3 using an external USB WiFi card and hostapd and dsnmasq. I have managed to achieve it using the internal WiFi card but when I try to switch to my external ...
2
votes
1answer
949 views

Hostapd captive portal detection on Android

I already looked at all related questions, and also at the Chromium project. I have a working hostapd access point, and a working Captive Portal (works perfectly on ios and mac osx, windows and linux)....
1
vote
1answer
35 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 ...
0
votes
0answers
183 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 ...
0
votes
1answer
74 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:...
0
votes
2answers
15k views

Cant Start Hostapd because multiple Errors

I have multiple errors while trying to start Hostapd I will post the errors output which i got after i tried to start it and looked at the status: root@l0calh0st:~# service hostapd status ● ...
0
votes
0answers
19 views

IP tables for wifi to wifi forwarding

Here is the setup: Pc <------> Linux Machine <-------> Router wifi (debian) wifi The linux machine is connected to the router via wpasupplicant and has hostapd and dnsmask ...
0
votes
0answers
68 views

Hostapd with DNS rerouting

I have an old Mac Mini running Debian Stretch where I have bridged the wifi interface to the ethernet interface like so (/etc/network/interfaces): source /etc/network/interfaces.d/* # The loopback &...
1
vote
0answers
21 views

How to control the Bit Rate (mbps) of Raspberry Pi Access Point

I have two "Raspberry Pi 3 B+" boards which are required to be connected. One Raspberry Pi is configured as Access Point (AP) and the other one is just a Client. When both are connected, I write the ...
0
votes
0answers
184 views

Hostapd hotspot not running

I installed and set-up hotspot using hostapd. # /etc/init.d/hostapd start [ ok ] Starting hostapd (via systemctl): hostapd.service. But when I try to connect my phone to the hotspot, it does not ...
2
votes
1answer
1k views

Hostapd doesn't work for one of my device

I'm trying to set up my Raspberry Pi Compute Module 3+ as an access point with an access point with a WiFi dongle. I'm following this tutorial : https://elinux.org/RPI-Wireless-Hotspot. I can set up ...
6
votes
2answers
24k views

Setting up hostapd with a iwlwifi device to run a hotspot

I am trying to configure my opensuse 13.1 system to function as a hotspot (on my dell xps13 computer). So I tried setting up hostapd as explained here, but I get an error: hostapd /etc/hostapd....
0
votes
0answers
130 views

ARP requests sent from wrong interface on Hostapd managed access point

I am trying to setup a wireless access point, managed by Hostapd and with dynamic VLAN support. The VLANs are managed dynamically by a FreeRadius server that I use for 802.X authentication. I am ...
2
votes
1answer
2k views

hostapd: Failed to set channel (freq=2417): -16 (Device or resource busy)

I'm trying to set up a WiFi Access Point on my Raspberry Pi. I set up the network interface to a static IP and installed hostapd. I'm using this config: # Interface and Driver interface=wlan0 #...
2
votes
0answers
47 views

WIFI Hostapd router serves only several internet sites

I have built a server on Debian Stretch. It has three ethernet cards and one wifi card Gemtek WPIA-116G. When a cable is connected it works well. But without the cable, by wifi, a client computer ...
2
votes
1answer
286 views

Debian network disappearing

I'm running Debian v8 (systemd purged and systemV installed ... works fine). It is a clean installation (Debian v7 used to be on this machine) The harddrives failed after numerous power failures on 1 ...
4
votes
2answers
7k views

Captive portal detection, popup implementation?

Based on hostapd, I am building a captive portal. My Linux Machine provides Wifi access. iPad's and Android clients-tablets connect to this Wifi. Generally, any client OS checks if a URL is ...
0
votes
0answers
91 views

Limited throughput of traffic originating from wireless access point

Introduction: In an effort to avoid purchasing extraneous hardware, I've managed to configure my media center PC as a wireless access point using hostapd in bridge mode. This works, but I'm ...
1
vote
1answer
530 views

Change default EAP type in hostapd

I'm trying to change the default EAP type in hostapd but I am not able to understand how to do that. Here's what I've found reading the hostapd.conf file: # NAI Realm information # One or more realm ...
2
votes
1answer
1k views

SSID of hostapd is not visible

I'm working on Ubuntu 18.04. ifconfig enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether 94:c6:91:1f:49:92 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B)...
0
votes
1answer
77 views

How to determine what hardware is associated with what network interface

I have an inbuilt network card and a Wi-Fi dongle. I use wpa_supplicant, hostapd and the likes to operate them. The trouble is that sometimes the dongle is wlan0, and sometimes it is wlan1 (...
1
vote
2answers
52 views

Using Linux machine to wirelessly connect to printer's browser interface

I'm trying to use a raspberry pi (that factor shouldn't make it any different than any other linux box, but may make the application make a bit more sense) to remotely view a website. For example, if ...
1
vote
0answers
498 views

multicast_to_unicast with hostapd on RPi

I'm trying to use hostapd's multicast_to_unicast feature. The AP is working fine, but I get this error: nl80211: multicast to unicast not supported on interface wlan0 I'm on Raspbian with next ...
1
vote
1answer
871 views

Setting up Dnsmaq to serve DHCP addresses to Hostapd Hotspot

I am trying to setup dnsmasq to act as DHCP server for a hostapd-based WiFi hotspot. When client connects WAP2 negotiation succeeds, but dnsmasq consistently outputs the following errors. [ 2081....
1
vote
1answer
1k views

Namespace management with ip netns (iproute2)

I would like to know where to look up changes applied to custom namespaces. Let's say I have a namespace "ns1" with virtual interfaces "vpeer" and "lo" inside and I would like to modify configurations ...
1
vote
2answers
655 views

IEEE 802.11AC 8x8 MU-MIMO with multiple NICs [closed]

Is it possible to use multiple WiFi cards to create a 8x8 MU-MIMO access point with example HostAPD. The reason for why I'm asking, is because I can only find PCI-E WiFi card that support up-to 4x4, ...
3
votes
2answers
4k views

udhcpd.service started, but udhcpd process not running

I did setup hostapd and udhcpd for my wlan0. After startup, the hostapd is running and I see the ssid with another device, but I don't receive a dhcp address. Well, I can't, because the udhcpd is not ...
0
votes
0answers
672 views

TL-WN822N wifi not establishing AP mode in armv7l

I'm using odroid-xu4 with dietpi OS. I wished to use TL-WN822N wifi device as a hotspot. So I installed a driver of rtl8192eu by using this https://github.com/Mange/rtl8192eu-linux-driver It ...
19
votes
8answers
100k views

hostapd will not start via “service” — but will start directly

I am having trouble getting hostapd to start as a service. It fails when I try to start it: $ sudo service hostapd start [FAIL] Starting advanced IEEE 802.11 management: hostapd failed! From what I ...
1
vote
1answer
696 views

How can I get hostapd_cli to work under sudo on debian stretch?

I have a bash script that runs hostapd_cli all_sta and the script executes successfully from the command line under both jessie and stretch. The script also works when run under sudo on jessie but ...
0
votes
0answers
99 views

Interactive control of which stations are allowed to connect to hostapd softAP

Setup: I have two devices working in IEEE802.11 infrastructure mode. I have the station using wpa_supplicant to establish connections and the access point on the other device provided via hostapd. ...
1
vote
2answers
413 views

Is it possible to pipe config file to hostapd?

I use for some testing Raspberry Pis (Stretch) working as WiFi access points. Because i want to work with one global config file on many RPis i split hostapd.conf in 2 parts: hostapd.conf.global - ...
3
votes
1answer
2k views

Finding capabilities of wifi driver/device?

I'm running hostapd, configured by this project, to create an AP (access point) on an embedded device. I've also tested on a few laptops. With my laptop, wifi stays connected and a new interface ...
1
vote
2answers
748 views

Forward ports over hostapd?

I'm running this project for creating access points which is built on top of hostapd. Running this works as expected, my ethernet connection is available as wifi: sudo create_ap wlan0 eth0 wifiname ...
1
vote
0answers
669 views

Unable to start hostapd with Alfa card (Atheros) on Raspbian Lite

I'm trying to run hostapd on my RaspberryPi to set up an AP. I'm using an Alfa card that supports AP mode. The hostapd config I'm using is minimal as I'm testing why this doesn't work atm: interface=...
4
votes
0answers
2k views

Making hostapd work with systemd-networkd using a bridge

I have two ethernet ports and one wireless port on a router I am setting up. I am using systemd-networkd. I am renaming the ports first then creating a bridge then am bridging one of the the ...
6
votes
4answers
7k views

hostapd on Debian Linux opens WLAN Hotspot, but I can't connect to it

I have a Debian Wheezy machine with hostapd running. I want it to make a WPA2-PSK secured WLAN Hotspot. I can see the Hotspot from my Android phone, but every time I try to connect to it, it shows "...
2
votes
1answer
288 views

What is the consequence of re-using BSSID values?

hostapd.conf: # hostapd will generate BSSID mask based on the BSSIDs that are # configured. hostapd will verify that dev_addr & MASK == dev_addr. If this is # not the case, the MAC address of the ...
2
votes
1answer
763 views

How can I find the name of the hotspot connected devices from command line?

In my debian machine I have created an hotspot (hostapd) and some devices are connected using Wi-Fi. How can I get the name of the connected devices ex: xyz iphone, apple tv, john pc from the command ...
1
vote
0answers
2k views

Fedora Server as Access point

I following this guide (for Rasbian) to use Fedora server 26 as a access point on the Raspberry Pi 3. I made some changes in the configs to make it work on Fedora. My configs are as follow: hostapd....
0
votes
2answers
2k views

Captive portal [HostApd] detection by the browser?

I'm using hostApd to develop a captive portal. My machine provides à Wifi (password free), and I plan the clients to get a popup saying "hello". You know, like the popup of wifi providers, asking for ...
-1
votes
1answer
2k views

How to execute hostapd command in cli?

I always got error. When i execute hostapd command. I was changed everything in my hostapd.conf file but i got error. hostapd_cli wps_pbc Failed to connect to hostapd - wpa_ctrl_open: No such file or ...