You are not logged in.
Hi everyone,
Since the batch of updates that came witht the 3.17 kernel, I get no ethernet connection anymore after booting.
I get the following output:
● dhcpcd@enp0s25.service - dhcpcd on enp0s25
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled)
Active: active (running) since Sa 2014-10-25 13:30:24 CEST; 1min 1s ago
Process: 288 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=0/SUCCESS)
Main PID: 559 (dhcpcd)
CGroup: /system.slice/system-dhcpcd.slice/dhcpcd@enp0s25.service
└─559 /usr/bin/dhcpcd -q -w enp0s25
Okt 25 13:30:19 home-arch dhcpcd[288]: enp0s25: IAID f4:ce:dc:1b
Okt 25 13:30:20 home-arch dhcpcd[288]: enp0s25: rebinding lease of 192.168.0.22
Okt 25 13:30:20 home-arch dhcpcd[288]: enp0s25: soliciting an IPv6 router
Okt 25 13:30:24 home-arch dhcpcd[288]: enp0s25: leased 192.168.0.22 for 864000 seconds
Okt 25 13:30:24 home-arch dhcpcd[288]: enp0s25: adding route to 192.168.0.0/24
Okt 25 13:30:24 home-arch dhcpcd[288]: enp0s25: adding default route via 192.168.0.2
Okt 25 13:30:24 home-arch dhcpcd[288]: forked to background, child pid 559
Okt 25 13:30:25 home-arch dhcpcd[559]: enp0s25: removing IP address 192.168.0.22/24
Okt 25 13:30:25 home-arch dhcpcd[559]: enp0s25: deleting route to 192.168.0.0/24
Okt 25 13:30:25 home-arch dhcpcd[559]: enp0s25: deleting default route via 192.168.0.2However after restarting the service, the ethernet connection immediately works again. Any advice?
Last edited by augenleet (2014-10-27 16:44:55)
Offline
Since the batch of updates that came witht the 3.17 kernel ...
Welcome to the forums. I don't mean to sound harsh, but just to seek clarification: that is a completely meaningless description as we have no idea how often you update, nor what software you have installed to be updated. The update that contained 3.17 for me, didn't have any other packages: the kernel was updated by itself. This is certainly not what you mean. Check your pacman log to see what was actually updated.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Okay, sorry.
The following packages updated:
linux-firmware (20140828.13eb208-1 -> 20141009.0e5f637-1)
linux (3.16.4-1 -> 3.17.1-1)
lirc-utils (1:0.9.1.a-5 -> 1:0.9.1.a-7)
nvidia (343.22-2 -> 343.22-4)Offline
Is the kernel module, needed by your ethernet card, mentioned in the modules string of /etc/mkinitcpio.conf?
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
The modules string is empty.
My ethernet controller is "I217-V", I found out on Google that the corresponding kernel module would be "e1000e".
Should I write it in the string?
Edit: I tried that but it doesn't help unfortunately.
Last edited by augenleet (2014-10-25 12:14:51)
Offline
You created a new kernel image after adding the string, I assume.
Frumpus ♥ addict
[mu'.krum.pus], [frum.pus]
Offline
I hadn't done that before, but I've done it now with
# mkinitcpio -p linuxif that's correct.
The problem remains.
Edit: I also tried
# mkinitcpio -c /etc/mkinitcpio.conf linux -g /boot/initramfs-linux.imgLast edited by augenleet (2014-10-27 15:36:47)
Offline
Some context around the log messages may help. Maybe post the output of:
sudo journalctl -b | grep -C10 dhcpcdAlso the state of the interface directly after boot from:
ip address enp0s25Offline
This is the output of the log messages: http://pastebin.com/raw.php?i=464LWhUJ
I guess these are the relevant lines:
Okt 27 18:27:29 home-arch NetworkManager[189]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) scheduled...
Okt 27 18:27:29 home-arch NetworkManager[189]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) started...
Okt 27 18:27:29 home-arch NetworkManager[189]: <info> Activation (enp0s25) Stage 4 of 5 (IPv4 Configure Timeout) complete.
Okt 27 18:27:34 home-arch NetworkManager[189]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) scheduled...
Okt 27 18:27:34 home-arch NetworkManager[189]: <info> Activation (enp0s25) Stage 4 of 5 (IPv6 Configure Timeout) started...
Okt 27 18:27:34 home-arch NetworkManager[189]: <info> (enp0s25): device state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Okt 27 18:27:34 home-arch NetworkManager[189]: <info> NetworkManager state is now DISCONNECTED
Okt 27 18:27:34 home-arch NetworkManager[189]: <info> Disabling autoconnect for connection 'Wired connection 1'.
Okt 27 18:27:34 home-arch NetworkManager[189]: <warn> Activation (enp0s25) failed for connection 'Wired connection 1' I found out that disabling dhcpcd@enp0s25.service fixes the issue. It may be just a workaround but that's fine for me as long as it has no other negative impacts.
Thank you, everyone.
Edit: Thanks for the explanation. ![]()
Last edited by augenleet (2014-10-27 16:56:14)
Offline
You're running NetworkManager - that handles dhcpcd itself. Your solution isn't a workaround, it is the most common fix to networking problems: do not run more than one conflicting networking service.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
The modules string is empty.
My ethernet controller is "I217-V",
Despite the fact, that you should use only ONE network service; it's a shame with this NIC.
dhcpcd and Kernel 3.17 doesn't work
systemd-netword and Kernel 3.17 only works, when /etc/resolv.conf is filled out with domain, search, nameserver *)
systemd-resolved and Kernel 3.17 doesn't work *)
dhclient works !
*) maybe it's a problem of my fritzbox
Thus: When you (re)install your system, don`t forget to install also dhclient before reboot ![]()
Networkmanager seems to work also - I didn`t try netctl with this Kernel version.
Last edited by midixinga (2014-10-28 07:09:03)
Offline