Comments (2)
Hi, good idea. Did you try to compile it with this option? Does it work OK with the realtek driver?
from hostapd-rtl.
Sorry, I should have tried this first. I added it to hostapd/.config
and recompiled. Startup with an ACS enabled configuration fails:
Configuration file: hostapd.conf
drv->ifindex=4
l2_packet_init: ioctl[SIOCGIFINDEX]: No such device
no br0 interface , let l2_sock_recv==l2_sock_xmit=0x0x9a36a8
wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
ACS: Automatic channel selection started, this may take a bit
ACS: Failed to request initial scan
wlan0: IEEE 802.11 Configured channel (0) not found from the channel list of current mode (1) IEEE 802.11g
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-3)
wlan0: interface state COUNTRY_UPDATE->DISABLED
wlan0: AP-DISABLED
wlan0: interface state DISABLED->DISABLED
+rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=3
rtl871x_set_key_ops
rtl871x_set_key_ops
rtl871x_set_key_ops
rtl871x_set_key_ops
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started
ELOOP: remaining socket: sock=6 eloop_data=0x9a3738 user_data=(nil) handler=0x2b6ed
I also found the following comment in what appears to be the default config hostapd/defconfig
. I guess it explains why we can't use ACS. We don't use a compatible driver.
# Automatic selection is currently only done through initialization, later on
# we hope to do background checks to keep us moving to more ideal channels as
# time goes by. ACS is currently only supported through the nl80211 driver and
# your driver must have survey dump capability that is filled by the driver
# during scanning.
#
# Supported ACS drivers:
# * ath9k
# * ath5k
# * ath10k
from hostapd-rtl.
Related Issues (13)
- hostapd fails to intialize interface in 40MHz mode HOT 3
- Driver initialization fails HOT 1
- Build on Ubuntu HOT 3
- [Issue] SSID is visible but cannot join in HOT 1
- Word of warning for Raspbian
- check the 'status' doesn't work HOT 2
- RFE: auto-generate WPA PSK and enable service by default
- client drops HOT 10
- openwrt 300-noscan.patch HOT 2
- hostapdioctl[RTL_IOCTL_HOSTAPD]: Operation not supported HOT 4
- A few general issues HOT 4
- hostapdioctl[RTL_IOCTL_HOSTAPD]: Invalid argument HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hostapd-rtl.