You are not logged in.
Booted my PC and i'm unable to connect to the internet.
$ nmcli device status
returns
ethernet(as well as loopback) being "unmanaged".
How would you go on about resolving the issue?
NOTE: I got the internet working. But the post, from where i got the solution, doesn't delve into the details of how the solution was reached -- which i'm interested in.
Last edited by fioreun (2024-09-03 18:22:45)
Offline
So it didn't work, but then you did something according to some post and now it does work and you want us to explain why that is?
Offline
[...]and you want us to explain why that is?
Not exactly. The fix in my case was to execute:
$ nmcli networking on
I want to know what I could've done to figure that out.
Offline
Remembered that you turned it off?
Checked the system journal?
Checked the networkmanager status (not of the service but eg. w/ nmcli networking or nmcli general)
You're supposed to know how your network is configured.
Then you check whether there are any errors with that.
There's no magic tool to tell you why the system isn't configured the way you expect it to be in your mind.
I btw. assume that you didn't disable NM yourself and that the system is misconfigured and there's a race condition, so for a very basic sanity check:
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Offline
Checked the system journal?
Checked the networkmanager status (not of the service but eg. w/ nmcli networking or nmcli general)
This is helpful.
$ find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
getty@tty1.service | getty.target.wants
p11-kit-server.socket | sockets.target.wants
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
Offline
Is that all?
You don't have any network managing dameons (incl. NM) enabled, but concurrently pipewire and pulseaudio.
Install pipewire-pulse and revisit the NM wiki.
Offline
Is that all?
That's right.
You don't have any network managing dameons (incl. NM) enabled
That's by choice.
but concurrently pipewire and pulseaudio. Install pipewire-pulse
I explicitly installed pulseaudio but pipewire got installed as a dependency for another package. Will look into it.
Offline