You are not logged in.
Hello,
I have a probleme to configure the wifi on my fresh arch install,
I installed wpa_supplicant and wpa_supplicant_gui
the problem is when i run the command: $>wpa_gui
it is showing : "Could not get status from wpa_supplicant"
the only workaround I have found is:
1) $>sudo NetworkManager
2)$>sudo killall NetworkManager
3)$>wifi-menu
then the wpa_gui works well.
So I think I just missed a service to start or something like that.
Thank you.
Last edited by lokoum (2016-01-16 15:57:47)
Offline
So I think I just missed a service to start or something like that.
Yes, probably.
Which services have you started?
Describe your configuration in detail please.
Jin, Jîyan, Azadî
Offline
Sounds you like should enable/start a wpa_supplicant service?
You should NOT do that if the network agent you use will spawn wpa_supplicant though.
Last edited by tom.ty89 (2016-01-16 14:40:56)
Offline
even if I do a:
$ systemctl start wpa_supplicant it does not work
at this moment I disable all services that might be concerned with the wifi : dhcpcd, NetworkManager, wpa_supplicant, I start them manually when system is booted up
Offline
That's probably not the correct way you start it manually.
You need to have a device-specific conf and start a device-specific instance. e.g.
[tom@localhost ~]$ cat /etc/wpa_supplicant/wpa_supplicant-wired-enp3s0.conf
ctrl_interface=/run/wpa_supplicant
update_config=1
[tom@localhost ~]$ sudo systemctl start wpa_supplicant-wired@enp3s0
[tom@localhost ~]$ systemctl status wpa_supplicant-wired@enp3s0
● wpa_supplicant-wired@enp3s0.service - WPA supplicant daemon (interface- and wired driver-specific version)
Loaded: loaded (/usr/lib/systemd/system/wpa_supplicant-wired@.service; disabled; vendor preset: disabled)
Active: active (running) since Sat 2016-01-16 23:05:48 HKT; 5s ago
Main PID: 2421 (wpa_supplicant)
Tasks: 1 (limit: 512)
CGroup: /system.slice/system-wpa_supplicant\x2dwired.slice/wpa_supplicant-wired@enp3s0.service
└─2421 /usr/bin/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-enp3s0.conf -Dwired -ienp3s0
Jan 16 23:05:48 localhost systemd[1]: Started WPA supplicant daemon (interface- and wired driver-specific version).
Jan 16 23:05:48 localhost wpa_supplicant[2421]: Successfully initialized wpa_supplicant
[tom@localhost ~]$ wpa_cli
wpa_cli v2.5
Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Interactive mode
Could not connect to wpa_supplicant: (nil) - re-trying
^C[tom@localhost ~]$ sudo wpa_cli
wpa_cli v2.5
Copyright (c) 2004-2015, Jouni Malinen <j@w1.fi> and contributors
This software may be distributed under the terms of the BSD license.
See README for more details.
Selected interface 'enp3s0'
Interactive mode
[tom@localhost ~]$ By default the permission will be:
[tom@localhost ~]$ ls -ld /run/wpa_supplicant/
drwxr-x--- 2 root root 60 Jan 16 23:05 /run/wpa_supplicant/
[tom@localhost ~]$ It should be configurable through the ctrl_interface option in the conf.
P.S. I have no wireless adapter connected to my machine now, so I demo'd with the wired variant.
Last edited by tom.ty89 (2016-01-16 15:10:19)
Offline
Thank you it works now
Offline