Questions tagged [hostapd]
hostapd is a user space daemon for access point and authentication servers.
89
questions
30
votes
6
answers
154k
views
hostapd error "nl80211: Could not configure driver mode"
I would like to make a Virtual Router on Ubuntu 12.04
but i am getting this error message when i run the last terminal command
Configuration file: hostapd.conf
nl80211: Could not configure driver ...
13
votes
4
answers
58k
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) ...
13
votes
3
answers
37k
views
How do I create a non-adhoc wifi hotspot?
I wanted to use my desktop with a wired ethernet connection (eth0) to operate my "TP-LINK TL-WN722N" USB Wifi Adapter (wlan0) as a non-adhoc (infrastructure mode) access point for my Android to ...
12
votes
2
answers
47k
views
Failed to set interface wlan0 into AP mode: Intel centrino N1000 Wireless
I am a new Ubuntu user and have installed Ubuntu 12.04 LTS on my Acer Aspire One D255 netbook with an Intel Centrino N1000 Wireless Card. All I want is to set my netbook as wifi hotspot for my android ...
11
votes
2
answers
8k
views
Hostapd Dropout
I have configured hostapd as an access point following several how-tos using ubuntu 12.04. Everything works well for up to several hours and then at some point hostapd no longer accepts new ...
8
votes
4
answers
52k
views
How fix hostapd invalid/unknown driver 'nl80211' error?
I have Intel Centrino Wireless-N 1000
I installed hostapd from Ubuntu Software Center
When I run this command hostapd hostapd-minimal.conf I get this:
root@tarek-PC:~# hostapd hostapd-minimal.conf
...
6
votes
1
answer
14k
views
libnl1.1-6 /netlink/genl/genl.h no such directory
I'm trying to compile hostapd, and for that it needs the headerfile genl.h which is supposed to be a part of the libnl1 library (I searched around, the best I got was a recommendation to update libnl1....
6
votes
1
answer
26k
views
Getting WiFi AP working with hostapd and isc-dhcp-server [Xubuntu 14.04]
I have tried using ap-hotspot from WebUpd8, and it did not work for me in 13.10 or 14.04, so I have been working on getting hostapd manually set up, using isc-dhcp-server since dnsmasq was having ...
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 ...
5
votes
3
answers
3k
views
How to host an AP or a hotspot?
I'm running Ubuntu 12.04 as a virtual machine on my Mac. Since I am unable to get the virtual machine to have full access to my WiFi card, I bought another USB WiFi card to use.
This is my WiFi card.
...
5
votes
2
answers
17k
views
Is there a GUI app to setup and toggle hostapd?
Title says it all, I've tried wifi-hostapd-app but I always run into trouble while installing one of its dependencies, dnsmasq specifically. I read one of the workarounds is to disable Ubuntu's ...
4
votes
3
answers
15k
views
hostapd start error message
Error Message
Configuration file: start
Could not open configuration file 'start' for reading.
Failed to set up interface with start
Failed to initialize interface
My Hostapd.conf file
interface=...
4
votes
1
answer
37k
views
How to install/update libnl-1.0pre8 (or later)
I was trying to share my laptop's internet over wireless to use as wi-fi in my android phone. After googling for some time I am now stuck here:
http://linuxwireless.org/en/users/Documentation/...
4
votes
1
answer
8k
views
hostapd does not create a wifi network [closed]
I'm trying to setup a wireless AP to share a wired internet connection over Wi-Fi.
It's a newly built PC, and at first I thought that the wireless card might be defective, however everything works ...
4
votes
1
answer
10k
views
How to set my Broadcom BCM4313 wireless card into AP mode?
I've been trying to create an Access Point hotspot using hostapd, but I get an error message saying that my card doesn't support AP mode. I tried sudo iwconfig eth1 mode master and I get the following ...
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 ../...
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 ...
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 ...
3
votes
0
answers
446
views
Ap-hotspot fail
I've been trying to create an AP wireless network from a usb wifi transmitter.
I have been using ap-hotspot to do so.
It has got no further than this message on debug mode:
Adding system startup for ...
3
votes
0
answers
2k
views
Set master mode on a realtek rtl8192ce
The supported interfaces of the network adapter include also AP. But when I try to set the card on Master Mode with iwconfig wlan0 mode Master, I get the following error:
Error for wireless ...
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)...
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 ...
2
votes
1
answer
4k
views
Block IP address on hostapd network
I share my internet access through hostapd how can I block the client of the AP from accessing a certain IP address?
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 ...
2
votes
2
answers
6k
views
Can not restart dnsmasq due to " configuration syntax check [fail]"
I restart dnsmasq and get
$ sudo /etc/init.d/dnsmasq restart
* Restarting DNS forwarder and DHCP server configuration syntax check [fail]
From where and how can I troubleshooting?
2
votes
1
answer
5k
views
Anyone running QCA9880 / ath10k with hostapd, 802.11ac enabled?
I have problems to get it working... I was using an atheros 11n card with ath9k driver and everything works fine (I'm on Ubuntu 14.04 64 bit). Maybe I didn't compile hostapd or didn't setup the conf ...
2
votes
1
answer
15k
views
Start hostapd service on boot
How to start hostsapd service every time my compute starts
I have Ubuntu Server 13.10 and kernel 3.11
When I tried sudo update-rc.d hostapd defaults I got the following
System start/stop links for /...
2
votes
2
answers
10k
views
Cannot increase wifi card power using iwconfig
So I set up a hotspot using hostapd, isc-dhcp-server and MASQUERADING.
The hotspot works and I can access Internet.
Problem
The connection speed is too slow.
When I connect to my hotspot (via ...
2
votes
0
answers
874
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 ...
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 ...
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 :
...
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
...
2
votes
0
answers
972
views
Cannot start Wireless HotSpot on USB adapter plug in (with udev rule)
I really need help on this matter.
I have a PC with Lubuntu 14.10 and a Wireless USB stick TP-Link TL-WN722N and I want to create a wireless hotspot that automatically gets started upon wireless USB ...
2
votes
0
answers
901
views
Hostapd serves all webpages to Windows 7 client, not so XP or Android
I have installed hostapd and dnsmasq in a laptop running Linux Mint 15, as a wireless relay: Incoming from remote wifi router is through wlan0, pcmcia wifi card serving client machines is wlan1.
This ...
2
votes
0
answers
7k
views
Hostapd is very slow (at 5Mbps)
I've set up hostapd wifi hotspot but it is working on very low speed. What may be possible cause for this? Windows client shows it is 802.11n but link speed is 5Mbps (and real speed is less than 2Mbps)...
2
votes
1
answer
7k
views
Hostapd Failed to update rate sets in kernel module
I'm getting this error launching hostapd with minimal conf
Failed to update rate sets in kernel module
I've just installed Ubuntu-GNOME 13.04. When I was using Ubuntu 12.04 did not receive this kind ...
2
votes
0
answers
1k
views
How to set up centralized Management entity to control Hostapd access points
We are working on a project to provide wifi at our university. Due to financial limits, we are planning to install multiple linux based access points (wlan modules running with hostapd). But at the ...
2
votes
0
answers
2k
views
My laptop can not access internet after setup bridge with wired NIC and wireless NIC [closed]
I setup a bridge using wired NIC and wireless NIC in order to make wireless NIC as a Wi-Fi AP to share wired internet access, after setup successfully, the Wi-Fi AP works as my expectation, but my ...
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 ...
1
vote
1
answer
11k
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 ...
1
vote
1
answer
14k
views
Cannot create wireless AP
I've tried to create AP using this and tried to solve my problem
$ iw list
nl80211 not found.
with this, but I still get error when I start make
~/hostapd-2.0/hostapd$ make
../src/drivers/...
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 ...
1
vote
2
answers
80
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 ...
1
vote
1
answer
10k
views
Hostapd wpa_passphrase not working
Hi there I'm setting hostapd to create a wlan from my ubuntu computer.
I have configure some conf files following some tutorials/guides and I can detect the wlan.
The problems comes when i enter the ...
1
vote
1
answer
4k
views
Unable to share Internet using hostapd
I'm able to connect to the access point created by hostapd bu I can't access the Internet. This has already worked for me on an Ubuntu laptop but now I'm using a netbook with Ubuntu too but it doesn't ...
1
vote
1
answer
1k
views
Doesn't Ubuntu 13.10 support the hostapd nl80211 driver?
I could use hostapd-2.1 to set wireless AP in Ubuntu 12.04.
But in Ubuntu 13.10 it failed. The same source code for hostapd-2.1 was failing
in 13.10.
The error message:
nl80211 : Failed to set ...
1
vote
0
answers
135
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 ...
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....
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 ...
1
vote
0
answers
358
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.