The officially official Devuan Forum!

You are not logged in.

#1 2024-07-31 07:19:03

tyrlak
Member
Registered: 2024-04-26
Posts: 29  

NetworkManager and drive access fail

A while back I was writing in a post on the forum that I couldn't get the screen back on after hibernation. This was solved by getting linux-firmware repo and copy amdgpu to /lib/firmware. However the problem restarted after a while and after hibernation I was forced to restart the computer to get back in again.

Today after starting and login I could not access any network. When trying to disconnect (I cannot select 'available networks') I get:

org.free desktop.NetworkManager.network-control request failed: not authorized

What I tried:
- Restart
- Add user to netdev
- Restart NetworkManager

sudo service network-manager restart

After that I could select 'available networks'. When selecting a network I get: Not authorized to control networking

When checking access generally I noticed that I also am no longer authorized to mount a drive.

Do anyone have any idea from where these issues originates and which steps I could take to fix it?

Last edited by tyrlak (2024-07-31 07:19:55)

Offline

#2 2024-07-31 07:48:22

tyrlak
Member
Registered: 2024-04-26
Posts: 29  

Re: NetworkManager and drive access fail

If I do:

sudo nmcli connection up <uuid>

I can connect though it shouldn't work like this.

Offline

#3 2024-07-31 08:23:11

soren
Member
Registered: 2023-04-30
Posts: 142  

Re: NetworkManager and drive access fail

Its generally a good idea to let the forum know what your system specs are,what version of devuan and what desktop environment etc. It sounds like you have a polkit issue, is polkit installed?

Offline

#4 2024-07-31 09:32:26

tyrlak
Member
Registered: 2024-04-26
Posts: 29  

Re: NetworkManager and drive access fail

I should have, sry abt that and ty soren for reminding me in such a kind way. I have Daedalus 5.0 and I'm using xfce desktop environment.

Offline

#5 2024-07-31 09:37:57

tyrlak
Member
Registered: 2024-04-26
Posts: 29  

Re: NetworkManager and drive access fail

I don't have polkit. It is used to give user permission for different services, such as network management?

I don't have experience using this and I'm researching to find resources and learn about it. If you have any proposal for a good resource I'd be grateful.

Offline

#6 2024-07-31 10:42:21

alexkemp
Member
Registered: 2018-05-14
Posts: 338  

Re: NetworkManager and drive access fail

A quick n easy way to show system setup to fulfil soren's advice is the terminal command neofetch:

$ neofetch
   ..,,;;;::;,..                   alexk@ng3 
           `':ddd;:,.              --------- 
                 `'dPPd:,.         OS: Devuan GNU/Linux 5 (daedalus) x86_64 
                     `:b$$b`.      Model: 90BJ008CUK Lenovo H30-05 
                        'P$$$d`    Kernel: 6.1.0-23-amd64 
                         .$$$$$`   Uptime: 7 days, 2 hours, 22 mins 
                         ;$$$$$P   Packages: 3167 (dpkg) 
                      .:P$$$$$$`   Shell: bash 5.2.15 
                  .,:b$$$$$$$;'    Resolution: 1920x1080 
             .,:dP$$$$$$$$b:'      DE: Xfce 4.18 
      .,:;db$$$$$$$$$$Pd'`         WM: Xfwm4 
 ,db$$$$$$$$$$$$$$b:'`             WM Theme: Default 
:$$$$$$$$$$$$b:'`                  Theme: Clearlooks-Phenix-Sapphire [GTK2] 
 `$$$$$bd:''`                      Icons: oxygen [GTK2] 
   `'''`                           Terminal: xfce4-terminal 
                                   Terminal Font: Monospace 12 
                                   CPU: AMD A8-7410 APU with AMD Radeon R5 Grap 
                                   GPU: AMD ATI Radeon R4/R5 Graphics 
                                   Memory: 3496MiB / 7356MiB

(in life much more colourful than the above)

Offline

#7 2024-07-31 11:10:01

tyrlak
Member
Registered: 2024-04-26
Posts: 29  

Re: NetworkManager and drive access fail

Alexkemp, thank you. I appreciate your proposal. It was helpful to get the exact information. All information is a bit privacy intrusive for me. Here is what I think matters. Tell me if anything is missing

OS: Devuan GNU/Linux 5 (daedalus) x86_64 
Kernel: 6.1.0-23-amd64 
DE: Xfce 4.18

Offline

#8 2024-07-31 16:23:58

chris2be8
Member
Registered: 2018-08-11
Posts: 306  

Re: NetworkManager and drive access fail

Check what groups you are in (running id or groups will tell you). That's always worth checking when you get told you are not authorized to do something.

If you find you need to be in one or more groups then usermod -a -G group1,group2 $USER should do the job (see man usermod for details).

If /etc/group seems damaged then sudo grpck would be a good idea. But I hope you don't need to do that (or sudo pwck to check /etc/passwd etc).

Offline

#9 2024-07-31 22:59:10

soren
Member
Registered: 2023-04-30
Posts: 142  

Re: NetworkManager and drive access fail

@trylak
As per chris2be8 advice, i think you need to also be in the "plugdev" group as well as the "netdev" group.
Im not sure how you would manage networkmanager without polkit, its probably best to install polkitd and reboot.

sudo gpasswd -a tyrlak plugdev
sudo apt install polkitd

reboot

Offline

#10 2024-08-05 08:56:05

Findgreen
Member
Registered: 2024-08-04
Posts: 1  

Re: NetworkManager and drive access fail

Polkit is  essential component in Linux systems that allows for permission management. Without it many operations including network management can be challenging. I agree with chris2be8 that it's good to be in the plugdev and netdev groups. I also recommend checking ou  Polkit documentation to understand its functionality bettersmile

Offline

Board footer