Procure as seguintes linhas no wpa_supplicant.conf:
# needed for wpa_gui to work
ctrl_interface=DIR=<Dir on Gentoo: /var/run/wpa_supplicant> GROUP=<Group on gentoo: plugdev>
# needed to allow wpa_gui to alter the configuration
update_config=1
O WPA_gui só funcionará se eu o executar como root. Eu sei que preciso alterar suas permissões, mas não consigo descobrir onde ou o quê.
Eu tentei adicionar o usuário ao grupo NetDev, mas isso não funcionou. Qualquer ideia seria extremamente apreciada.
obrigado
EDITAR: meu /etc/dbus-1/system.d/wpa_supplicant.conf
<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="fi.epitest.hostap.WPASupplicant"/>
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
<allow own="fi.w1.wpa_supplicant1"/>
<allow send_destination="fi.w1.wpa_supplicant1"/>
<allow send_interface="fi.w1.wpa_supplicant1"/>
<allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
</policy>
<policy group="netdev">
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
<allow send_destination="fi.w1.wpa_supplicant1"/>
<allow send_interface="fi.w1.wpa_supplicant1"/>
<allow receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
</policy>
<policy context="default">
<deny own="fi.epitest.hostap.WPASupplicant"/>
<deny send_destination="fi.epitest.hostap.WPASupplicant"/>
<deny send_interface="fi.epitest.hostap.WPASupplicant"/>
<deny own="fi.w1.wpa_supplicant1"/>
<deny send_destination="fi.w1.wpa_supplicant1"/>
<deny send_interface="fi.w1.wpa_supplicant1"/>
<deny receive_sender="fi.w1.wpa_supplicant1" receive_type="signal"/>
</policy>
</busconfig>
e a leitura do grupo de comando
armtc adm cdrom sudo dip plugdev lpadmin netdev sambashare
Parece que ambos fazem referência ao grupo netdev, mas ainda não há alegria.
EDIT2: /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant.service & amp; /usr/share/dbus-1/system-services/fi.epitest.hostap.WPASupplicant1.service
[D-BUS Service]
Name=fi.epitest.hostap.WPASupplicant
Exec=/sbin/wpa_supplicant -B -P /run/sendsigs.omit.d/wpasupplicant.pid -u -s -O /var/run/wpa_supplicant
User=root
SystemdService=wpa_supplicant.service
Procure as seguintes linhas no wpa_supplicant.conf:
# needed for wpa_gui to work
ctrl_interface=DIR=<Dir on Gentoo: /var/run/wpa_supplicant> GROUP=<Group on gentoo: plugdev>
# needed to allow wpa_gui to alter the configuration
update_config=1