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.
Asked by Robert
(103 rep)
Apr 20, 2021, 10:52 PM
Last activity: Apr 21, 2021, 10:58 AM
Last activity: Apr 21, 2021, 10:58 AM