求助,在Ubuntu下ad hoc组网

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
ChangeS
帖子: 1
注册时间: 2016-09-12 16:38
系统: Ubuntu14.04

求助,在Ubuntu下ad hoc组网

#1

帖子 ChangeS »

做一个项目,需要点对点通信,进行ad hoc组网。应该是要用的IBSS模式,但是该设备推荐的无线网卡之一intel 7260HMW好像不支持IBSS。下边是一些有用的信息:
root@tegra-ubuntu:/home/ubuntu# uname -a
Linux tegra-ubuntu 3.10.40 #34 SMP PREEMPT Fri Oct 30 10:51:09 CST 2015 armv7l armv7l armv7l GNU/Linux

root@tegra-ubuntu:/home/ubuntu# lspci -nn
01:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b1] (rev bb)

root@tegra-ubuntu:/home/ubuntu# iw list
Wiphy phy0

Band 1:

Capabilities: 0x1062
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT TX/RX MCS rate indexes supported: 0-15, 32
Frequencies:
* 2412 MHz [1] (0.0 dBm)
* 2417 MHz [2] (0.0 dBm)
* 2422 MHz [3] (0.0 dBm)
* 2427 MHz [4] (0.0 dBm)
* 2432 MHz [5] (0.0 dBm)
* 2437 MHz [6] (0.0 dBm)
* 2442 MHz [7] (0.0 dBm)
* 2447 MHz [8] (0.0 dBm)
* 2452 MHz [9] (0.0 dBm)
* 2457 MHz [10] (0.0 dBm)
* 2462 MHz [11] (0.0 dBm)
* 2467 MHz [12] (0.0 dBm) (passive scanning, no IBSS)
* 2472 MHz [13] (0.0 dBm) (passive scanning, no IBSS)
.....

Band 2:
Capabilities: 0x1062
HT20/HT40
Static SM Power Save
RX HT20 SGI
RX HT40 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT TX/RX MCS rate indexes supported: 0-15, 32
Frequencies:
* 5180 MHz [36] (0.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (0.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (0.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (0.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5500 MHz [100] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5520 MHz [104] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5540 MHz [108] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5560 MHz [112] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5580 MHz [116] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5600 MHz [120] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5620 MHz [124] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5640 MHz [128] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5660 MHz [132] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5680 MHz [136] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5700 MHz [140] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5720 MHz [144] (0.0 dBm) (passive scanning, no IBSS, radar detection)
* 5745 MHz [149] (0.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (0.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (0.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (0.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (0.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 20
max scan IEs length: 181 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
* Unknown mode (10)

.......

从Supported interface modes可以看出没有IBSS模式,是不是意味着不能用这个网卡建ad hoc网络了,只能换用别的网卡?
但是https://communities.intel.com/thread/60677上有人声称在2.4GHz下打开了ad hoc网络,这又是什么原因?因为内核不同吗?
另外有没有前辈用过http://elinux.org/Jetson/Network_Adapters里提到的某个网卡支持IBSS,我可以试一下。
先谢谢大家了。
回复