HOSTAPD說找不到nl80211 - Linux

Faithe avatar
By Faithe
at 2015-09-13T21:10

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)

--
Tags: Linux

All Comments

Robert avatar
By Robert
at 2015-09-14T22:14
Centos 6.7 的核心 2.6.32 ; 雖然 ath5k 的 AP mode
2.6.31 以後就有支援,但這版本還是太舊了吧。
Bethany avatar
By Bethany
at 2015-09-16T07:49
而且也不知道 linux-firmware 是版本多少的
Lydia avatar
By Lydia
at 2015-09-20T22:11
所以我應該換ubuntu嗎?或是我可以另外改進CentOS?
Kumar avatar
By Kumar
at 2015-09-22T01:58
話說回來,我一直搞不懂ath5和nl80211的關聯
Elizabeth avatar
By Elizabeth
at 2015-09-23T07:07
記得以前hostapd預設並不是nl80211,是後來才這樣
2.6.32 那時 atheros 是用 madwifi 吧?
Yuri avatar
By Yuri
at 2015-09-25T01:53
不一定要跳 ubuntu 啊 ,centos 7 至少也 kernel 3.10
Christine avatar
By Christine
at 2015-09-29T08:50
github找找
Hedwig avatar
By Hedwig
at 2015-10-02T19:53
用github抓hostapd 回來重編看看,之前也一樣的問題
Eartha avatar
By Eartha
at 2015-10-03T04:15
http://3wa.tw/mypaper/?mode=view&id=828
Hedwig avatar
By Hedwig
at 2015-10-06T13:00
.config內看看有沒有CONFIG_NL80211之類的,記得選y,
重編hostapd
Jacob avatar
By Jacob
at 2015-10-10T00:16
kernel至少用v3.1以上的

buffer overflow detected ***: multiget

Enid avatar
By Enid
at 2015-09-10T19:17
When i run multiget it show me and#34;buffer overflow detected ***: multiget terminatedand#34; How to fix buffer overflow? ubuntuatubuntu:/$ multiget *** ...

更新後的倉頡3輸入法問題

Yuri avatar
By Yuri
at 2015-09-10T14:51
倉頡 三更新 後 變成如果輸 入的是五碼 就 不用再按空格 而如果少於五碼 的話 就 要再多按個空格 但打字習慣後會在每個字輸 入完時多加一個空格 導制文章會像這篇一樣.... 請 問一下有沒有方法可以解 法這問題 ? 或者設 定?或者回到上一版? 我是用ubuntu安裝 完後的預 設 輸 入法 ...

centos

Quintina avatar
By Quintina
at 2015-09-10T14:49
遇到問題如下: 有什麼方式 能解決?? CENTOS 7 可以 PING One of the configured repositories failed (Unknown), and yum doesnand#39;t have enough cached data to continue ...

如何設定PTT用哪一張網卡?

Barb Cronin avatar
By Barb Cronin
at 2015-09-10T09:58
我用ubuntu os , 我有三張網卡 10、172、192 全到齊了 ~$ route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface defaul ...

使用 GNU/Linux 做為筆電的 OS

Sierra Rose avatar
By Sierra Rose
at 2015-09-10T08:46
想請問有關於在筆電上跑linux+cuda的問題 不知是否有人有解 筆電硬體上若有支援cuda的版本 一般都有雙gpu 一個是在chipset 不支援cuda 一個是nvidia 支援cuda 當linux灌好 default是用內建chipset的那個 想要開通cuda 理想方式是 顯示由內建負責 運算由 ...