Questions tagged [hostapd]

User space daemon for access point and authentication servers.

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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 ...
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' ...
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....
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 ...
4
votes
0answers
566 views

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 ...
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 ...
3
votes
0answers
2k views

Show a web page, once connected to an open wifi hotspot

I'm trying to create a wifi hotspot without encryption on my Raspberry Pi 3, by using Hostapd. How can I show a window with my own web page every time someone connects to it? I think the closest ...
3
votes
0answers
4k views

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 ...
3
votes
0answers
156 views

Configuring a Linux Wi-Fi access point to redirect a one-word URL to http://192.168.42.1:8888

I've created a Wi-Fi access point on a Linux box (thanks to hostapd). I'm trying to make it easy for clients to access the Freenet service that's running on said box. Ideally, the user would be able ...
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
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
292 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
0answers
2k views

Determine signal quality or signal strength through hostapd or iw

I would need to retrieve the signal strength through hostapd or iw of my Access Point (AP) device which I am using with Linux. I don't know how to do so through hostapd because the dump_file has been ...
2
votes
0answers
61 views

Hostapd Daemon for two Wireless Adaptors on same board

I am working on a wireless Adaptor APIs using C++. I want to set two APs (two wireless adaptors on same board) configuration by running two different hostapd daemon using two different hostapd.conf ...
2
votes
1answer
950 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)....
2
votes
0answers
585 views

Privoxy - Annoying Error Used IPTables

I'm running privoxy off a machine that also has hostapd installed, I am trying to run all http traffic from hostapd through privoxy i have already tried this: iptables -t nat -A PREROUTING -p tcp --...
2
votes
0answers
430 views

Getting to work Hostapd with RTL8192CU chipset on IPFire

I've got IP Fire set up on my RPi and despite the RTL8192CU chipset working with a bit of tweaking from a guide I found, it doesn't seem to work with hostapd on IPFire. The TP-Link USB dongle flashes ...
2
votes
0answers
784 views

Maximum clients with USB hotspot

I made a small access point using Hostapd, Dnsmasq and Debian Wheezy. I'm using an USB dongle, how could I know the maximum number of clients allowed? Can I change it? How can I manage (disconnect, ...
1
vote
0answers
13 views

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

We have some (embedded) systems based on the NXP i.MX6Q boards. Some are equipped with Intel WiFi modules and some are equipped with modules based on the Atheros AR9285 chipset. We have for a while ...
1
vote
0answers
232 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 ...
1
vote
0answers
24 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 ...
1
vote
0answers
501 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
0answers
674 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=...
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....
1
vote
0answers
188 views

How to enable client isolation in wpa_supplicant?

Is that possible to enable client isolation in wpa_supplicant when it's used as AP? There is a configuration in hostapd called ap_isolate=1 . Is there a similar option in wpa_supplicant? thanks
1
vote
0answers
71 views

Force/Suggest the client to use one specific EAP method

I would like to suggest to the client which one EAP method and inner authentication to use. I'm using hostapd to create the AP. I've tried by removing some methods in the hostapd.eap_user but I ...
1
vote
1answer
536 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 ...
1
vote
0answers
111 views

How to change EAP method in hostapd?

I've seen that hostapd support a lot of EAP methods. But it's not clear to me how I can switch to one of these methods. I've checked in the .conf file but I honestly don't know which parameter I ...
1
vote
0answers
115 views

Share socks5 connection to a 2nd NIC system wide

I'm trying to accomplish the following: I have a server with two NICs. One is wireless (wlan0) made as an access point (using hostapd) and the other one (eth0) is connected to a network that doesn't ...
1
vote
0answers
264 views

Hostapd - no internet on server

I have setup local "hotspot" on my machine running Debian Jessie. I followed some instructions after which neither of tutorials worked for me. In the end I discovered I had a whitespace (I think) in ...
1
vote
0answers
404 views

Howto configure linux router to allow clients to use maximum bandwidth?

The problem is that I'm always limited on the final client machine to about 1/3 (one third,about 200/300kb) of the internet hotspot bandwidth when testing download speed with wget. I have configured ...
1
vote
1answer
61 views

How to Connect Different WiFi interfaces : 1 for external 1 for internal

I've built a Wireless Access point using hostapd and udhcpd. I have 2 WiFi dongles, one is used as wlan0 other is used as wlan1, I connected one of them to internet and other is keeping working as an ...
1
vote
0answers
815 views

When connecting my WiFi, how to open browser automatically?

I made my Linux computer providing WiFi access. This is only to browse its local website. As one does for a captive portal, I want to force the browser to display and direct to my homepage : - you ...
1
vote
0answers
351 views

ath0 wi-fi connection breaks

Can't hold wi-fi connection in hostapd mode. Sometimes it's good, sometimes not, yesterday all day wi-fi works, today no chance even to connect. % more /etc/rc.conf wlans_ath0="wlan0" ...
1
vote
1answer
495 views

How to broadcast two access points?

How do I broadcast two access points with two WiFi cards with hostapd? Most tutorials don't work since udhcpd doesn't work with two access points. Example tutorial: http://elinux.org/RPI-Wireless-...
1
vote
0answers
47 views

Why do I get “authentication” errors on this “Open” configuration?

I have the following ifcfg-wlan0 file: DEVICE=wlan0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.5.1 NETMASK=255.255.255.0 NETWORK=192.168.5.0 NAME=wlan0 USERCTL=no the following dhcpd.conf file: ...
0
votes
1answer
18 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 ...
0
votes
0answers
190 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
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
69 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 &...
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 ...
0
votes
0answers
133 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 ...
0
votes
0answers
92 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 ...
0
votes
0answers
678 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 ...
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. ...
0
votes
1answer
485 views

Starting hostapd with script, interference from dhcpd

I'm trying to write a script that starts hostapd when called on raspbian, but I don't manage to get rid of the dhcp client process: start-hostapd.sh echo 'stopping wpa supplicant' systemctl stop ...
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
0answers
810 views

Ip Forwarding: wlan0 <=> eth0: without NetworkManager?

I enabled ip-forwarding between my interfaces wlan0 and eth0 : in /etc/sysctl.conf sh "echo 1 > proc/etc..." 3 iptables rules. IpTables rules: sudo iptables -t nat -A POSTROUTING -o eth0 -j ...
0
votes
1answer
723 views

Linux Mint, is there a captive-portal software for?

Does Linux Mint 17+ has a software for doing captive portal? Amongst the provided list here, it seems none is mint-compatible.