J-Lentz / iwgtk

Lightweight wireless networking GUI (front-end for iwd)
GNU General Public License v3.0
217 stars 15 forks source link

iwd is not running #24

Closed peat734 closed 2 years ago

peat734 commented 2 years ago

when trying to launch iwgtk it says iwd is not running

J-Lentz commented 2 years ago
  1. What's the output of systemctl status iwd (or some equivalent command if you don't use systemd)?
  2. Assuming that iwd is in fact running, does iwctl work in your non-root user account?
  3. Which version of iwd do you have installed?
peat734 commented 2 years ago

1.○ iwd.service - Wireless service Loaded: loaded (/usr/lib/systemd/system/iwd.service; disabled; vendor preset: disabled) Active: inactive (dead) 2.no 3.1.27-1

J-Lentz commented 2 years ago

The first thing you need to do is disable and stop wpa_supplicant (I'm assuming you're using it currently, since you have iwd disabled), and then enable and start iwd: # systemctl disable --now wpa_supplicant # systemctl enable --now iwd

Because you're using a recent version of iwd (>=1.23), you'll also need to add your user account to the netdev group: # usermod -a -G netdev YOUR_USER_ACCOUNT

You might need to log out and back in afterward for the netdev group membership to take effect. Hopefully this helps.

peat734 commented 2 years ago

when I try to usermod it says that group netdev does not exist

J-Lentz commented 2 years ago

In that case, you'll need to issue # groupadd netdev before the usermod command.

peat734 commented 2 years ago

It is working now ty very much