Nl80211 Could Not Configure Driver Mode
- Nl80211 Could Not Configure Driver Mode Rpi
- Arch Linux Nl80211 Could Not Configure Driver Mode
- Hostapd.conf Nl80211 Could Not Configure Driver Mode
GOAL: To create an AP on one interface and allow another interface to act as a station.
SETUP:
Device(s):
Raspberry Pi 3 (on board chip = AP)
TL-WN725N (station)
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated Sensitivity:0/0 Retry:off RTS thr:off Fragment thr:off Encryption key:off. Nl80211: Could not configure driver mode nl80211: deinit ifname=wlan1 disabled11brates=0 wlan1: Failed to initialize driver interface. Dec 02, 2014 Hello, Using builtin wlan0 and an external Alfa NHA as wlan1, starting up shows the following errors:- nl80211: could not configure driver mode nl80211: driver initialisation failed hostapdfreehapddata: interface wlan1 wasn't started.
HostAPD will not start.
cmd: sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
output:
cmd: hostapd -dd /etc/hostapd/hostapd.conf
output:
cmd: iw list
output:
FILE: /etc/hostapd/hostapd.conf
FILE: /etc/network/interfaces
FILE: /etc/wpa_supplicant/wpa_supplicant.conf
iptables Configuration(s):
1 Answer
Download and run the following script as sudo
:
pifi.sh
: https://github.com/NicholasAdamou/PiFi/raw/master/pifi.sh
It's a script that I made to fix the above issue.
How did I fix it?
The HostAPD binary didn't have the correct firmware for the wireless adapter I was using.
The above script will allow you to setup a a Raspberry Pi
as a PiFi Wireless Repeater
.
Not the answer you're looking for? Browse other questions tagged linuxnetworkingwireless-networkingrouterraspberry-pi or ask your own question.
I would configure my Rapsberry Pi B to create a WiFi network in bridge mode (without DHCP daemon on raspberry).
I followed this Guide Use Your Raspberry Pi as WiFi Bridge.
My wlan adtpater is Alpa AWUS036H and this is lsusb output:
I configured Hostapd ( /etc/hostapd/hostapd.conf) with this settings:
When i run $ hostapd -dd /etc/hostapd/hostapd.conf this is the output:
Why my Wlan adapter can't start in master mode? Is the driver correct?
Any suggestions?
Thanks!
2 Answers
Why my Wlan adapter can't start in master mode?
Not all wifi adapters are built for this purpose, and 'Operation not supported' implies this is one of them.
This archived post from the linux wireless mail list a few years supports that:
I own an Alfa AWUS036H network adapter using the rtl8187 driver [...] which apparently requires master mode to be enabled in the driver. The page http://linuxwireless.org/en/users/Drivers/rtl8187 states: not working yet: AP/Master mode
What means yet? Is it planned to add master mode support in the near future?
In the case of the RTL8187L, which is the chip in your Alfa device, it means never. That chip only has a single hardware transmit queue and the work of getting the high-priority traffic, such as beacons, transmitted at the correct time would be much more than it would be worth.
To summarize: You are out of luck, that device cannot be used as an access point.
goldilocks♦goldilocksgoldilocks is right, your chipset is not supported. If you decide to obtain a new wireless adapter, I invite you to check this wiki page listing essential options provided by various WIFI chipsets. The capability required by hostapd
is called AP (short for Access Point). For example, take a look at your current chipset, RTL8187:
Personally, I use adapters with Ralink chipset, as you can see almost all chipsets from them support AP mode.