You are not logged in.

#1 2020-02-06 23:50:45

Shune
Member
Registered: 2020-02-06
Posts: 3

"ping: archlinux.org: Temporary failure in name resolution" in VB

Hi guys,
I have installed a fresh Arch Linux base in Oracle VM Virtual Box, the ping was working, everything fine and suddenly it stops to ping archlinux.org and google.com
I've made a clone in case I screw something but even the clon can't connect.
I'm going to post some useful material in case someone wants to help me (please help me sad )

# ping google.com
ping: archlinux.org: Temporary failure in name resolution
# ping 127.0.0.1
6 recived/ 0% lost

/etc/resolv.conf is empty.
Appear [ File '/etc/resolv.conf' is unwritable ] in the end of the text (I'm using nano).

# ip link
# ip address
# lspci -k
# ip link
1: lo: <LOOPBACK, UP, LOWER UP> mtu 65536 disc noqueue state UNKNOWN mode DEFAULT group default glen
1000
link loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: empos3: <BROADCAST, MULTICAST> mtu 1500 disc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 08:00:27:67:dd to brd ff:ff:ff: ff:ff
[root@XXX # ip address
1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default q len 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 ift forever
inet6 ::1/128 scope host
valid_1ft forever preferred ift forever

2: empos3: <BROADCAST, MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000

link/ether 08:00:27:67:dd: fo brd ff:ff:ff:ff:ff:ff
[root@XXX # lspci -k
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC INatoma] (rev 02)

Kernel modules: intel_agp
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]

Kernel driver in use: ata_piix

Kernel modules: ata_piix, pata_acpi, ata_generic
00:02.0 VGA compatible controller: VMware SVGA II Adapter

Subsystem: VMware SVGA II Adapter
Kernel driver in use: umwgfx
Kernel modules: umwgfx

00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)

Subsystem: Intel Corporation PRO/1000 MT Desktop Adapter
Kernel driver in use: e1000

Kernel modules: e1000
00:04.0 System peripheral: InnoTek Systenberatung GmbH VirtualBox Guest Service

Kernel driver in use: vboxguest
Kernel modules: vboxguest

00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (reu 01)

Subsystem: Dell 82801AA Ac97 Audio Controller
Kernel driver in use: snd_intel8x0
Kernel modules: snd_inte18x0

00:06.0 USB controller: Apple Inc. KeyLargo/Intrepid USB
Kernel driver in use: ohci-pci
Kernel modules: ohci_pci

Kernel driver in use: piix4_smbus
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI Creu 08)

Kernel modules: i2c_piix4
00:0b.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller

Kernel driver in use: ehci-pci
Kernel modules: ehci_pci
post corporation
reu 02)
00:00.0 SATA controller: Intel Corporation 82801HM/HEM (ICHOM/ICH8M-E) SATA Controller [AHCI model (
Kernel driver in use: ahci
Kernel modules: ahci

What i can do? Do you see something wrong??

Last edited by Shune (2020-02-07 09:29:38)

Offline

#2 2020-02-07 00:32:30

sammiev
Member
Registered: 2018-12-22
Posts: 87

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

Did you create the /etc/hostname file?
and Add matching entries to hosts?

See "Network configuration" in the arch wiki installation guide.

Offline

#3 2020-02-07 07:50:21

seth
Member
Registered: 2012-09-03
Posts: 58,717

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

Welcome to the forum.
Please use code tags, not quote tags for shell I/O and file contents.

Your NIC isn't up and doesn't have an IP - that's before any routing, resolver or hostname issues.

https://wiki.archlinux.org/index.php/In … l_packages
Which network managing service did you install & enable?

systemctl list-unit-files --state=enabled

dhcpcd should do.

Online

#4 2020-02-07 09:39:58

Shune
Member
Registered: 2020-02-06
Posts: 3

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

sammiev wrote:

Did you create the /etc/hostname file?
and Add matching entries to hosts?

See "Network configuration" in the arch wiki installation guide.

Yes I did at the beginning and check after again.

nano /etc/hostname
hostname
nano /etc/hosts
127.0.0.1 localehost
::1 localehost
127.0.1.1 hostname.localdomain hostname

The Network tutorial isn't clear enough for my case.

Offline

#5 2020-02-07 10:12:06

progandy
Member
Registered: 2012-05-17
Posts: 5,262

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

Again:

seth wrote:

Which network managing service did you install & enable?

systemctl list-unit-files --state=enabled

If you do not have started any network service, then you should do so.

dhcpcd should do.

Even systemd-networkd should do if you did not install dhcpcd. (just create a file for wired dhcp, and enable and start the two services)
https://wiki.archlinux.org/index.php/Systemd-networkd


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2020-02-07 11:17:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,930

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

nano /etc/hostname
hostname

The contents of /etc/hostname are supposed to be a unique name that can be used to identify the machine on networks.
Maybe you could use something like vbox1 instead of hostname ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2020-02-07 11:23:30

Shune
Member
Registered: 2020-02-06
Posts: 3

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

Lone_Wolf wrote:

nano /etc/hostname
hostname

The contents of /etc/hostname are supposed to be a unique name that can be used to identify the machine on networks.
Maybe you could use something like vbox1 instead of hostname ?

For privacy I replaced the hostname. In the file it's a unique name.

Offline

#8 2020-02-07 11:50:43

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,930

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

Understood, please mention that next time you post it.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB