Skip to main content
Topic: [SOLVED] networkmanager not working (Read 748 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] networkmanager not working

Hello, Artix newbie here.
I have been trying to get networkmanager working on my new runit Artix install, yet no matter what I try, it is still missing.
When I ping google.com, I get an error that states "ping: google.com: Temporary failure in name resolution"
Could you people explain what I am doing wrong?

Re: networkmanager not working

Reply #1
Try ping 1.1.1.1
Code: [Select]
❯ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=56 time=6.48 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=56 time=6.95 ms
64 bytes from 1.1.1.1: icmp_seq=3 ttl=56 time=5.74 ms

If you get replies as above it's a problem with DNS.

What is the output of
Code: [Select]
cat /etc/resolv.conf

Re: networkmanager not working

Reply #2
Sorry for the late reply, but I inputted the commands that you told me.
When I input "ping 1.1.1.1", the error is "ping: connect: Network is unreachable".
When I do the cat command, it says "# Resolver configuration file. #See resolv.conf(5) for details"

Re: networkmanager not working

Reply #3
That was the the first thing to check.

As you have have no network connection at all you need to give more detail.
What type of connection, wired or wifi ?
Quote
yet no matter what I try, it is still missing
What have you tried ? Show the output.

Re: networkmanager not working

Reply #4
I am using a wired connection.
I have tried things like trying to reinstall networkmanager from the live installation media.

Re: networkmanager not working

Reply #5
You used the plural of thing yet only mentioned one thing you tried.






Re: networkmanager not working

Reply #6
Other things include trying to re-add the networkmanager service into the runit service directory, and launching the service manually.



I think it would be easier to redo the install at this point.

Re: networkmanager not working

Reply #7
I think it would be easier to redo the install at this point.

Redo install is always easier. Don't you want to know the reasons of malfunction?

Did you try to increase verbosity of runit service? I am not an expert in runit or networkmanager but I guess there's gonna be a way to see why networkmanager doesn't connect. Did you try to connect other ways? Did you check your ethernet card status? Did you look in your dmesg?

Re: networkmanager not working

Reply #8
What is the output of
Code: [Select]
ip link show

Re: networkmanager not working

Reply #9
The output of the command is
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group DEFAULT qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisk noop state DOWN mode DEFAULT group DEFAULT qlen 1000
     link/ether 54:e1:ad:bb:4b:d7 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisk noop state DOWN mode DEFAULT group DEFAULT qlen 1000
     link/ether 44:03:2c:a2:67:2d brd ff:ff:ff:ff:ff:ff

Re: networkmanager not working

Reply #10
Well your device is there then.
I don't use networkmanager and consider it overkill for a wired connection.
But in theory it should just work with a wired connection I think?

You mentioned " launching the service manually". What I would be trying is stopping the service and then running networkmanager directly in a terminal to see the output. But before that I'd have a look in the log files under /var/log as if it really has been running then there should be some errors / information in there. /var/log/daemon.log /var/log/syslog.log.

What is the output of
Code: [Select]
sudo dhcpcd eth0
(preferably with networkmanager service stopped as before)


Re: networkmanager not working

Reply #11
Sorry for the (very) late reply, but I was able to fix the issue by reinstalling Artix. I probably messed something up and/or forgot to do something in the previous install. Thanks a lot either way though.