HOSTAPD說找不到nl80211 - Linux

Table of Contents

我按照

http://tinyurl.com/oo3yxwz

想設定我的EPC,我先用CentOS 6.7 32bit LiveDVD啟動,用YUM安裝epel和hostapd
後照網頁設定

[root@livedvd ~]# lspci -k | grep -A 3 -i "network"
01:00.0 Ethernet controller: Qualcomm Atheros AR242x / AR542x Wireless
Network Adapter (PCI-Express) (rev 01)
Subsystem: AzureWave AW-GE780 802.11bg Wireless Mini PCIe Card
Kernel driver in use: ath5k
Kernel modules: ath5k

[root@livedvd ~]# modinfo ath5k | grep 'depend'
depends: mac80211,cfg80211,ath

/etc/hostapd/hostapd.conf內容如下,
driver=nl80211
interface=wlan0
channel=1
ssid=test

我按照網頁啟動
hostapd /etc/hostapd/hostapd.conf
卻得到

nl80211: Could not add multicast membership for scan events: -2 (No such file
or directory)
Failed to initialize driver 'nl80211'

我有GOOGLE,但是看不懂,還有人說要重新compile?請問這個問題要如何解決?

--
起初,他們追殺共產主義者,我沒有說話,因為我不是共產主義者;
接著,他們追殺猶太人,我沒有說話,因為我不是猶太人;
後來,他們追殺工會成員,我沒有說話,因為我不是工會成員;
此後,他們追殺天主教徒,我沒有說話,因為我是新教教徒;
最後,他們奔我而來,卻再也沒有人站起來為我說話了。
《First They Came(他們首次來時)》,Martin Niemoller牧師(1892-1984)

--

All Comments

Robert avatarRobert2015-09-14
Centos 6.7 的核心 2.6.32 ; 雖然 ath5k 的 AP mode
2.6.31 以後就有支援,但這版本還是太舊了吧。
Bethany avatarBethany2015-09-16
而且也不知道 linux-firmware 是版本多少的
Lydia avatarLydia2015-09-20
所以我應該換ubuntu嗎?或是我可以另外改進CentOS?
Kumar avatarKumar2015-09-22
話說回來,我一直搞不懂ath5和nl80211的關聯
Elizabeth avatarElizabeth2015-09-23
記得以前hostapd預設並不是nl80211,是後來才這樣
2.6.32 那時 atheros 是用 madwifi 吧?
Yuri avatarYuri2015-09-25
不一定要跳 ubuntu 啊 ,centos 7 至少也 kernel 3.10
Christine avatarChristine2015-09-29
github找找
Hedwig avatarHedwig2015-10-02
用github抓hostapd 回來重編看看,之前也一樣的問題
Hedwig avatarHedwig2015-10-06
.config內看看有沒有CONFIG_NL80211之類的,記得選y,
重編hostapd
Jacob avatarJacob2015-10-10
kernel至少用v3.1以上的