You are not logged in.

#1 2018-05-27 15:05:55

dunkzone
Member
Registered: 2018-05-27
Posts: 3

ping: archlinux.org: Temporary failure in name resolution

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

#2 2018-05-27 15:21:10

loqs
Member
Registered: 2014-03-06
Posts: 17,362

Re: ping: archlinux.org: Temporary failure in name resolution

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.

Offline

#3 2018-05-27 15:31:34

dunkzone
Member
Registered: 2018-05-27
Posts: 3

Re: ping: archlinux.org: Temporary failure in name resolution

loqs wrote:
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

#4 2018-05-27 15:33:53

dunkzone
Member
Registered: 2018-05-27
Posts: 3

Re: ping: archlinux.org: Temporary failure in name resolution

I just ran dhcpcd and now everything works. I will look into starting the service at system start. Thanks for the info.

Offline

#5 2018-05-27 16:08:10

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: ping: archlinux.org: Temporary failure in name resolution

This is all covered in...
https://wiki.archlinux.org/index.php/Ne … figuration
which the installation guide tells you to follow.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#6 2018-05-27 16:17:45

loqs
Member
Registered: 2014-03-06
Posts: 17,362

Re: ping: archlinux.org: Temporary failure in name resolution

@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

#7 2018-05-27 20:28:25

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: ping: archlinux.org: Temporary failure in name resolution

Which is btw. "new" - and disputed, see https://wiki.archlinux.org/index.php/Ta … ng_rewrite

Offline

#8 2018-05-27 23:21:33

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: ping: archlinux.org: Temporary failure in name resolution

dunkzone wrote:

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.

Offline

#9 2019-01-15 04:50:26

viniosity
Member
From: New York, NY
Registered: 2005-01-22
Posts: 404
Website

Re: ping: archlinux.org: Temporary failure in name resolution

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

#10 2019-01-15 06:47:12

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,857
Website

Re: ping: archlinux.org: Temporary failure in name resolution


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

Board footer

Powered by FluxBB