Skip to main content
added 13 characters in body
Source Link
GAD3R
  • 69.9k
  • 32
  • 147
  • 216

I have computer that only have Wifi network. There is no RJ45 socket. I have to configure Wifi using command line. My Wifi:

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

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

On FreePBX I have file: /etc/wpa_supplicant/wpa_supplicant.conf:

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

When I type command:

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

and I get error:

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.

I have computer that only have Wifi network. There is no RJ45 socket. I have to configure Wifi using command line. My Wifi:

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

On FreePBX I have file: /etc/wpa_supplicant/wpa_supplicant.conf:

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

When I type command:

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

and I get error:

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.

I have computer that only have Wifi network. There is no RJ45 socket. I have to configure Wifi using command line. My Wifi:

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

On FreePBX I have file: /etc/wpa_supplicant/wpa_supplicant.conf:

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

When I type command:

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

and I get error:

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.
Source Link
Robert
  • 103
  • 2

FreePBX configure wifi from command line WPA2

I have computer that only have Wifi network. There is no RJ45 socket. I have to configure Wifi using command line. My Wifi:

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

On FreePBX I have file: /etc/wpa_supplicant/wpa_supplicant.conf:

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

When I type command:

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

and I get error:

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.