無線LANは正常に機能しますが、このログエントリがありますjournalctl -b -p 3
。原因は何ですか?
Dec 11 21:26:09 raspberrypi wpa_supplicant[440]: Failed to initialize control interface '/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.
Dec 11 21:26:09 raspberrypi NetworkManager[433]: <error> [1607718369.9284] sup-iface[0x2a0450,wlan0]: error adding interface: wpa_supplicant couldn't grab this interfac
cat /etc/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=US
network={
ssid="foo"
psk="bar"
}
答え1
NetworkManager
サービスの利用を中止する必要がありますwpasupplicant
。
sudo systemctl stop NetworkManager
すべてのwpasupplicant
インスタンスを終了します。
sudo killall wpasupplicant
または
sudo killall wpa_supplicant
サービスを完全に無効にするには、NetworkManager
次を使用します。
sudo systemctl disable NetworkManager