Skip to main content
12 votes

Namespace management with ip netns (iproute2)

You have two questions in one: what are the empty files in /var/run/netns/? how to use /etc/netns/ which doesn't even exist? What are the empty files in /var/run/netns/? Some understanding of ...
A.B's user avatar
  • 37.1k
8 votes

Hostapd error nl80211: Could not configure driver mode

I had the same issue on my raspberry-PI. I could not find any proper solution but I did come up with a slightly dirty way to solve the issue: slightly modified solution from "adrianTNT" here on Ask ...
meydlo's user avatar
  • 81
6 votes

Enabling AP mode for Intel AX-200 WLAN adapters on 5GHz band

Intel driver does not support AP on 5GHz band at all for reasons unknown to me. Trying to launch it is just a waste of time (at the moment of writing), so if you've ended here via google search - just ...
Etki's user avatar
  • 211
5 votes

Hostapd error nl80211: Could not configure driver mode

This message appear also if hostapd is still running for some reason in the background. So try sudo killall hostapd.
user230710's user avatar
5 votes
Accepted

Making hostapd work with systemd-networkd using a bridge

You were close and I was in the same situation. After years of fiddling, I finally figured out the right configuration. systemd-networkd configuration For your systemd-networkd configuration in /etc/...
Kolargol00's user avatar
5 votes
Accepted

hostapd on two interfaces (two configuration files)

You were almost there at the end of the question. %i is used for instanced services. Here's an excerpt of the role of instances described in the systemd.unit(5): Unit files can be parameterized by a ...
A.B's user avatar
  • 37.1k
4 votes

Finding capabilities of wifi driver/device?

I think you can find the answer to your question in the Arch Linux wiki here: https://wiki.archlinux.org/index.php/software_access_point This is the relevant section copied from the Arch Linux wiki: ...
Tomáš Pospíšek's user avatar
4 votes
Accepted

Cant Start Hostapd because multiple Errors

Your system is using systemd. In some distributions, I've noticed that using the legacy service wrapper can hide some error messages that would be visible using the systemd-native systemctl command. ...
telcoM's user avatar
  • 99.4k
4 votes

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

The point is, it is creating an wireless adhoc access point because you are asking it to create an adhoc access point. You need to create an AP in BSS (infrastructure mode) with hostapd. see: ...
Rui F Ribeiro's user avatar
3 votes

How can I find the name of the hotspot connected devices from command line?

Quick reminder of the layers involved: LAN and WLAN communicate using MAC addresses (OSI level 2). The ARP protocol tells you which MAC address belongs to which IP address (OSI level 3). Names of ...
dirkt's user avatar
  • 32.5k
3 votes

How to execute hostapd command in cli?

Make sure your hostapd.conf file includes: ctrl_interface=/var/run/hostapd ctrl_interface_group=0
Jon Red's user avatar
  • 176
3 votes

Captive portal detection, popup implementation?

To make a captive portal appear, you need to stop all internet traffic and provide a 302 redirect to the client's browser. To do this, you need to have a firewall (like iptables) redirect all traffic ...
AWippler's user avatar
  • 143
3 votes

Enabling AP mode for Intel AX-200 WLAN adapters on 5GHz band

It would be better for determining the exact issue if you could post the output of iw reg get. With that said, as I have had worked through a very similar issue on my AX200 (and later AX210 as well), ...
Fishy's user avatar
  • 76
3 votes

How to connect WIFI AP (hostapd) without passphase in Linux?

The fact that you are seeing udhcpd responding to requests indicates the cellphone had already successfully connected to your AP's wireless network: making a DHCP request over WiFi is impossible ...
telcoM's user avatar
  • 99.4k
2 votes

hostapd will not start via "service" -- but will start directly

Adding 10 seconds sleep in file /etc/init.d/hostapd fixed the problem for me. 1) sudo nano /etc/init.d/hostapd 2) Add the sleep in start) section like below case "$1" in start) ...
junaid's user avatar
  • 21
2 votes
Accepted

Freeradius doesn't see its WAP-Client

