Questions tagged [hostapd]

hostapd is a user space daemon for access point and authentication servers.

Filter by
Sorted by
Tagged with
1 vote
0 answers
86 views

Clients got IP-addresses from DHCP but can't reach Internet

I'm trying to build home router from device with two ethernet ports (enp2s0 and enp3s0) and WiFI (wlo2), based on Ubuntu Server 22. Everything is set, clients can connect via wifi to the router (it's ...
s_spirit's user avatar
1 vote
0 answers
680 views

Ubuntu delayed startup (systemd-networkd-wait-online timeout)

I'm experiencing delayed startup caused directly by systemd-networkd-wait-online timeout (2 minutes). Could you help me diagnose this? Especially how to dig deeper in systemd-networkd-wait-online ...
keldorn's user avatar
  • 83
0 votes
1 answer
351 views

Hostapd access point + isc-dhcp-server disconnects client after 2 seconds of authenticating

I have Ubuntu 22.04 with a Wi-Fi access point Hostapd + isc-dhcp-server and every time I connect a client it automatically disconnects after 2 seconds. Here are the contents of /etc/hostapd/hostapd....
Raúl's user avatar
  • 1
0 votes
1 answer
460 views

How can I force all clients to use Squid Proxy server on hotspot

I have two wifi interfaces, one is inbuilt and another is a USB adapter. As research, I want to use hostapd to start a hotspot and give users IP addresses using dnsmasq. I used nftables following this ...
Lyton_Spurz's user avatar
0 votes
0 answers
3k views

WSL2 (Ubuntu) sudo snap install --classic code not working

I already had vscode installed 2 years ago, but I opened my wsl2 today after like 10 days and code . is giving following error (It was working fine till 10 days ago) Command 'code' not found, did you ...
10may's user avatar
  • 133
1 vote
1 answer
3k views

hostapd.conf missing in /etc/hostapd/

I was following this tutorial to setup my Raspberry Pi4 as wifi extender in a Ubuntu Server 22.04, in the step 8, where the tutorial asks me to adjust hostapd configuration in /etc/hostapd/hostapd....
stormfire's user avatar
0 votes
0 answers
2k views

wpa_supplicant conflicting with hostapd on the same interface

I am trying to make wpa_supplicant and hostapd work simultaneously in order to use a single interface to connect to a wifi network and to generate an access point (that does not provide internet). If ...
firion's user avatar
  • 111
1 vote
1 answer
2k views

Why can't hostapd find my fresh installed r8188eu driver?

I'm running Ubuntu 20.04 on an Raspberry 3B. I want to use an TP-Link TL-WN722N v2 as an Hotspot (I know that its possible because it was already used as an AP on another RPI3B running Raspbian) So I ...
Standard's user avatar
  • 113
0 votes
0 answers
2k views

Failed to set beacon parameters error when creating a Captive portal

I'm trying to create a captive portal on a ubuntu machine with the following network card: Qualcomm Atheros AR9485. But I'm having a problem when I start the hostapd configuration, it gives the error &...
Nuno Rolo's user avatar
0 votes
1 answer
1k views

Ubuntu 20.04 WiFi access point without subnet/DHCP server

