Questions tagged [hostapd]

For questions on the creation and administration of wireless access points and networks using the user-space daemon hostapd.

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

hostapd-wpe for Windows 10

I would like to implement hostapd-wpe according to this patch, but it looks like Windows 10 uses MD5 certificates, so I changed default_md entry from sha1 to md5 in the ca.cnf, server.cnf, and client....
0
votes
0answers
11 views

I Can't create an accesspoint (AP-DISABLED)

enter image description here I tried to change hostapd.conf but still doesn't work
0
votes
0answers
7 views

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

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

Start hostapd service via python script with choice and authentication

I tried to start the hostapd service automatically via a python script, but I don't want to have to select choice 1 and after that to give my password. I want it to be done automatically. Screenshot ...
0
votes
0answers
40 views

Why is it that when I bridge eth0 wlan0 connections to create an access point, the system no longer has an internet connection?

I see there is a similar question but there are no answers on it. So I'm re-posting this question with more context. I followed these instructions https://thepi.io/how-to-use-your-raspberry-pi-as-a-...
0
votes
1answer
35 views

Hostapd - detect and execute command when a device is connected - error

I am trying to execute a command on hostapd when there is a new connection established. I used this example: hostapd: execute a command when there is new connection established But when I start the ...
0
votes
1answer
412 views

Raspberry Pi 4 hostapd hotspot not visible

I am trying to create a hotspot with my new Raspberry Pi 4 B. The problem is, when running hostapd with its configuration, no AP (with SSID) appears and I have no idea why. I have been using this ...
0
votes
0answers
32 views

How to create multiple hotspots with hostapd?

