請問關於 Linux 實作 WiFi Dual-Band 功能

Kernel: 2.6.31.8
Wifi module: CPE901A(AR9382 chip)
Drive: compat-wireless-3.6.8-1(ath9k)
hostapd: 2.0
Dual-Band: 5GHz(channel 60)和2.4GHz(channel=1)

#hostapd -B -K -t -dd /usr/local/hostapd/etc/5G /usr/local/hostapd/etc/2.4G > /tmp/hostapd_log

Hostapd config:
5G:
interface=wlan0
driver=nl80211
ssid=WiFi_5GHz
hw_mode=a
channel=60

country_code=US
wme_enabled=1
ieee80211d=1
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0

2.4G:
interface=wlan0
driver=nl80211
ssid=WiFi_2.4GHz
hw_mode=g
channel=1

country_code=US
wme_enabled=1
ieee80211d=1
ieee80211n=1
ht_capab=[HT40+][SHORT-GI-40][DSSS_CCK-40]
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0

hostapd_log:
1316539309.150950: Allowed channel: mode=0 chan=10 freq=2457 MHz max_tx_power=0 dBm
1316539309.150959: Allowed channel: mode=0 chan=11 freq=2462 MHz max_tx_power=0 dBm
1316539309.150980: Scan for neighboring BSSes prior to enabling 40 MHz channel
1316539309.154223: Scan requested (ret=0) - scan timeout 10 seconds
1316539309.154246: Interface initialization will be completed in a callback
1316539309.154254: Configuration file: /usr/local/hostapd/etc/2.4G
1316539309.154585: nl80211: interface wlan0 in phy phy0
1316539309.154613: rfkill: Cannot open RFKILL control device
1316539309.154621: nl80211: RFKILL status not available
1316539309.154902: nl80211: Using driver-based off-channel TX
1316539309.154917: nl80211: Use separate P2P group interface (driver advertised support)
1316539309.154922: nl80211: TDLS supported
1316539309.154926: nl80211: TDLS external setup
1316539309.155023: nl80211: Add own interface ifindex 4
1316539309.156380: nl80211: Set mode ifindex 4 iftype 3 (AP)
1316539309.156503: nl80211: Setup AP - device_ap_sme=0 use_monitor=1
1316539309.156521: nl80211: Create interface iftype 6 (MONITOR)
1316539309.156745: Failed to create interface mon.wlan0: -23 (Too many open files in system)
1316539309.156802: Try to remove and re-create mon.wlan0
1316539309.156831: nl80211: Remove interface ifindex=42
1316539309.417831: nl80211: Create interface iftype 6 (MONITOR)
1316539309.418488: nl80211: New interface mon.wlan0 created: ifindex=43
1316539309.418506: nl80211: Add own interface ifindex 43
1316539309.429835: BSS count 1, BSSID mask 00:00:00:00:00:00 (0 bits)
1316539309.430382: nl80211: Regulatory information - country=US
1316539309.430402: nl80211: 2402-2472 @ 40 MHz
1316539309.430413: nl80211: 5170-5250 @ 80 MHz
1316539309.430422: nl80211: 5250-5330 @ 80 MHz
1316539309.430430: nl80211: 5735-5835 @ 80 MHz
1316539309.430439: nl80211: 57240-63720 @ 2160 MHz
1316539309.430491: nl80211: Added 802.11b mode based on 802.11g information
1316539309.430504: Allowed channel: mode=1 chan=1 freq=2412 MHz max_tx_power=0 dBm
1316539309.430511: Allowed channel: mode=1 chan=2 freq=2417 MHz max_tx_power=0 dBm


Hostapd log 出現:
Failed to create interface mon.wlan0: -23 (Too many open files in system)

請問是那邊做錯了呢?
感謝.
2014-01-06 13:48 發佈
Dual-Band 需要两块无线网卡。
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?