You are not logged in.

#1 2021-06-28 09:51:04

toni
Member
Registered: 2011-10-15
Posts: 437

[SOLVED] No ping - Temporary failure in name resolution

I have installed a fresh Arch Linux from the scratch into a VirtualBox virtual machine.
My vbox virtual machine has configured as NAT (which is associated to the WiFi of the host Windows 10 computer).
Within the Arch Linux installation process, I was having internet connection without problems.
After following all the steps indicated in the installation guide wiki, I have arrived to the last one, reboot the computer to enter in the new system.
New system boots ok without any problems and I get to the console prompt, I log in with my user and when I try to do a ping below message appears:

Temporary failure in name resolution

Below I attached a screenshot showing the results for the commands:

# ip link
# ip address
# lspci -k

Screenshot

I would like to install the minimun packages required to make internet work.

How can I do this?

Last edited by toni (2021-06-29 00:12:22)

Offline

#2 2021-06-28 18:09:19

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] No ping - Temporary failure in name resolution


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2021-06-29 00:08:48

toni
Member
Registered: 2011-10-15
Posts: 437

Re: [SOLVED] No ping - Temporary failure in name resolution

Finally I have solved by performing this:

# sudo systemctl enable dhcpcd@<interface>.service
# sudo systemctl start dhcpcd@<interface>.service

where interface is the name of the interface which can be obtained executing

# ip link

Since in my case the name of the interface is enp0s3:

# sudo systemctl enable dhcpcd@enp0s3.service
# sudo systemctl start dhcpcd@enp0s3.service

Then reboot.

If after reboot the system hangs forever (as in my case), it is due dhcpcd service starts before your network card module so it is necessary to create a file in /etc/modules-load.d/<file-name>.conf where file-name can be any you desired (for example the manufacturer ot your network card). This file must contain a line with the name of the kernel driver in use that you know if you execute lspci -v, in my case the name of de kernel drive in use is e1000 so I do the following:

# tee /etc/modules-load.d/intel.conf <<< "e1000"

References: here

Last edited by toni (2021-06-29 00:10:11)

Offline

#4 2021-06-29 07:08:09

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,632
Website

Re: [SOLVED] No ping - Temporary failure in name resolution

Mod note: Not an installation issue, moving to NC.


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.

Offline

Board footer

Powered by FluxBB