Networking

ubuntu:無法配置網狀網路

  • September 20, 2019
root@181RX:/home/pi/# iw phy
Wiphy phy0
       max # scan SSIDs: 4
       max scan IEs length: 2257 bytes
       Retry short long limit: 2
       Coverage class: 0 (up to 0m)
       Device supports RSN-IBSS.

       Available Antennas: TX 0 RX 0
       Supported interface modes:
                * IBSS
                * managed
                * AP
                * AP/VLAN
                * monitor
       Band 1:
               Capabilities: 0x17e
                       HT20/HT40
                       SM Power Save disabled
                       RX Greenfield
                       RX HT20 SGI
                       RX HT40 SGI
                       RX STBC 1-stream
                       Max AMSDU length: 3839 bytes
                       No DSSS/CCK HT40
               Maximum RX AMPDU length 32767 bytes (exponent: 0x002)
               Minimum RX AMPDU time spacing: 2 usec (0x04)
               HT TX/RX MCS rate indexes supported: 0-7, 32
  ...
       Supported RX frame types:
                * IBSS: 0x40 0xb0 0xc0 0xd0
                * managed: 0x40 0xd0
                * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                * mesh point: 0xb0 0xc0 0xd0
                * P2P-client: 0x40 0xd0
                * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                * P2P-device: 0x40 0xd0
       software interface modes (can always be added):
                * AP/VLAN
                * monitor
       valid interface combinations:
                * #{ AP } <= 8,
                  total <= 8, #channels <= 1
       HT Capability overrides:
                * MCS: ff ff ff ff ff ff ff ff ff ff
                * maximum A-MSDU length
                * supported channel width
                * short GI for 40 MHz
                * max A-MPDU length exponent
                * min MPDU start spacing
       Device supports TX status socket option.
       Device supports HT-IBSS.
       Device supports SAE with AUTHENTICATE command
       Device supports low priority scan.
       Device supports scan flush.
       Device supports AP scan.
       Device supports per-vif TX power setting
       Driver supports full state transitions for AP/GO clients
       Driver supports a userspace MPM

這是我的 wifi 設備的iw phy命令屬性。

我需要這個 wifi 加密狗的網格配置。

這是 ralink rt3070 USB 設備。

此外,在 nano pi 中安裝了 ubutnu os。

root@181RX:/home/pi# iw dev $w interface add mesh0 type mp

命令失敗:不支持操作 (-95)

我的設備不支持網格?

我通過核心配置啟用了 mac80211 網格。

在此處輸入圖像描述

不,您的設備不支持 802.11s MESH。否則,您的iw list輸出將類似於以下內容:

Supported interface modes:
 * IBSS
 * managed
 * AP
 * AP/VLAN
 * monitor
 * mesh point

注意底部的網格點。

引用自:https://unix.stackexchange.com/questions/534233