ネットワーク管理者Wi-Fiは利用できません。

ネットワーク管理者Wi-Fiは利用できません。

Arago LinuxシステムにNetworkManagerをインストールしました。 NetworkManagerはイーサネットインターフェイスを正しく呼び出すことができるようですが、Wi-Fiインターフェイスは利用できません。

root@machine:~# nmcli d
DEVICE  TYPE      STATE        CONNECTION   
eth0    ethernet  connected    netplan-eth0 
eth1    ethernet  connected    netplan-eth1 
wlan0   wifi      unavailable  -- 

問題は、NetworkManagerがwpa_supplicantを取得できないために発生するようです。

NetworkManager[251]: [0;1;39m<warn>  [1640291073.0649] supplicant: failed to acquire wpa_supplicant proxy: Wi-Fi and 802.1x will not be available (Error calling StartServiceByName for fi.w1.wpa_supplicant1: GDBus.Error:org.freedesktop.DBus.Er
ror.TimedOut: Failed to activate service 'fi.w1.wpa_supplicant1': timed out (service_start_timeout=25000ms))

dbus wpa_supplicantサービスを有効にできない理由が何であるかわかりません。次のようにwpa_supplicant.serviceを追加しました。

[Unit]
Description=WPA supplicant
Before=network.target
After=dbus.service
Wants=network.target
IgnoreOnIsolate=true

[Service]
Type=dbus
BusName=fi.w1.wpa_supplicant1
ExecStart=/usr/sbin/wpa_supplicant -u -s -O /var/run/wpa_supplicant

[Install]
WantedBy=multi-user.target
Alias=dbus-fi.w1.wpa_supplicant1.service

fi.w1.wpa_supplicant1.serviceは/usr/share/dbus-1/system-services/にもあります。

[D-BUS Service]
Name=fi.w1.wpa_supplicant1
Exec=/usr/sbin/wpa_supplicant -u -s -O /var/run/wpa_supplicant
User=root
SystemdService=wpa_supplicant.service

なぜこれが起こるのかというアイデアはありますか?ありがとう

ベストアンサー1

おすすめ記事