You are not logged in.

#1 2016-05-15 15:36:36

krypt
Member
Registered: 2016-05-15
Posts: 26

[SOLVED] Network Unreachable

Hello,

After some time working with distros like Fedora, Ubuntu, Mint and such I decided to give Arch a go. However we didn't really had a good start. I know there are a lot of topics about this problem but unfortunately none of them seemed to help my case. During installation from USB media I can't get a working network connection. Apart from trying to connect to network using dhcp for which I've provided the relevant logs below, I've also tried to use the static configuration of netctl which let me ping my router that is 192.168.1.1 but returned destination unreachable error. I am sure the cables and the router is fine since I have Windows 8 up and running on the same machine (I want to dual boot) which has no problem connecting to the network.

Win8 ipconfig

IPv4 Address. . . . . . . . . . . : 192.168.1.35
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether fc:aa:14:55:a0:2b brd ff:ff:ff:ff:ff:ff

systemctl dhcpcd@enp3s0.service

-- Unit dhcpcd@enp3s0.service has begun starting up.
May 15 18:21:26 archiso dhcpcd[615]: DUID 00:01:00:01:1e:cb:7a:19:fc:aa:14:55:a0:2b
May 15 18:21:26 archiso dhcpcd[615]: enp3s0: IAID 14:55:a0:2b
May 15 18:21:26 archiso dhcpcd[615]: enp3s0: soliciting a DHCP lease
May 15 18:21:26 archiso dhcpcd[615]: enp3s0: soliciting an IPv6 router
May 15 18:21:38 archiso dhcpcd[615]: enp3s0: no IPv6 Routers available
May 15 18:21:56 archiso dhcpcd[615]: timed out
May 15 18:21:56 archiso dhcpcd[615]: dhcpcd exited
May 15 18:21:56 archiso systemd[1]: dhcpcd@enp3s0.service: Control process exited, code=exited status=1
May 15 18:21:56 archiso systemd[1]: Failed to start dhcpcd on enp3s0.
-- Subject: Unit dhcpcd@enp3s0.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit dhcpcd@enp3s0.service has failed.
-- 
-- The result is failed.
May 15 18:21:56 archiso systemd[1]: dhcpcd@enp3s0.service: Unit entered failed state.
May 15 18:21:56 archiso systemd[1]: dhcpcd@enp3s0.service: Failed with result 'exit-code'.

netctl start example-dhcp

-- Unit netctl@ethernet\x2ddhcp.service has begun starting up.
May 15 18:23:00 archiso network[643]: Starting network profile 'ethernet-dhcp'...
May 15 18:23:00 archiso kernel: r8169 0000:03:00.0 enp3s0: link down
May 15 18:23:00 archiso kernel: r8169 0000:03:00.0 enp3s0: link down
May 15 18:23:00 archiso kernel: IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
May 15 18:23:02 archiso kernel: r8169 0000:03:00.0 enp3s0: link up
May 15 18:23:02 archiso kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
May 15 18:23:02 archiso dhcpcd[668]: DUID 00:01:00:01:1e:cb:7a:19:fc:aa:14:55:a0:2b
May 15 18:23:02 archiso dhcpcd[668]: enp3s0: IAID 14:55:a0:2b
May 15 18:23:02 archiso dhcpcd[668]: enp3s0: soliciting a DHCP lease
May 15 18:23:32 archiso dhcpcd[668]: timed out
May 15 18:23:32 archiso dhcpcd[668]: dhcpcd exited
May 15 18:23:32 archiso network[643]: DHCP IPv4 lease attempt failed on interface 'enp3s0'
May 15 18:23:32 archiso network[643]: Failed to bring the network up for profile 'ethernet-dhcp'
May 15 18:23:32 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Main process exited, code=exited, status=1/FAILURE
May 15 18:23:32 archiso systemd[1]: Failed to start Networking for netctl profile ethernet-dhcp.
-- Subject: Unit netctl@ethernet\x2ddhcp.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit netctl@ethernet\x2ddhcp.service has failed.
-- 
-- The result is failed.
May 15 18:23:32 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Unit entered failed state.
May 15 18:23:32 archiso systemd[1]: netctl@ethernet\x2ddhcp.service: Failed with result 'exit-code'.

