You are not logged in.

#1 2024-09-02 21:37:27

fioreun
Member
Registered: 2024-09-02
Posts: 4

[Solved] Unable to connect to the internet

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

#2 2024-09-02 22:03:03

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: [Solved] Unable to connect to the internet

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?

=> https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#3 2024-09-02 22:17:51

fioreun
Member
Registered: 2024-09-02
Posts: 4

Re: [Solved] Unable to connect to the internet

[...]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

#4 2024-09-02 22:30:11

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: [Solved] Unable to connect to the internet

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

#5 2024-09-03 15:06:17

fioreun
Member
Registered: 2024-09-02
Posts: 4

Re: [Solved] Unable to connect to the internet

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

#6 2024-09-03 15:12:20

seth
Member
Registered: 2012-09-03
Posts: 57,935

Re: [Solved] Unable to connect to the internet

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

#7 2024-09-03 18:21:55

fioreun
Member
Registered: 2024-09-02
Posts: 4

Re: [Solved] Unable to connect to the internet

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

Board footer

Powered by FluxBB