看板 Linux 關於我們 聯絡資訊
我按照 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) -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 180.176.35.57 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1442149831.A.8EC.html
HamalAri: Centos 6.7 的核心 2.6.32 ; 雖然 ath5k 的 AP mode 09/13 21:25
HamalAri: 2.6.31 以後就有支援,但這版本還是太舊了吧。 09/13 21:25
HamalAri: 而且也不知道 linux-firmware 是版本多少的 09/13 21:26
LIAR: 所以我應該換ubuntu嗎?或是我可以另外改進CentOS? 09/13 22:09
LIAR: 話說回來,我一直搞不懂ath5和nl80211的關聯 09/13 22:10
HamalAri: 記得以前hostapd預設並不是nl80211,是後來才這樣 09/14 02:01
HamalAri: 2.6.32 那時 atheros 是用 madwifi 吧? 09/14 02:01
HamalAri: 不一定要跳 ubuntu 啊 ,centos 7 至少也 kernel 3.10 09/14 02:02
newwords: github找找 09/14 16:57
shadowjohn: 用github抓hostapd 回來重編看看,之前也一樣的問題 09/15 12:56
shadowjohn: http://3wa.tw/mypaper/?mode=view&id=828 09/15 12:58
matt680209: .config內看看有沒有CONFIG_NL80211之類的,記得選y, 09/24 08:26
matt680209: 重編hostapd 09/24 08:26
matt680209: kernel至少用v3.1以上的 09/24 08:27