Last edited by krypt (2016-05-22 10:47:55)

Offline

#2 2016-05-15 15:39:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,773

Re: [SOLVED] Network Unreachable

Welcome to Arch.  What make and model is the interface?  Post the output of lspci -nn


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-05-15 15:48:32

krypt
Member
Registered: 2016-05-15
Posts: 26

Re: [SOLVED] Network Unreachable

Thank you. The interface is

03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8186] (rev 06)

and it is using r8169 kernel driver.

Offline

#4 2016-05-15 19:34:14

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] Network Unreachable

Does manual connection work?

# ip r flush dev enp3s0
# ip a flush dev enp3s0
# ip l set enp3s0 up
# ip a add 192.168.1.69/24 dev enp3s0
# ip r add default via 192.168.1.1
# echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4" > /etc/resolv.conf

Offline

#5 2016-05-16 17:14:55

krypt
Member
Registered: 2016-05-15
Posts: 26

Re: [SOLVED] Network Unreachable

No manual connection also doesn't work. I can't even ping the gateway. Ethernet link is on and Wake On Lan is enabled on Realtek Drivers under windows.

Offline

#6 2016-05-16 19:49:12

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] Network Unreachable

krypt wrote:

doesn't work

Please post any terminal output verbatim, see https://bbs.archlinux.org/viewtopic.php?id=57855

Offline

#7 2016-05-17 15:20:27

krypt
Member
Registered: 2016-05-15
Posts: 26

Re: [SOLVED] Network Unreachable

I am sorry I thought it was a quick question. Well there are no terminal outputs and I don't know what to post other than journal entries so here they are. I just booted, logged in and typed the commands you had suggested.

May 17 18:02:20 archiso login[399]: ROOT LOGIN ON tty1
May 17 18:02:22 archiso dhcpcd[392]: enp3s0: leased 192.168.1.35 for 3600 seconds
May 17 18:02:22 archiso dhcpcd[392]: enp3s0: adding route to 192.168.1.0/24
May 17 18:02:22 archiso dhcpcd[392]: enp3s0: adding default route via 192.168.1.1
May 17 18:02:22 archiso dhcpcd[392]: forked to background, child pid 618
May 17 18:02:22 archiso systemd[1]: Started dhcpcd on enp3s0.
May 17 18:02:22 archiso systemd[1]: Reached target Network.
May 17 18:02:22 archiso systemd[1]: Startup finished in 5.991s (kernel) + 11.105s (userspace) = 36.758s.
May 17 18:02:30 archiso dhcpcd[618]: enp3s0: no IPv6 Routers available
May 17 18:02:52 archiso dhcpcd[618]: enp3s0: carrier lost
May 17 18:02:52 archiso dhcpcd[618]: enp3s0: deleting address fe80::a087:c138:39e9:ec1a
May 17 18:02:52 archiso dhcpcd[618]: enp3s0: deleting route to 192.168.1.0/24
May 17 18:02:52 archiso dhcpcd[618]: enp3s0: deleting default route via 192.168.1.1
May 17 18:03:29 archiso dhcpcd[618]: enp3s0: carrier acquired
May 17 18:03:29 archiso dhcpcd[618]: enp3s0: adding address fe80::a087:c138:39e9:ec1a
May 17 18:03:29 archiso kernel: r8169 0000:03:00.0 enp3s0: link down
May 17 18:03:29 archiso kernel: IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
May 17 18:03:29 archiso kernel: r8169 0000:03:00.0 enp3s0: link down
May 17 18:03:29 archiso dhcpcd[618]: enp3s0: IAID 14:55:a0:2b
May 17 18:03:29 archiso dhcpcd[618]: enp3s0: carrier lost
May 17 18:03:29 archiso dhcpcd[618]: enp3s0: deleting address fe80::a087:c138:39e9:ec1a
May 17 18:03:30 archiso dhcpcd[618]: enp3s0: carrier acquired
May 17 18:03:30 archiso dhcpcd[618]: enp3s0: adding address fe80::a087:c138:39e9:ec1a
May 17 18:03:30 archiso kernel: r8169 0000:03:00.0 enp3s0: link up
May 17 18:03:30 archiso kernel: IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
May 17 18:03:30 archiso dhcpcd[618]: enp3s0: IAID 14:55:a0:2b
May 17 18:03:31 archiso dhcpcd[618]: enp3s0: rebinding lease of 192.168.1.35
May 17 18:03:31 archiso dhcpcd[618]: enp3s0: soliciting an IPv6 router
May 17 18:03:36 archiso dhcpcd[618]: enp3s0: DHCP lease expired
May 17 18:03:36 archiso dhcpcd[618]: enp3s0: soliciting a DHCP lease
May 17 18:03:44 archiso dhcpcd[618]: enp3s0: no IPv6 Routers available
May 17 18:05:28 archiso kernel: fuse init (API version 7.24)
May 17 18:05:28 archiso systemd[1]: Mounting FUSE Control File System...
May 17 18:05:28 archiso systemd[1]: Mounted FUSE Control File System.
May 17 18:05:28 archiso ntfs-3g[724]: Version 2016.2.22 external FUSE 29
May 17 18:05:28 archiso ntfs-3g[724]: Mounted /dev/sdb1 (Read-Write, label "", NTFS 3.1)
May 17 18:05:28 archiso ntfs-3g[724]: Cmdline options: rw
May 17 18:05:28 archiso ntfs-3g[724]: Mount options: rw,allow_other,nonempty,relatime,fsname=/dev/sdb1,blkdev,blksize=4096
May 17 18:05:28 archiso ntfs-3g[724]: Ownership and permissions disabled, configuration type 7
May 17 18:06:54 archiso kernel: ------------[ cut here ]------------
May 17 18:06:54 archiso kernel: WARNING: CPU: 2 PID: 0 at net/sched/sch_generic.c:303 dev_watchdog+0x235/0x240()
May 17 18:06:54 archiso kernel: NETDEV WATCHDOG: enp3s0 (r8169): transmit queue 0 timed out
May 17 18:06:54 archiso kernel: Modules linked in: fuse cfg80211 rfkill kvm_amd kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper snd_hda_codec_via snd_hda_codec_generic snd_hda_codec_hdmi snd_ice1712 snd_cs8427 snd_i2c snd_ice17xx_ak4xxx ablk_helper snd_hda_intel snd_ak4xxx_adda snd_mpu401_uart snd_ac97_codec input_leds snd_hda_codec cryptd led_class psmouse snd_hda_core serio_raw sp5100_tco ac97_bus pcspkr snd_rawmidi evdev snd_hwdep fam15h_power k10temp snd_seq_device mac_hid snd_pcm i2c_piix4 edac_mce_amd edac_core snd_timer snd soundcore shpchp tpm_infineon acpi_cpufreq tpm_tis tpm processor sch_fq_codel nfs lockd grace sunrpc fscache ip_tables x_tables overlay squashfs loop nls_iso8859_1 nls_cp437 vfat fat sr_mod cdrom sd_mod ata_generic pata_acpi uas
May 17 18:06:54 archiso kernel:  usb_storage hid_generic usbhid hid atkbd libps2 crc32c_intel radeon ahci i2c_algo_bit pata_atiixp libahci drm_kms_helper syscopyarea sysfillrect libata sysimgblt xhci_pci fb_sys_fops ohci_pci ohci_hcd ehci_pci xhci_hcd ehci_hcd ttm r8169 scsi_mod usbcore mii drm usb_common i8042 serio fjes button
May 17 18:06:54 archiso kernel: CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.5.1-1-ARCH #1
May 17 18:06:54 archiso kernel: Hardware name: Gigabyte Technology Co., Ltd. To be filled by O.E.M./970A-UD3P, BIOS F1 08/06/2013
May 17 18:06:54 archiso kernel:  0000000000000286 d0c1c5dc7d33a519 ffff8801bec83d98 ffffffff812dae11
May 17 18:06:54 archiso kernel:  ffff8801bec83de0 ffffffff81771380 ffff8801bec83dd0 ffffffff81078e52
May 17 18:06:54 archiso kernel:  0000000000000000 ffff8800bdd46680 0000000000000002 ffff8801b7278000
May 17 18:06:54 archiso kernel: Call Trace:
May 17 18:06:54 archiso kernel:  <IRQ>  [<ffffffff812dae11>] dump_stack+0x63/0x82
May 17 18:06:54 archiso kernel:  [<ffffffff81078e52>] warn_slowpath_common+0x82/0xc0
May 17 18:06:54 archiso kernel:  [<ffffffff81078eec>] warn_slowpath_fmt+0x5c/0x80
May 17 18:06:54 archiso kernel:  [<ffffffff8108fab2>] ? __queue_work+0x152/0x4b0
May 17 18:06:54 archiso kernel:  [<ffffffff814ccc65>] dev_watchdog+0x235/0x240
May 17 18:06:54 archiso kernel:  [<ffffffff814cca30>] ? qdisc_rcu_free+0x40/0x40
May 17 18:06:54 archiso kernel:  [<ffffffff810e39c5>] call_timer_fn+0x35/0x150
May 17 18:06:54 archiso kernel:  [<ffffffff814cca30>] ? qdisc_rcu_free+0x40/0x40
May 17 18:06:54 archiso kernel:  [<ffffffff810e3d2c>] run_timer_softirq+0x24c/0x2f0
May 17 18:06:54 archiso kernel:  [<ffffffff8107d14d>] __do_softirq+0xcd/0x2d0
May 17 18:06:54 archiso kernel:  [<ffffffff8107d4c3>] irq_exit+0xa3/0xb0
May 17 18:06:54 archiso kernel:  [<ffffffff815b0112>] smp_apic_timer_interrupt+0x42/0x50
May 17 18:06:54 archiso kernel:  [<ffffffff815ae3f2>] apic_timer_interrupt+0x82/0x90
May 17 18:06:54 archiso kernel:  <EOI>  [<ffffffff8145fb7f>] ? cpuidle_enter_state+0x12f/0x2f0
May 17 18:06:54 archiso kernel:  [<ffffffff8145fd77>] cpuidle_enter+0x17/0x20
May 17 18:06:54 archiso kernel:  [<ffffffff810bad5a>] call_cpuidle+0x2a/0x40
May 17 18:06:54 archiso kernel:  [<ffffffff810bb155>] cpu_startup_entry+0x2c5/0x3a0
May 17 18:06:54 archiso kernel:  [<ffffffff8104ff35>] start_secondary+0x165/0x1a0
May 17 18:06:54 archiso kernel: ---[ end trace d7a9c942b7e8ebfb ]---
May 17 18:06:54 archiso kernel: r8169 0000:03:00.0 enp3s0: link up

Last edited by krypt (2016-05-17 15:20:37)

Offline

#8 2016-05-19 11:19:47

krypt
Member
Registered: 2016-05-15
Posts: 26

Re: [SOLVED] Network Unreachable

Help, please. I really wanted to try Arch Linux.

Offline

#9 2016-05-19 15:37:57

alex.theoto
Member
From: Athens Greece
Registered: 2014-11-30
Posts: 307

Re: [SOLVED] Network Unreachable

There is something at the wiki page.
Try to boot with 'iommu=soft'

Offline

#10 2016-05-22 10:47:40

krypt
Member
Registered: 2016-05-15
Posts: 26

Re: [SOLVED] Network Unreachable

alex.theoto wrote:

There is something at the wiki page.
Try to boot with 'iommu=soft'

Thank you I haven't noticed that in the guide. I've installed Arch just fine.

Offline

Board footer

Powered by FluxBB