I recommend your localhost entry in your /etc/freeradius/clients.conf to be: client localhost { ipaddr = 127.0.0.1 secret = secret require_message_authenticator = no nas_type ...
Rui F Ribeiro's user avatar
2 votes

starting hostapd fails -- ACS: Unable to collect survey data

FWIW I'm currently troubleshooting what I believe is a similar problem. I am using the built-in wireless interface on a RPi4 (2GB RAM) with hostapd + dnsmasq. It seems to work fine when I specify a ...
jacobq's user avatar
  • 213
2 votes

IEEE 802.11AC 8x8 MU-MIMO with multiple NICs

MIMO works by using the signal from all antennas at the same to do some "magic" signal processing that allows you to differentiate between stations from different directions (to phrase the underlying ...
dirkt's user avatar
  • 32.5k
2 votes

hostapd: Failed to set channel (freq=2417): -16 (Device or resource busy)

Solution one: You could try sudo rfkill unblock wlan and repeat sudo hostapd /etc/hostapd/hostapd.conf as proposed here and tested on my raspberry pi, where I received the same error message as ...
oh.dae.su's user avatar
  • 303
2 votes
Accepted

Is it possible to pipe config file to hostapd?

The | operator connects the STDOUT from one command to the STDIN of the next command. This will only work with downstream commands that take STDIN as an input. hostapd doesn't appear to have a ...
Dancrumb's user avatar
  • 630
2 votes

NetworkManager Hotspot vs. HostAPD

I've been googling for a while about hotspot and finally asked me the same question. I believe the answer is essentially that NetworkManager is a new feature, that shall now be used by all Ubuntu ...
matthias2t's user avatar
2 votes

Getting hostapd and dnsmasq working together

It was my firewall!!! Big thanks to this board: https://community.ui.com/questions/SOLVED-Dnsmasq-No-DHCP-offer/b065563b-a736-4c2f-81c2-e11a1ec70317 The fire wall commands for ufw are here: https://...
CarterKF's user avatar
2 votes

Why can't hostapd service start AP configured in the 5 GHz band using Intel AX200 based adapter?

i checked the list and Intel® Wi-Fi 6 AX200 160MHz shows: AP mode on 2.4GHz (on devices driven by iwlmvm) https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
D'Arcy Nader's user avatar
  • 1,888
2 votes
Accepted

Why can't hostapd service start AP configured in the 5 GHz band using Intel AX200 based adapter?

To my surprise, the solution was installing the network-manager package. No additional configuration was required, not even setting the wireless interface as managed by NetworkManager. I replicated ...
pahanela's user avatar
2 votes

How to filter ARP-Requests with Nftables using a Raspberry Pi as AP (using hostapd)

As some in the comments suggested, the key was the option ap_isolate in hostapd.conf. It didn´t work before because of missing support from the driver of the BCM43455 chip which is the built-in NIC of ...
hopelessStudent's user avatar
2 votes

How to change the regulatory domains on two Atheros wifi cards?

Long story short: you can't! A card will never allow you to pick a location that has more rights than it's currently programmed to grant; that's a requirement of these regulations. (And these ...
Marcus Müller's user avatar
1 vote
Accepted

SSID of hostapd is not visible

iwconfig shows no evidences it is handling that wifi chipset as an ac capable one (either it is not supported, wrong configurations or the driver/hardware does not support the ac protocol). It is only ...
Rui F Ribeiro's user avatar
1 vote

How to determine what hardware is associated with what network interface

The device names are "unstable" since the numbers are assigned on boot based on whichever device answers first during enumeration. As you observed, depending on the hardware set-up, this may be random....
Hermann's user avatar
  • 6,207
1 vote
Accepted

Setting up Dnsmaq to serve DHCP addresses to Hostapd Hotspot

Your wlan0 interface network mask is wrong. -->>> 192.168.207.1/32 A /32 network mask has 32 bits, 255.255.255.255 which is the whole IP address. You probably meant 192.168.207.0/24 e.g. 255....
Rui F Ribeiro's user avatar
1 vote

Hostapd SSID disappears after some seconds

By adding or modifying these params in /etc/hostapd/hostapd.conf solved the issue for me: channel=6 ieee80211n=1 wmm_enabled=1
laplasz's user avatar
  • 537

Only top scored, non community-wiki answers of a minimum length are eligible