I would like to create two hotspots with two SSIDs with hostapd (or, in case it's not directly possible, I can accept alternatives). They must share channel (since I only have one Wi-Fi adapter/...
0
votes
0answers
42 views

hostapd disconnect my clients when browsing (Raspberry Pi)

I'm trying to make my own Wi-Fi network using a Raspberry Pi 3 Model B (connected on Ethernet) and hostapd version 2.8-devel. My config looks like that: interface=wlan0 bridge=br0 hw_mode=g channel=...
0
votes
0answers
49 views

hostapd: Windows 10 Clients Re-Auth loops

I'm troubled by this issue for quite some time now. I researched the internet but I don't see many similar troubles (and the few I saw - didn't have solutions or they didn't work at all). I hope this ...
0
votes
0answers
46 views

How can I set ip addres for wlan adapter using systemd?

I would like to set up my Ubuntu18.04 box for WiFi access point using hostapd. I could succeeded the goal if I manually set up wlan adapter, but I couldn't automatically bring it up when reboot. So I ...
0
votes
0answers
202 views

802.1x setup on CentOS 7

I am currently trying to set up a 802.1x authentication server (FreeRADIUS) and authenticator (hostapd) on the same machine, and am running into some issues. I have the RADIUS server set up along ...
1
vote
0answers
171 views

Hostapd , PI 3 not working , wifi disappeared after 1 to 3 days

I am having issue with my WIFI hotspot setup the in Raspberry PI 3, using hostapd and static Id, and isc-dhcp-server. After 1 to 3 days, other device can not see the wifi network , and checked the ...
0
votes
0answers
226 views

How to operate two hostapd adapters concurrently

I have a computer set up to run a hostapd wireless network on one wireless network card, and to connect to the internet on another wireless network card. This all works as expected. I am trying to ...
0
votes
0answers
124 views

Wireless adapters no longer interfacable

In the process of setting up a server I followed these two tutorials: https://seravo.fi/2014/create-wireless-access-point-hostapd https://community.openhab.org/t/setup-your-own-openhab-cloud-...
0
votes
2answers
33 views

Linux-Create AP that gets internet from client

I'd like to create access point that will take the internet from one of its clients. In other words, is there a way to create a bridge with a client? I know how to create AP and bridge it with ...
0
votes
1answer
93 views

Connecting to a headless machine that is connected to a hotspot connected to my main network

Sorry for the mouthful of a title, hopefully this diagram will make some sense of it; The solution I have right now is to connect my main workstation to the Raspberry Pi network, then connect to the ...
1
vote
0answers
125 views

Embeded Software Linux HOSTAPD Connection Issues

First off I don't know if this the right forum to ask this in. If you know a better one, please let me know and I will post it there, don't just downvote the question... I have an older embedded ...
2
votes
1answer
725 views

How to disable AP isolation in Linux bridge?

Context: I am trying to set up a WiFi hotspot on a Raspberry Pi by bridging my ethernet connection. Question: How do I disable AP isolation or client isolation? Pre-work: Here is what I have done ...
0
votes
0answers
135 views

Client of hostapd could not ping gateway

I have a laptop with Intel 8260 wireless module. And I ran following commands to make it a wireless router. Now the testing client can connect to my SSID, and get a DHCP address, both verified from ...
0
votes
1answer
984 views

Ralink RT5572 based wireless adapter not working in AP mode in 5 GHz band with DFS

Objective: Get a CSL USB 2.0 WLAN adapter work in AP mode in the 5 GHz band, in a Linux-based system (in particular, Ubuntu 16.04.4 LTS, kernel 4.13). The USB adapter is based on a chipset from ...
0
votes
0answers
119 views

dhcp wi-fi server on raspberry with hostapd without dns forwarding

I want to use a raspberry pi as a wi-fi server in the following situation: A laser scanner sensor is connected to it by ethernet, and a service running on the pi should transfer the data to a pair of ...
1
vote
0answers
267 views

Unable to build wireless-regb and crda packages on Debian 9 “Stretch” from sources

Ok, so the problem is, the regulations i get with the stock wireless-regdb for my country are incorect. In fact, it's not even close to the regulations we got. We're allowed to use 13 channel (2472 ...
0
votes
1answer
719 views

How do you setup Raspbian Stretch as wireless-only router with Internet access?

The Situation Raspbian Stretch is wirelessly connected to a private subnet 10.0.0.0/16 via wlan0 (model RT5370). Without further modification, Raspbian Stretch has Internet access and DNS is working. ...
0
votes
0answers
101 views

Unable to ping locally with iptables masquerade wifi repeater

Okay so my network setup is as follows: I have a router that connects to the internet. Said router is 192.168.1.254. My device has 2 wifi adapters. Wlan0 is 192.168.1.99/24 static. (Dhcpcd) Wlan1 is ...
0
votes
2answers
580 views

Record incorrect password/key used to attempt to connect to hostapd network

I've been hosting a WPA2 network with hostapd on my Linux box, and I would like to record the incorrect keys used in failed attempts to connect. If my understanding is correct, the actual password is ...
0
votes
1answer
353 views

Wifi AP to OpenVPN + stunnel gateway on Debian/Ubuntu

I have set up an OpenVPN connection over stunnel4 from my raspberry pi to my public server. The connection works fine, and I can connect using ssh over this connection both ways just fine. I have ...
0
votes
0answers
299 views

Raspberry pi : hostapd driver error

I'm trying to setup an Access Point on my raspberry pi using hostapd, dnsmasq and two tp link wifi dongles (TL-WN722N 2.0) When I start hostapd, I get this error : nl80211: Driver does not support ...
1
vote
2answers
150 views

EAP (Re)authentification every 8:20 hours

I have a network that uses Freeradius and hostapd to authentificate. Every ~ 8:20 hours (30000 sec or 500 min) a connected station disconnects (gets disconnected?) and a new (Re?)authentification ...
2
votes
1answer
2k views

Why is hostapd in IEEE 802.11a (5Ghz) not starting on boot?

I'm having a lot of trouble getting hostapd to create an access point upon system boot when it is configured to run in IEEE 802.11a (5 GHz). Running it manually from the command line or in IEEE 802....
1
vote
0answers
628 views

Setting up hostapd in Fedora 25/26

I am trying to setup a wireless access point on Fedora with Hostapd, because Hostapd has some extra features I need over the default hotspot functionality of the Gnome network manager. I have added ...
4
votes
2answers
10k views

Get all the IP addresses given out by DHCP Server with dnsmasq and hostapd

I have created a systemd service for the hostapd application on Raspbian Jessie Lite. The source code is similar to this GitHub Gist but with IP addresses ranging in the 192.168.50.x/24. Everything ...
1
vote
1answer
211 views

wlan0 to eth0 bridge works but MAC address gets mixed up

I have an access point (hostapd) running on wlan0. wlan0 and eth0 are bridged and eth0 is hooked up to a router. br0 is configured for DHCP and receives an address that is reserved on the router. ...
0
votes
0answers
900 views

wlan0 bridge to eth0 works but eth0 gets no internet

I am attempting to configure a linux box to use the wlan0 interface as an access point using hostapd. eth0 is the only ethernet port that is connected to a router. I am able to connect to the access ...
0
votes
0answers
417 views

Using two USB wifi adapters as one single WAP (wireless access point)

I'm wondering if this is possible or anyone has done this. I'm building a linux router/WAP for my house, I'm not completly sold on the distro yet probably going to use either: openWRT/DD-WRT x86, ...
-1
votes
1answer
2k views

nl80211: Failed to set channel: -22 (Invalid argument)

i am trying to setup a wifi hotspot using hostapd with the following configuration: interface=wlan0 ssid=My_AP hw_mode=g channel=2 auth_algs=1 wmm_enabled=0 ieee80211n=1 and i am getting this error ...
1
vote
0answers
493 views

udhcpd instance reports address already in use

I am attempting to setup a dhcp server, using udhcpd as the dhcp server. Background info: Following a tutorials for configuring a dhcp server (for Raspberry Pi AP's e.g. here and here and here), I ...
0
votes
1answer
3k views

Hostapd giving psk mismatch for fitbit aria scale

I have been trying to get my fitbit aria connected to an orange pi (think raspberry pi). I have got clients connected using this config, however the fitbit aria gives me a AP-STA-POSSIBLE-PSK-...
0
votes
1answer
802 views

systemd run script before network up

I am setting up an old laptop as a wireless router/extender and I need to split the network interface before hostapd starts and before netctl runs # iw dev wlan0 interface add wlan0_sta type managed ...
1
vote
1answer
6k views

How can I make hostapd WPA2 work?

I'm trying to create a simple WPA2 WiFi access point so that I can use WiFi more reliably when I'm far away from the router. I'm following this guide except I'm using a custom version of hostapd that ...
1
vote
1answer
174 views

Get PSK of incorrect WPA-PSK attempts

I was using hostapd to create an AP. I have some knowledge of C++. I was wondering if I can use hostapd to get the incorrect PSK entered by the client, or get that information from anywhere else. If ...
0
votes
1answer
377 views

Debian hostapd internet ip routing

I am now working on pine64 with debian8 installed. I am trying to set up a hotspot with hostapd and i want to share the network of wlan0 with wlan2 which is the hotspot. Now i have set up a hotspot(...
3
votes
2answers
3k views

hostapd: execute a command when there is new connection established

I need to start an arbitrary daemon when at least one WiFi network connection exists (from clients). And stop an arbitrary daemon when there is no more connections to this AP. How to do it efficiently?...
1
vote
0answers
58 views

IEEE 802.11:deauthicated due to local deauth request Respberry pi 2 jessie

I am trying to make hotspot using Raspberry Pi 2. I have followed a video tutorial in which I have completed all steps successfully. I use TL-WN722N router. Actually I'm facing an issue is that when ...
4
votes
2answers
13k views

“iw” and some of its commands do not return any output

I've been trying to set up my ARM based computer so that it becomes a hotspot and a client at the same time. However all of the information I've found about such functionality mention the iw command ...
1
vote
0answers
496 views

Raspberry Pi iptables not working without active eth0

I just work on a AcessPoint, hosted from my Raspberry Pi B+. When a cable is plugged in on the eth0 adapter it all works fine. If someone connect to my AP, they will be redirected to the webserver, ...
0
votes
0answers
706 views

hostapd client associates, does not receive IP address

I'm trying to set up my raspberry pi to use a realtek 8192eu wireless card but without much luck. I have compiled hostapd and the 8192eu driver. The bridge is set up using /etc/network/interfaces; the ...
1
vote
0answers
306 views

802.11N in TP-LINK TL-WN722N

I'm using usb dongle TL-WN722N as Acess Point on my Raspberry Pi B 2. It works as AP but I can't get 802.11N speeds to work. My max Bit Rates is 65 Mb/s. Is this correct? sudo iw list: Wiphy phy0 ...
4
votes
2answers
3k views

Hostapd - bridge lan + wireless

I'm trying to setup a LAN network on enp1s0 (other computers should be able to connect via this interface to the network) and wlp0s20u1 (wireless access point). There is also a othet interface that is ...
1
vote
0answers
657 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 ...