Questions tagged [hostapd]

User space daemon for access point and authentication servers.

129 questions
21
votes
8 answers

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 understand, this uses the configuration in…
gnychis
  • 311
  • 1
  • 2
  • 5
14
votes
2 answers

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 hostapd is running and its interface is up. This…
treegor
  • 141
  • 6
11
votes
1 answer

"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' generic netlink not found nl80211 driver…
10
votes
2 answers

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.conf ACS: Automatic channel selection started,…
Philippos
  • 13,237
  • 2
  • 37
  • 76
8
votes
1 answer

hostapd multiple SSIDs with one BSSID

I have a wl12xx wifi adapter that unfortunately does not seem to support creating multiple access points. If I run iw list it outputs this line: interface combinations are not supported If I run hostapd with multiple SSIDs set up if sometimes…
Timmmm
  • 527
  • 5
  • 15
7
votes
2 answers

Hostapd error nl80211: Could not configure driver mode

Hostapd keeps giving me this error: nl80211: Could not configure driver mode nl80211 driver initialization failed. hostapd_free_hapd_data: Interface wlan0 wasn't started I'm on Debian 8. I googled for hours and can't find a fix that works…
donny
  • 71
  • 1
  • 1
  • 3
7
votes
2 answers

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.conf Configuration file: /etc/hostapd.conf nl80211:…
dorien
  • 333
  • 2
  • 5
  • 12
6
votes
2 answers

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 ethernet ports and the wireless board to create on…
DKebler
  • 272
  • 4
  • 11
6
votes
4 answers

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 "Getting IP-Address" for a very long time, and then…
msrd0
  • 490
  • 2
  • 8
  • 22
5
votes
4 answers

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 shows such feat. Here are the details: Intel…
VRS
  • 53
  • 1
  • 1
  • 5
5
votes
2 answers

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 some seconds. Then the SSID simply disappears. The…
Guerlando OCs
  • 109
  • 4
  • 19
5
votes
2 answers

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 reachable; if not: client OS states it is captive, and…
ArchiT3K
  • 576
  • 1
  • 8
  • 34
4
votes
2 answers

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 automatically? This works fine: # hostapd -dd…
Richard Barraclough
  • 405
  • 1
  • 5
  • 22
4
votes
1 answer

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 works fine (DHCP/DNS/routing/etc) for an…
4
votes
1 answer

HOSTAPD fails without stopping and drops clients

I am not the strongest Linux admin. I just thought I would throw that out there. I have a Linux wireless access point with HOSTAPD and DNSMASQ. I have been working on this for quite some time and I have resolved some issues but the primary problem…
Goff
  • 261
  • 1
  • 2
  • 7
1
2 3
8 9