Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hostapd]

User space daemon for access point and authentication servers.

2
votes
1answer
30 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
32 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 (...
2
votes
1answer
203 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 ...
1
vote
1answer
52 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....
0
votes
0answers
32 views

SSID connection failed with 4-way handshake failure

I am using hostapd on Alpinelinux (4.14.69 kernel, Intel(R) Centrino(R) Advanced-N 6205 AGN, REV=0xB0 wireless module). At first, I want to make the wireless device as both AP and station. So I ran ...
0
votes
1answer
193 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
1answer
388 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 ...
0
votes
0answers
185 views

trying to redirect all traffic with iptables but not working

I have a raspberry pi that is set up as an access point. It is NOT connected to the internet. I followed this tutorial until the section about bridging. (I don't have my raspberry pi connected to ...
0
votes
0answers
51 views

How to send only 10kb/sec using ip-tables to clients

I created a hotspot using hostapd,dnsmasq and nodogsplash in my linux.Every thing works fine but i want to send only 10kb/sec to my clients who connects my hospot.How to do it.I dont know much about ...
0
votes
0answers
337 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 ...
1
vote
2answers
240 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, ...
0
votes
1answer
741 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 #...
1
vote
0answers
254 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 ...
0
votes
0answers
53 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
1k views

Cant Start Hostapd because multiple Errors

How i said in the title 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 ...
1
vote
2answers
244 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 - ...
1
vote
0answers
351 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=...
3
votes
1answer
581 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 ...
2
votes
0answers
1k 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 ...
1
vote
2answers
447 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 ...
2
votes
1answer
132 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
377 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
1answer
504 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 ...
1
vote
0answers
1k 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
votes
1answer
98 views

How to handle this warning? [duplicate]

I try to execute this command I got this warning. root@sabresd_6dq:/system/etc/wifi # hostapd_cli hostapd_cli v2.5-devel-6.0.1 Copyright (c) 2004-2015, Jouni Malinen &...
-1
votes
1answer
916 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 ...
1
vote
0answers
121 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
1answer
900 views

How to make Wireless AP accessible (local server) without internet connection?

Using hostapd and dhcpd, I was able to turn my raspberry Pi into a hotspot/router. It works fine, but I want to know how to make it accessible (via wifi) when it's disconnected from the internet. I ...
3
votes
1answer
357 views

How do I create a persistant (ad hoc) access point?

I was able to create an adhoc access point on my debian (raspberry pi) but when searching for wifi it shows the access point as a different symbol (ad hoc) and when I disconnect from it the access ...
1
vote
0answers
55 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
0answers
251 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
101 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 ...
4
votes
2answers
2k 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 ...
3
votes
0answers
915 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 ...
0
votes
2answers
3k views

Hostapd and lighttpd - manually download?

Is there any alternative to command apt-get install *name of package* When I type the same command apt-get install *name of package* from which website that packages are downloaded? Is it possible to ...
4
votes
1answer
1k 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....
2
votes
1answer
2k views

Hostapd nl80211 failed to set interface -19

I am trying to run hostapd on Debian linux. I am using a Realtek rtl8188 usb wifi card, on a Olimex OLinuXino A13 WiFi. However, when I run the command hostapd -dd /etc/hostapd/hostapd.conf I am ...
1
vote
1answer
234 views

Hostapd on raspberrypi nl80211 error

I'm trying to make my raspberry pi (1) run as an access point, I used hostapd and dhcpd but I get this error message "nl80211: Driver does not support authentication/association or connect ...
2
votes
1answer
340 views

Freeradius doesn't see its WAP-Client

I have Freeradius v.3 Server and WAccessPoint (hostapd), both on the same machine (localhost) Ubuntu Server 16.04.1 installed. I tested my connection firstly without freeradius -> I can connect to ...
0
votes
1answer
343 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 ...
1
vote
2answers
44 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 ...
0
votes
1answer
973 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: ...
1
vote
0answers
94 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
1answer
445 views

Which are the “Mode” requirements for a wireless card to work with hostapd?

I need to transform a Linux box to an Access Point via hostapd. I've already tested it with an Atheros AR9485 wireless card, which supports AP Mode and Master Mode, and it works great. ...
3
votes
0answers
3k 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
148 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 ...
1
vote
2answers
226 views

Why can't devices connected to my wlan0 interface communicate with eth0 devices?

I'm trying to set up a Raspberry Pi running Raspbian Jessie with the following configuration: DHCP Server (isc-dhcp-server) WLAN Access Point (hostapd) Application Server (HTTP server on port 80) My ...
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 ...
4
votes
0answers
473 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 ...
1
vote
0answers
191 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 ...