LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2016, 05:34 AM   #1
Alexis Rod
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Rep: Reputation: Disabled
Unhappy dhcpcd error slow down the boot on apricity os


Hi everybody, i have a problem during boot, i get a dhcpcd error that force me to wait 30/40 s every time.
As suggested i gave the command systemctl status dhcpcd@enp7s0.service and thats the output:

dhcpcd@enp7s0.service - dhcpcd on enp7s0
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since gio 2016-10-27 10:23:43 CEST; 8min ago
Process: 421 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)
ott 27 10:23:13 PC dhcpcd[421]: DUID 00:01:00:01:1f:a3:e7:39:b8:ca:3a:cc:1f:08
ott 27 10:23:13 PC dhcpcd[421]: enp7s0: IAID 3a:cc:1f:08
ott 27 10:23:13 PC dhcpcd[421]: enp7s0: carrier lost
ott 27 10:23:13 PC dhcpcd[421]: enp7s0: deleting address fe80::42cd:45b0:b9fd:d45c
ott 27 10:23:13 PC dhcpcd[421]: wlp8s0: new hardware address: 5e:1f:f8:72:88:28
ott 27 10:23:17 PC dhcpcd[421]: wlp8s0: new hardware address: 9c:2a:70:2a:74:97
ott 27 10:23:43 PC systemd[1]: dhcpcd@enp7s0.service: Control process exited, code=exited status=1
ott 27 10:23:43 PC systemd[1]: Failed to start dhcpcd on enp7s0.
ott 27 10:23:43 PC systemd[1]: dhcpcd@enp7s0.service: Unit entered failed state.
ott 27 10:23:43 PC systemd[1]: dhcpcd@enp7s0.service: Failed with result 'exit-code'.
 
Old 10-27-2016, 06:12 AM   #2
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 166

Rep: Reputation: 37
So you're using this on a laptop I'm guessing? Have you got your wifi set up as well as ethernet? Or are you looking only to connect via ethernet?
 
Old 10-27-2016, 06:32 AM   #3
Alexis Rod
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by basica View Post
So you're using this on a laptop I'm guessing? Have you got your wifi set up as well as ethernet? Or are you looking only to connect via ethernet?
Yep, I'm using an alienware m14x r2. My wifi network works really good out of box and also the ethernet. The only problem is the latency in boot becouse the dhcpcd fail.
 
Old 10-27-2016, 06:42 AM   #4
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 166

Rep: Reputation: 37
If you're only using the wireless and not the ethernet you can just disable the service from start up. Paste the output of: systemctl list-unit-files | grep enabled
 
Old 10-27-2016, 06:56 AM   #5
Alexis Rod
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
It would be impractical to disable the service because they often use the ethernet.
Anyway, that's the output of systemctl list-unit-files | grep enabled

org.cups.cupsd.path enabled
autovt@.service enabled
avahi-daemon.service enabled
bluetooth.service enabled
dbus-org.bluez.service enabled
dbus-org.freedesktop.Avahi.service enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.NetworkManager.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
dhcpcd@.service enabled
display-manager.service enabled
gdm.service enabled
getty@.service enabled
ModemManager.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager.service enabled
nmbd.service enabled
org.cups.cupsd.service enabled
smbd.service enabled
avahi-daemon.socket enabled
org.cups.cupsd.socket enabled
remote-fs.target enabled
 
Old 10-27-2016, 07:23 AM   #6
basica
Member
 
Registered: Nov 2011
Location: Australia
Distribution: Arch, LFS
Posts: 166

Rep: Reputation: 37
Your problem is that you have NetworkManager and dhcpcd enabled and running. You need to choose one or the other.
 
Old 10-27-2016, 07:51 AM   #7
Alexis Rod
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok, but how can i set up network-manager instead dhcpcd?
 
Old 10-27-2016, 11:14 AM   #8
Alexis Rod
LQ Newbie
 
Registered: Oct 2016
Posts: 5

Original Poster
Rep: Reputation: Disabled
Ok, i gave the systemctl disable dhcpcd@enp7s0.service command but nothing changed.
And that's the output of systemctl --failed

UNIT LOAD ACTIVE SUB DESCRIPTION
dhcpcd@enp7s0.service loaded failed failed dhcpcd on enp7s0

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.

Last edited by Alexis Rod; 10-27-2016 at 11:44 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DDclient slack13 dhcpcd.sh vs dhcpcd.eth0.exe question nl1at Slackware 3 10-27-2010 01:51 PM
DHCPCD advice / info on a slow / bad network 1veedo Linux - Networking 3 01-29-2009 09:58 AM
dhcpcd wireless problems. dhcpcd wlan0 removes essid entry in iwconfig. Romanus81 Slackware 3 08-25-2008 10:34 PM
Boot process very slow at line dhcpcd theangler Linux - Laptop and Netbook 4 11-28-2006 10:33 PM
dhcpcd at boot rgiggs Slackware 4 07-06-2004 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration