iwdは仮想デバイスを報告しません

iwdは仮想デバイスを報告しません

iwこれを使用してwlan1

iw dev wlan0 interface add wlan1 type __ap

これにより、次の 2 つのインターフェイスが残ります。

~> iw dev
phy#0
        Interface wlan1
                ifindex 8
                wdev 0x5
                addr c0:ee:40:64:4a:1d
                type AP
                txpower 23.00 dBm
        Interface wlan0
                ifindex 7
                wdev 0x4
                addr c0:ee:40:64:4a:1c
                type managed
                txpower 23.00 dBm

iwctlリストデバイスとAPを実行するときwlan1

~> iwctl ap list
                          Devices in Access Point Mode
--------------------------------------------------------------------------------
  Name                  Started
--------------------------------------------------------------------------------
No devices in access point mode available.

~> iwctl device list
                                    Devices
--------------------------------------------------------------------------------
  Name                  Address               Powered     Adapter     Mode
--------------------------------------------------------------------------------
  wlan0                 c0:ee:40:64:4a:1c     on          phy0        station

以前は、wpa_supplicantこのNetworkManager仮想インターフェイス(wlan1)をAPモードで使用できました。無線はAP+STAモードをサポートします。

~> iw phy
   ...
        valid interface combinations:
                 * #{ AP } <= 3, #{ managed, P2P-client, P2P-GO } <= 2,
                   total <= 3, #channels <= 1
                 * #{ IBSS } <= 1,
                   total <= 1, #channels <= 1
   ...

iwdその場合は、このユーティリティを使用して作成された仮想インターフェイスがサポートされているかどうか疑問に思いますiw。では、何を見逃していますか?

ベストアンサー1

私の問題は、iwd既存のインターフェイスを破壊して見つけたものの新しいインターフェイスを作成することです。iwdインターフェイスを維持するように指示することで、いくつかのオプションを提供できます。

main.confから

[General]
UseDefaultInterface=true

またはiwdデーモンを起動するとき:

    -i, --interfaces       Interfaces to manage
    -I, --nointerfaces     Interfaces to ignore
    -p, --phys             Phys to manage
    -P, --nophys           Phys to ignore

おすすめ記事