You are not logged in.
Pages: 1
I've recently installed arch linux on my computer and have been trying to install paru but whenever I do it fails, I tried to trouble shoot and found out that I cant ping github and github pages but I can ping every other website including github docs. the only things that I have installed related to networks are iwd, systemd-resolved and Network manager while I only enable iwd and systemd-resolved.
the out put when I ping github or github pages:
ping: connect: Network is unreachable
Last edited by Omarz2012 (2024-11-05 22:42:27)
Offline
The first thing I would do is ping github from another machine and note down the IP. Then I would try pinging the IP from your ArchLinux box to see if that works or not. If it does, then it's a resolver problem and you want to check /etc/resolv.conf (which will probably tell you to check a file under /etc/netctl instead). You could also try disabling firewalls. I don't think Arch comes with a default firewall so it would depend on what you installed.
Having said that, it sounds like you have a routing problem. Maybe include the output of ip -r and /etc/netctl/<interface> and see if we can check if you configured your gateway correctly.
Offline
github.com doesn't have an AAA record, so most likely an IPv4 issue?
ip a; ip r; ping -4 -c1 8.8.8.8
"ip a" will possibly show a publically routable address, only the first to blocks of inet6 addresses are relevant to gage what that is, you can obfuscate the rest
Offline
what are blocks?
github.com doesn't have an AAA record, so most likely an IPv4 issue?
ip a; ip r; ping -4 -c1 8.8.8.8
"ip a" will possibly show a publically routable address, only the first to blocks of inet6 addresses are relevant to gage what that is, you can obfuscate the rest
also do I run the command or just IP a
Last edited by Omarz2012 (2024-11-05 20:06:48)
Offline
Blocks are the parts of an ipv6 address separated by colons ":". The following command obfuscates all addresses automatically:
(ip a ; ip r ) | sed -E 's/(\w+[.:]\w*[.:])[0-9a-fA-F:.]+/\1######/g' ; ping -4 -c1 8.8.8.8
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
output is
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:###### brd 00:00:######
inet 127.0.######/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 08:8f:###### brd ff:ff:######
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 74:4c:###### brd ff:ff:######
inet6 2607:fea8:######/64 scope global dynamic mngtmpaddr proto kernel_ra
valid_lft 298sec preferred_lft 298sec
inet6 fe80::######/64 scope link proto kernel_ll
valid_lft forever preferred_lft forever
ping: connect: Network is unreachable
Offline
You don't have an IPv4 lease.
Please post the output of
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
Did you enable https://wiki.archlinux.org/title/Iwd#En … figuration ?
Offline
im an idiot. Well thank you for helping me and being so patient
Last edited by Omarz2012 (2024-11-05 23:03:09)
Offline
If you fixed this by enabling iwd's network configuration you had systemd-networkd not enabled or unconfigured for that NIC, https://wiki.archlinux.org/title/System … work_files
Offline
Pages: 1