WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: econnman requires the user to be part of the netdev group for wifi  (Read 2991 times)

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
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: [Select]
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:~$

so I added the following line in /opt/bootlocal.sh
Code: [Select]
usermod -aG netdev $(cat/etc/sysconfig/tcuser)
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: econnman requires the user to be part of the netdev group for wifi
« Reply #1 on: February 28, 2015, 10:36:41 AM »
Hi
Actually the e19 connection manager module works also without adding the user to the netdev group
dCore user

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: econnman requires the user to be part of the netdev group for wifi
« Reply #2 on: March 01, 2015, 04:37:10 AM »
I cannot connect to non protected access points, while protected & ethernet cable do  work.
dCore user

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: econnman requires the user to be part of the netdev group for wifi
« Reply #3 on: March 01, 2015, 08:32:54 PM »
Thanks, I added a startup script for wpasupplicant that adds the $USER to the netdev group.


Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: econnman requires the user to be part of the netdev group for wifi
« Reply #4 on: March 15, 2015, 08:36:02 AM »
Hi
upgrading to the new kernel resolves enlightenment connection manager module problem of connecting to non protected access points
dCore user