You are not logged in.
Pages: 1
Topic closed
ping: archlinux.org: Temporary failure in name resolution
I'm on a fresh install of Arch. During installation I had network up and running just fine. I'm using ethernet.
I can ping localhost, but when I ping my router or 8.8.8.8 I get "connect: Network is unreachable".
ip addr output:
1: lo <LOOPBACK,UP,LOWER_UP> mtu qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 1c:1b:0d:18:af:f6 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.143/24 brd 192.168.1.255 scope global enp5s0
valid_lft forever preferred_lft forever
inet6 fe80::1e1b::dff:fe18:aff6/64 scope link
valid_lft forever preferred_lft forever
(note: copied output by hand, I think I got it all right)
At first, enp5s0 was down so I set it to up. I didn't have an ipv4 address on enp5s0 so I added it with "ip addr add 192.168.1.143/24 broadcast + dev enp5s0". I still can't ping 8.8.8.8 though.
My /etc/resolve.conf:
# Resolver configuration File
# See resolv.conf(5) for details
I know that this is incorrect and will need addressed, but I can't even hit 8.8.8.8 directly so I figured I'd cross that bridge when I get there.
Last edited by dunkzone (2018-05-27 15:30:11)
Offline
I didn't have an ipv4 address on enp5s0 so I added it with "ip addr add 192.168.1.143/24 broadcast + dev eth0".
The device name being eth0 is a transcription error? Should the system have a static ip address? If it worked using the boot media that would be using dhcpcd.
Offline
dunkzone wrote:I didn't have an ipv4 address on enp5s0 so I added it with "ip addr add 192.168.1.143/24 broadcast + dev eth0".
The device name being eth0 is a transcription error? Should the system have a static ip address? If it worked using the boot media that would be using dhcpcd.
It is, I've edited accordingly.
I do not need a static IP. I will read the dhcpcd docs for now, thanks.
Offline
I just ran dhcpcd and now everything works. I will look into starting the service at system start. Thanks for the info.
Offline
This is all covered in...
https://wiki.archlinux.org/index.php/Ne … figuration
which the installation guide tells you to follow.
Offline
@Slithery and the first section of that is Network_configuration#Ping which contains no explanation about the expected result before any configuration has been performed.
Which matches dunkzone following exactly that page in order moving on to static ip addresses.
Offline
Which is btw. "new" - and disputed, see https://wiki.archlinux.org/index.php/Ta … ng_rewrite
Offline
I can ping localhost, but when I ping my router or 8.8.8.8 I get "connect: Network is unreachable".
You're missing your default route (run `ip route show`), which is why dhcp fixed your problem.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Sorry to resurrect an old thread but I'm having a similar problem.
ip route show
doesn't display anything but ip link does show a wifi connection at wlo1.
During installation from the ISO, I was able to connect to my access point without an issue using wifi-menu. After installation however, I'm getting the same Temporary failure in name resolution error when I try to ping.
Via the chroot I've installed NetworkManager and wpa_supplicant. I'm wondering if I forgot a step? Any help much appreciated.
PS: haven't gotten to the point of installing a GUI yet so copying/pasting actual output is going to be tough.
Offline
Please don't necrobump: https://wiki.archlinux.org/index.php/Co … bumping%22
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Pages: 1
Topic closed