FreePBXはコマンドラインでWi-Fi WPA2を設定します。

FreePBXはコマンドラインでWi-Fi WPA2を設定します。

マイコンピュータにはWi-Fiネットワークしかありません。 RJ45ソケットはありません。コマンドラインを使用してWi-Fiを設定する必要があります。私のワイヤレスネットワーク:

Authentication         : WPA2-Personal
Cipher                 : CCMP
Connection mode        : Profile
Channel                : 1

FreePBXファイルがあります/etc/wpa_supplicant/wpa_supplicant.conf::

   ctrl_interface=/var/run/wpa_supplicant
   ctrl_interface_group=wheel
   network={
      ssid="mynetworkname"
      psk="mypassword"
   }

コマンドを入力すると、次のようになります。

   wpa_supplicant -B -i wlan0 -c wpa_supplicant.conf -D wext

エラーが発生します。

Successfully initialized wpa_supplicant
Failed to open config file '/etc/wpa_supplicant.conf', error: No such file or directory
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/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.

ベストアンサー1

構成ファイルのフルパスを指定する必要があります。wpa_supplicant.conf

killall wpa_supplicant
wpa_supplicant -B -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf

おすすめ記事