dCore Import Debian Packages to Mountable SCE extensions > dCore x86 Imported Extensions

econnman requires the user to be part of the netdev group for wifi

(1/1)

jls:
Hi
in order for the normal user to use wpa_supplicant via dbus, he needs to be added to the netdev group as u can see:

--- Code: ---jls@vesa:~$ cat /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>
jls@vesa:~$


--- End code ---
so I added the following line in /opt/bootlocal.sh

--- Code: ---usermod -aG netdev $(cat/etc/sysconfig/tcuser)

--- End code ---

jls:
Hi
Actually the e19 connection manager module works also without adding the user to the netdev group

jls:
I cannot connect to non protected access points, while protected & ethernet cable do  work.

Jason W:
Thanks, I added a startup script for wpasupplicant that adds the $USER to the netdev group.

jls:
Hi
upgrading to the new kernel resolves enlightenment connection manager module problem of connecting to non protected access points

Navigation

[0] Message Index

Go to full version