You are not logged in.

#1 2012-10-08 02:48:50

Schala
Member
Registered: 2012-02-14
Posts: 42
Website

systemd has dhcpcd time out no matter what

I just switched to pure systemd. The transition was mostly smooth with an exception to dhcpcd. Despite looking at the supposed fix on the bug tracker linked from the systemd wiki page as well as turning to Google for a possible solution, I always seem to get the following result when I check the dhcpcd@eth0 status:

Oct 07 19:34:37 archlinux systemd[1]: Starting dhcpcd on eth0...
Oct 07 19:34:37 archlinux dhcpcd[818]: version 5.6.2 starting
Oct 07 19:34:37 archlinux dhcpcd[818]: eth0: waiting for carrier
Oct 07 19:35:07 archlinux systemd[1]: Failed to start dhcpcd on eth0.

A few things to note:

  • Manually running dhcpcd as root works. However, starting the service fails and enabling it at boot yields the above error.

  • /etc/systemd/system/multi-user.target.wants/ currently contains the services cronie, lm_sensors, ntpd, remote-fs.target, and syslog-ng. I disabled dhcpcd@eth0 at boot time to see if I could start it manually, but to no avail.

  • /etc/modules-load.d/r8169.conf enables r8169, but that doesn't seem to help.

  • Possible solutions from https://bugs.archlinux.org/task/30235 yield no success

Last edited by Schala (2012-10-08 02:50:35)


Hardware: Gigabyte X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

#2 2012-10-08 03:05:58

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: systemd has dhcpcd time out no matter what

Just out of curiosity, what does "lspci" report your ethernet card as?

Edit: I ask because when I did my initial installation on my new computer, my network timed out over and over again.  It did eventually connect, but I cancelled the net install after an hour.  Upon further investigation, I found I had a Realtek RTL8111/8168B, which requires the r8168 package.  After that installation took <10 min.

Last edited by WonderWoofy (2012-10-08 03:09:01)

Offline

#3 2012-10-08 03:14:30

Schala
Member
Registered: 2012-02-14
Posts: 42
Website

Re: systemd has dhcpcd time out no matter what

07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)

That's what I've got


Hardware: Gigabyte X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

#4 2012-10-08 03:15:02

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: systemd has dhcpcd time out no matter what

So download the r8168 package, and blacklist the r1869 module.

Offline

#5 2012-10-08 03:21:56

Schala
Member
Registered: 2012-02-14
Posts: 42
Website

Re: systemd has dhcpcd time out no matter what

Got it, thanks!


Hardware: Gigabyte X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

#6 2012-10-08 03:25:31

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: systemd has dhcpcd time out no matter what

Yeah, it was quite frusturating for me until I realized what I was doing wrong.  Essentially, you are installing the realtek provided module.  But hey, it works!

Offline

#7 2012-10-08 03:45:13

Schala
Member
Registered: 2012-02-14
Posts: 42
Website

Re: systemd has dhcpcd time out no matter what

Darn it... I did as you said and still getting same results. I installed r8168, blacklisted r8169, even added r8168.conf to /etc/modules-load.d/ but still nothing. Attempting to start the service still times out.


Hardware: Gigabyte X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

#8 2012-10-08 04:00:17

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: systemd has dhcpcd time out no matter what

Sorry man, from here, I do not know because I do not use a wired connection.  Personally I am a netcfg user.

Offline

#9 2012-10-08 04:25:17

Schala
Member
Registered: 2012-02-14
Posts: 42
Website

Re: systemd has dhcpcd time out no matter what

Nevermind. After doing 'ip addr' after running dhcpcd, it was saying eth1. So I plugged my cable into eth0's port. Bingo!


Hardware: Gigabyte X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

#10 2012-10-08 04:26:14

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: systemd has dhcpcd time out no matter what

I guess at least you are now using the right kernel module...

Offline

#11 2012-10-08 05:47:43

Schala
Member
Registered: 2012-02-14
Posts: 42
Website

Re: systemd has dhcpcd time out no matter what

Actually r8169 works just fine.


Hardware: Gigabyte X58A-UD5, Intel Core i7 950, Nvidia GTX 560, dual 1 TB Western Digital Caviar Green SATA drives (1st: NTFS, 2nd: ext4,ext4), 8 GB DDR3 RAM
External Hardware: 2 TB Western Digital Caviar Black drive (NTFS), Memory Master 32G USB stick (FAT32)
Choice software: Arch Linux 64-bit with KDE desktop / Windows 7 Professional 64-bit

Offline

Board footer

Powered by FluxBB