You are not logged in.
ip a output: https://imgur.com/a/o2k7EoB
Network card: Qualcomm Atheros AR9485 Wireless Network Adapter.
ping archlinux.org outputs "Destination unreachable: No route"
I was perfectly able to connect to the very same network with my phone (and make this post with it).
Can anyone help me?
Offline
You have no IPv4 address and only have a local IPv6 address.
How are you connecting to the WiFi? Are you just using wpa_suplicant?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
It looks like you connected, but there is no IPv4 address. You probably did not configure a dhcp client to receive an IP and valid routes.
IPv6 is also not configured, so maybe your network does not support ipv6 or requires dhcpv6.
If you use iwd you can configure it to perform the dhcp network configuration, otherwise choose something else: https://wiki.archlinux.org/title/DHCP#DHCP (either a client or a network manager)
Last edited by progandy (2022-03-25 14:10:08)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
It looks like you connected, but there is no IPv4 address. You probably did not configure a dhcp client to receive an IP and valid routes.
IPv6 is also not configured, so maybe your network does not support ipv6 or requires dhcpv6.If you use iwd you can configure it to perform the dhcp network configuration, otherwise choose something else: https://wiki.archlinux.org/title/DHCP#DHCP (either a client or a network manager)
Just checked my nm-connection-editor and it said that both my IPv4 and IPv6 were automatic. So what went wrong?
Offline
Look through your logs for DHCP and see if there is anything relevant. Is this a network you administer?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Look through your logs for DHCP and see if there is anything relevant. Is this a network you administer?
dhcpcd log: https://imgur.com/a/Bu7TgXZ
I believe the "no global addresses for default route" is the culprit for the issue. Do you know what does this mean?
Also I do not administer this network.
Last edited by naturalsurrender (2022-03-25 14:41:03)
Offline
Network card: Qualcomm Atheros AR9485 Wireless Network Adapter.
Online
dhcpcd log?
nm-connection -editor?
Smells like multiple services also.
Offline
dhcpcd log?
nm-connection -editor?Smells like multiple services also.
So which one should I disable?
Offline
So which one should I disable?
Every network daemon except networkmanager...
And read seth's link.
Edit: And read this...
https://wiki.archlinux.org/title/NetworkManager
Last edited by Zod (2022-03-25 14:57:08)
Offline
naturalsurrender wrote:So which one should I disable?
Every network daemon except networkmanager...
And read seth's link.
Edit: And read this...
https://wiki.archlinux.org/title/NetworkManager
I have dhcpcd running in the background now. If I kill it, everything crashes, so I don't know how to kill it without screwing myself over
Offline
If I kill it, everything crashes
Everything? Like you house collapsing and the stars dropping out of the sky?
https://bbs.archlinux.org/viewtopic.php?id=57855
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
And as pointed out before, the ath9k driver has a massive bug in the current kernel, so you want to downgrade that.
Online
If I kill it, everything crashes
Everything? Like you house collapsing and the stars dropping out of the sky?
https://bbs.archlinux.org/viewtopic.php?id=57855
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
And as pointed out before, the ath9k driver has a massive bug in the current kernel, so you want to downgrade that.
Here's the output for your command:
cronie.service | multi-user.target.wants
dbus-org.freedesktop.network1.service | system
dbus-org.freedesktop.nm-dispatcher.service | system
dbus-org.freedesktop.resolve1.service | system
dbus-org.freedesktop.timesync1.service | system
dhcpcd.service | multi-user.target.wants
dirmngr.socket | sockets.target.wants
display-manager.service | system
gcr-ssh-agent.socket | sockets.target.wants
getty@tty1.service | getty.target.wants
gpg-agent-browser.socket | sockets.target.wants
gpg-agent-extra.socket | sockets.target.wants
gpg-agent-ssh.socket | sockets.target.wants
gpg-agent.socket | sockets.target.wants
gpm.service | multi-user.target.wants
iwd.service | multi-user.target.wants
NetworkManager-wait-online.service | network-online.target.wants
NetworkManager.service | multi-user.target.wants
p11-kit-server.socket | sockets.target.wants
pipewire-media-session.service | pipewire.service.wants
pipewire-session-manager.service | user
pipewire.socket | sockets.target.wants
pulseaudio.socket | sockets.target.wants
remote-fs.target | multi-user.target.wants
sshd.service | multi-user.target.wants
systemd-network-generator.service | sysinit.target.wants
systemd-networkd-wait-online.service | network-online.target.wants
systemd-networkd.service | multi-user.target.wants
systemd-networkd.socket | sockets.target.wants
systemd-resolved.service | multi-user.target.wants
systemd-timesyncd.service | sysinit.target.wants
xdg-user-dirs-update.service | default.target.wants
I already downgraded to 5.16.13 kernel.
uname -a output:
Linux archlinux 5.16.13-zen1-1-zen #1 ZEN SMP PREEMPT Tue, 08 Mar 2022 20:07:38 +0000 x86_64 GNU/Linux
Offline
Well, yeah.
You've dhcpcd, iwd, Networkmanager and systemd-networkd enabled - alllowing me post this meme for the second time this week:
Pick one, stop and disable the others.
Online
Well, yeah.
You've dhcpcd, iwd, Networkmanager and systemd-networkd enabled - alllowing me post this meme for the second time this week:
https://thumbs.gfycat.com/LargeWarmLadybird-max-1mb.gifPick one, stop and disable the others.
So I uninstalled iwd and systemd-networkd and my net is getting back even after reboots, thanks!
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Online