I have Mac Mini with Ubuntu 20.04 server installed (so no GUI). And want to use it as a WiFi access point, without NAT/DHCP server (so, given that main Mikrotik router is 192.168.88.1, both Mac Mini ...
Nickolay Olshevsky's user avatar
1 vote
1 answer
2k views

hostapd vs netplan: wlan0 not added to bridge at boot

Like many people, I'm using a Raspberry Pi 4B running Ubuntu 20.10 arm64 as a LAN/wifi bridge, using hostapd and netplan. Everything works fine except that the bridge is not configured correctly when ...
Nate Eldredge's user avatar
0 votes
0 answers
2k views

How to raise performance of hostapd AP?

So I'm using hostapd on Ubuntu Server 20.04 with Intel 3165 Wi-Fi card installed and decent external antennas connected to it. Everything works just as intended except for performance - test shows ...
Denis's user avatar
  • 31
0 votes
1 answer
3k views

Access point with hostapd on ubuntu 20.04 server won't let clients connect

I've got an ubuntu gateway server with 2 network cards, on for the internet and one for the lan. I've just set up the wireless access point on the wireless device using hostapd but the clients fail to ...
Adam's user avatar
  • 1,101
0 votes
1 answer
1k views

How to configure NetPlan as a wired 802.1X Authenticator?

I would like configure a wired Ethernet port to support 802.1X authentication. hostapd supports 802.1X authentication. How do I use hostapd with NetPlan? NetPlan supports the auth section for ...
Duane Murphy's user avatar
2 votes
0 answers
2k views

nl80211: Could not configure driver mode

Configuration file: hostapd.conf nl80211: Could not configure driver mode nl80211: deinit ifname=wlan0mon disabled_11b_rates=0 nl80211 driver initialization failed. wlan0mon: interface state ...
Pratham Attri's user avatar
3 votes
1 answer
6k views

Configure a 5GHz channel for Wireless Access Point with hostapd in 16.04 LTS?

I want to make a WiFi Access Point with Ubuntu 16.04.6 LTS, hostapd and this PCIe WiFi card which supports 802.11a/b/g/n: Network controller: Qualcomm Atheros AR9462 Wireless Network Adapter (rev 01)...
ZioTonio's user avatar
1 vote
2 answers
78 views

Running this bash script ONCE causes a "System program problem detected" on EVERY reboot

I'm trying to create a script which, when run, will set up a WiFi network over which two or more devices can communicate. If I run the current version of this script once, it causes that device to ...
Tom Hosker's user avatar
0 votes
1 answer
632 views

Low EMF Wifi with HostAPd

I have a wireless router with HostAPd running on Ubuntu. Now, with all the discussions about unhealthy EMF (electro-magnetic fields), I would be very interested to know, how I could configure my WiFi ...
user6782547's user avatar
1 vote
0 answers
2k views

Connecting wireless interface to bridge - MAC addressing

I've been playing around with my network settings and tried to use hostapd to create a WiFi hotspot based on the virtual software access point virt1 (10.10.0.1/24). This does work flawlessly using NAT ...
Sean's user avatar
  • 111
3 votes
2 answers
4k views

Define hostapd configuration settings on netplan

I recently discovered that netplan can manage hostapd accesspoints, but this is the extent of the example config: wlp1s0: access-points: "guest": mode: ap # no ...
Oxwivi's user avatar
  • 17.8k
0 votes
0 answers
2k views

WPA2 Enterprise EAP-TLS connect button grayed out

I'm trying to connect to a WPA2 Enterprise wifi that I've setup. I can successfully connect using PEAP using just username and password, but when I try to connect with 802.1x certificates only (EAP-...
Kennet Celeste's user avatar
1 vote
0 answers
346 views

TP-Link Archer T2U adapter not showing AP support in ubuntu 14.04

Kernel version : 4.2.0-27-generic After running command "iw list"on terminal it shows : Supported interface modes: * IBSS * managed * monitor Not showing AP but it supports AP mode.
swapnil chaudhari's user avatar
2 votes
0 answers
4k views

problem with dnsmasq using hostapd

I want first to apologize for my bad English... I'm encountering an error using hostapd and most precisely with dnsmasq: when I edit my /etc/dnsmasq.conf and I refresh it, I have an error message : ...
Bob36180's user avatar
0 votes
2 answers
2k views

How to identify wifi network interfaces?

How can I find a list of wifi interfaces that could be used by hostapd? This doesn't work - I don't see my wifi interfaces listed: ☀ cat /etc/network/interfaces ...
Michael Cole's user avatar
0 votes
0 answers
600 views

How can I find out, if a WiFi card has two radios?

I have a COMPEX WLE900VX-7A miniPCIe module with an Atheros AR9880 inside and would like to check, if I really can do simultaneous dual band. Thanks
user6782547's user avatar
2 votes
0 answers
2k views

hostapd configuration for 802.11ac in intel wifi card ubuntu 14.04

Does anyone have an idea how to make hostapd work with throughput of more than 400 Mbps? The configuration files I am using are shown below but I am unable to run hostapd with them: interface=wlp5s0 ...
geekanil's user avatar
0 votes
0 answers
6k views

wpa_supplicant working on specific channel for 802.11ac

I have QCA6174 802.11ac Wireless Network Adapter in my laptop which runs Ubuntu 16.10 with Linux Kernel Version 4.13. The wireless adapter uses ath10k driver. I am trying to set the laptop to work as ...
IoT's user avatar
  • 113
1 vote
1 answer
10k views

Is there a way to debug wireless access point issues that was setup with hostapd?

I am trying to setup a wireless access point with a home PC. I replaced my old Intel wifi link 5100 with Atheros AR9462. I recently did a fresh Ubuntu Server 16.04 install. To setup wireless access ...
mert's user avatar
  • 61
1 vote
0 answers
848 views

Ubuntu hostapd slow download speed

I have setup a wireless access point on one of my old laptops using hostapd, the laptop in question uses a "Intel Wireless Centrino N-1030" with a rated download speed of 300mbps and a rated upload ...
user265889's user avatar
1 vote
0 answers
915 views

Cant get WDS-enabled AP running on Xenial

I want to set up a WDS-enabled Wifi-AP on Ubuntu Xenial with hostapd. Everytime when a 4addr-enabled client is connecting the wifi driver of the AP is crashing and the device is going down. hostapd....
fpr's user avatar
  • 11
3 votes
2 answers
9k views

Getting Error cannot find -lnl-genl-3, while running make

I am trying to install hostapd in ubuntu 14.04. I am getting the below error while running make. Can somebody help me with this ? mafia@mafia-Inspiron-3542:/usr/src/hostap/hostapd$ sudo make CC ../...
tarun14110's user avatar
1 vote
1 answer
2k views

hostapd problems

I want to use my Ubuntu server as a WLAN Access Point. I configured it with this tutorial: http://www.sempervideo.de/pi-wifi.txt However, it didn't work. Then I ran hostapd /etc/hostapd/hostapd....
totalnoob99's user avatar
0 votes
0 answers
13k views

Setting up an open hotspot (via hostapd) that's filtered by mac address while using UFW and custom DNS via dnsmasq

I'm trying to setup what's called a Homepass for my Nintendo 3DS. This basically requires I have the following in play: Wireless network with no authentication (open) A MAC address cycler (change ...
Ackis's user avatar
  • 308
1 vote
0 answers
1k views

Hostapd failed to initialize in Ubuntu 14.04 LTS version

I am using security conf file but it is not working. My hostapd logs: root@swapnil:/home/swapnil/WPA_SUPPLICANT/NEW/hostapd-2.5_wps/hostapd# ./hostapd hostapd_wpa_wpa2.conf Configuration file: ...
crispbay's user avatar
1 vote
0 answers
554 views

OpenWrt Hostapd compilation issue

I am struggling to compile OpenWrt. I get stuck when trying to compile Hostapd. I am trying to install to build an OS on wireless access points (Brand: Open Mesh). I am using OpenWRT to perform that ...
Lucid's user avatar
  • 11
1 vote
1 answer
2k views

"could not add sta to kernel driver" hostapd - not able to connect more then 10 clients

I am using an nuc with wifi card "intel 3165" with ubuntu 14.04 amd64 server edition and kernel version 4.2.0.27 . I have isc-dhcp-server, dnsmasq, hostapd installed and configured on the system . I ...
Ankit Kulkarni's user avatar
0 votes
3 answers
2k views

hostapd hotspot will only appear when ethernet is plugged in

This has been driving me nuts all day. Im using a fresh Ubuntu 15.10 on an odroid UX4 & Wifi Module 4 (RT5572N chipset) What I want is: automatically start hotspot on boot + ability to hotplug ...
dgorissen's user avatar
  • 113
0 votes
1 answer
1k views

hostapd-wpe not working but wireless adapter supports AP mode?

Sorry if this has been asked already, but I just couldn't find any questions that had solutions which actually worked for me. I've basically downloaded hostapd-wpe, patched it, ran make and ...
user3447014's user avatar
2 votes
1 answer
16k views

Can't connect to hostapd hotspot - Password Loop

I have a Linksys router that I've set to use Mixed B/G Mode, WPA2 Personal, and AES, and I'm trying to replicate that setup on a single-board computer running hostapd so that I can eliminate a box ...
AaronD's user avatar
  • 751
1 vote
1 answer
3k views

Hostap: wlan0 authentication timed out

I have made a PC an Access Point using the following link: https://seravo.fi/2014/create-wireless-access-point-hostapd But whenever I connect to the AP my kernel prints the following error: wlan0: ...
George J. Adams's user avatar
2 votes
2 answers
1k views

Create a hotspot on Ubuntu 15.04 (single adapter) help!

I know there are lots of questions on this type but I cannot find the answer anywhere. On Windows I can use cmd to create a virtual AP and share connection from a local network. However, It seems not ...
Fingertron's user avatar
1 vote
2 answers
4k views

Client isolation in Ubuntu with hostapd

We have created a wifi hotspot or a wireless access point using hostapd in Ubuntu. How can we isolate wifi clients the same way "Client Isolation" does in some access points? Is there any way we can ...
mazkopolo's user avatar
  • 111
1 vote
1 answer
215 views

Working with hostapd

I have installed hostapd in my Ubuntu 14.04 and I am relatively new to this application. In the coming days I will be doing some minor changes in the hostapd codebase and testing it around. This may ...
Pavan's user avatar
  • 11
5 votes
2 answers
28k views

How to bridge a wireless interface with another wireless interface (both on the same computer)?

Ubuntu 14.04 Basically I am trying to accomplish the following setup - wireless internet ---> wlan0 of Ubuntu computer "bridged to" wlan1 of same Ubuntu computer ---> device with wifi The reason ...
sean's user avatar
  • 51
0 votes
1 answer
4k views

Problems with wpa_supplicant and hostapd. Help!

I'm tryng to share my wireless network (wlan0), and I follow this tutorial: https://linuxalfi.wordpress.com/2011/11/08/connectify-for-linux-with-single-wireless-interface/ The problem is: If hostapd ...
Fingertron's user avatar
3 votes
1 answer
2k views

Can't run interface and virtual interface at the same time

So I am trying to create an ad-hoc network between a couple of devices. I also need to run hostapd in order to capture probe request packets. I have a wireless adapter (TL-WN722N) that is capable of ...
Alec Cutler's user avatar
1 vote
1 answer
522 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.
Lucas Thomas's user avatar
0 votes
1 answer
189 views

ap-hotspot hostapd downgraded repo not available

I have followed the various posts regarding hotspot on 14.04 all follow the same steps as this one "Starting Wireless Hotspot..." but nothing happens Which suggests that there is a bug in ...
Mike Miller's user avatar
13 votes
4 answers
57k views

fatal error: netlink/genl/genl.h: No such file or directory

I am cross-compiling hostapd for openwrt. I am getting fatal error: netlink/genl/genl.h: No such file or directory. I already have libnl-3.2.24 installed. If i directly compile (not cross-compile) ...
Rafal's user avatar
  • 233
0 votes
1 answer
2k views

Ubuntu Server 14.04 LTS + HOSTAPD

I am using Ubuntu server 14.04.2 LTS with the latest kernel as well as Hostapd v2.1, and can not make a point of working here logs hostad. Please help solve the problem! administrator@ubuntu-server:/$...
Esmertec's user avatar