You are not logged in.

#1 2016-08-30 12:01:31

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Failed to start dhcpcd and cpu0

Hi guys....

dhcpcd service failed to start at boot with cpu0.
what is mean by cpu0 dvice node?

http://imgur.com/W2xS6lV


http://imgur.com/73RSEl0


 [mohamed@archlinux ~]$ sudo systemctl status dhcpcd@wlan0.service
[sudo] password for mohamed: 
● dhcpcd@wlan0.service - dhcpcd on wlan0
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; vendor pres
   Active: failed (Result: exit-code) since Mon 2016-09-05 14:53:56 UTC; 2min 39
  Process: 268 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=1/FAILURE

Sep 05 14:53:26 archlinux dhcpcd[268]: wlan0: adding address fe80::2e57:db3a:699
Sep 05 14:53:26 archlinux dhcpcd[268]: DUID 00:01:00:01:1f:56:ae:4d:00:19:b9:6e:
Sep 05 14:53:26 archlinux dhcpcd[268]: wlan0: IAID 7e:42:5d:4d
Sep 05 14:53:26 archlinux dhcpcd[268]: wlan0: carrier lost
Sep 05 14:53:27 archlinux dhcpcd[268]: wlan0: deleting address fe80::2e57:db3a:6
Sep 05 14:53:29 archlinux dhcpcd[268]: wlan0: new hardware address: c6:34:1e:04:
Sep 05 14:53:56 archlinux systemd[1]: dhcpcd@wlan0.service: Control process exit
Sep 05 14:53:56 archlinux systemd[1]: Failed to start dhcpcd on wlan0.
Sep 05 14:53:56 archlinux systemd[1]: dhcpcd@wlan0.service: Unit entered failed 
Sep 05 14:53:56 archlinux systemd[1]: dhcpcd@wlan0.service: Failed with result '
lines 1-15/15 (END)...skipping...
● dhcpcd@wlan0.service - dhcpcd on wlan0
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2016-09-05 14:53:56 UTC; 2min 39s ago
  Process: 268 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=1/FAILURE)

Sep 05 14:53:26 archlinux dhcpcd[268]: wlan0: adding address fe80::2e57:db3a:699c:4a68
Sep 05 14:53:26 archlinux dhcpcd[268]: DUID 00:01:00:01:1f:56:ae:4d:00:19:b9:6e:8c:42
Sep 05 14:53:26 archlinux dhcpcd[268]: wlan0: IAID 7e:42:5d:4d
Sep 05 14:53:26 archlinux dhcpcd[268]: wlan0: carrier lost
Sep 05 14:53:27 archlinux dhcpcd[268]: wlan0: deleting address fe80::2e57:db3a:699c:4a68
Sep 05 14:53:29 archlinux dhcpcd[268]: wlan0: new hardware address: c6:34:1e:04:b8:b7
Sep 05 14:53:56 archlinux systemd[1]: dhcpcd@wlan0.service: Control process exited, code=exited status=1
Sep 05 14:53:56 archlinux systemd[1]: Failed to start dhcpcd on wlan0.
Sep 05 14:53:56 archlinux systemd[1]: dhcpcd@wlan0.service: Unit entered failed state.
Sep 05 14:53:56 archlinux systemd[1]: dhcpcd@wlan0.service: Failed with result 'exit-code'. 



please help. how can I fix it.

Last edited by MohamedHany (2016-09-05 12:58:27)

Offline

#2 2016-09-04 08:51:32

rsmarples
Member
Registered: 2009-05-12
Posts: 288

Re: Failed to start dhcpcd and cpu0

Those links don't download for me.

cpu0 is normally the first CPU found in the system.
Without actually being able to see the pictures I can't help. Can you try another image host?

Offline

#3 2016-09-04 09:04:46

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: Failed to start dhcpcd and cpu0

Offline

#4 2016-09-04 23:29:36

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Re: Failed to start dhcpcd and cpu0

rsmarples wrote:

Those links don't download for me.

cpu0 is normally the first CPU found in the system.
Without actually being able to see the pictures I can't help. Can you try another image host?

http://imgur.com/W2xS6lV

http://imgur.com/73RSEl0

Offline

#5 2016-09-04 23:35:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Failed to start dhcpcd and cpu0

Please don't post images of text; paste the actual text.

Use journalctl _PID=XXX to determine why dhcpcd is failing.


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-09-05 00:09:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Failed to start dhcpcd and cpu0

EDIT: removed some questions based on a misreading of the information present.

Wlan0 hasn't been around as an interface name for quite some time.  Why are you trying to use it?  Have you reconfigured the interface names to use the old style?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2016-09-05 13:03:42

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Re: Failed to start dhcpcd and cpu0

jasonwryan wrote:

Please don't post images of text; paste the actual text.

Use journalctl _PID=XXX to determine why dhcpcd is failing.


Moving to NC...

sorry i fix it.

what do you mean by use journalctl _PID. I am new user for arch linux. could you explain??

Offline

#8 2016-09-05 13:08:15

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Re: Failed to start dhcpcd and cpu0

Trilby wrote:

EDIT: removed some questions based on a misreading of the information present.

Wlan0 hasn't been around as an interface name for quite some time.  Why are you trying to use it?  Have you reconfigured the interface names to use the old style?

[mohamed@archlinux ~]$ 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: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:19:b9:6e:8c:42 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 00:19:7e:42:5d:4d brd ff:ff:ff:ff:ff:ff
[mohamed@archlinux ~]$ 

 

Wlan0 is my wifi i enable dhcpcd on it.

Last edited by MohamedHany (2016-09-05 13:09:27)

Offline

#9 2016-09-05 13:14:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Failed to start dhcpcd and cpu0

I see that wlan0 exists.  But my point is it shouldn't.  I don't know why you would have wlan0, but it indicates there is something you are not telling us - and this withheld information could very likely be relevant.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2016-09-05 13:31:20

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Re: Failed to start dhcpcd and cpu0

Trilby wrote:

I see that wlan0 exists.  But my point is it shouldn't.  I don't know why you would have wlan0, but it indicates there is something you are not telling us - and this withheld information could very likely be relevant.

so, When I install Arch on my laptop wlan0 wasn't exist on "ip link" so i download b43-firmware-classic driver from AUR. and activate dhcpcd.

systemctl enable dhcpcd@wlan0.service

systemctl start dhcpcd@wlan0.service

Offline

#11 2016-09-05 13:45:15

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Failed to start dhcpcd and cpu0

Err ... ok.  That really doesn't address my question, but it does reveal what the problem is.  DHCPCD requires an active connection - you need to establish a connection to a wireless access point before you use dhcpcd.  Please follow the wiki:
https://wiki.archlinux.org/index.php/Wi … figuration


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2016-09-05 13:59:12

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Re: Failed to start dhcpcd and cpu0

Trilby wrote:

Err ... ok. That really doesn't address my question, but it does reveal what the problem is. DHCPCD requires an active connection - you need to establish a connection to a wireless access point before you use dhcpcd. Please follow the wiki: https://wiki.archlinux.org/index.php/Wi … figuration

During the installation of Arch I used ethernet no wifi to download packages. Should I Activate dhcpcd on wifi or ethernet I'm a bit confused. and what are the reasons for the failure of start dhcpcd service?
The wiki is a bit complex

Last edited by MohamedHany (2016-09-05 14:03:07)

Offline

#13 2016-09-05 14:01:12

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Failed to start dhcpcd and cpu0

Read my previous post!


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2016-09-05 14:12:25

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Re: Failed to start dhcpcd and cpu0

Trilby wrote:

Read my previous post!

i read it what do you mean by DHCPCD requires an active connection - you need to establish a connection to a wireless access point before you use dhcpcd.

I already told you. During the installation i used ethernet (cable) to download packages and I download b43-firmware-classic driver from AUR in order to activate dhcpcd. Should i activate dhcpcd on wlan0 or eth0. I wish you understand me

Offline

#15 2016-09-05 14:16:52

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Failed to start dhcpcd and cpu0

I do understand.  But you don't seem to listen.  By read my previous post, I mean read it, *and* follow the link provided.

dhcpcd is sufficient for a wired connection.  If you want to use ethernet (wired) then just activate dhcpcd.service on your wired interface.  If you want to connect wirelessly, dhcpcd is not sufficient - you need to first establish a wireless connection which is *exactly* what that wiki page shows how to do.

Do not expect to be spoon fed (any more) here.  And do not become a help vampire.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#16 2016-09-05 14:35:33

MohamedHany
Member
From: Egypt, Cairo
Registered: 2016-08-29
Posts: 31

Re: Failed to start dhcpcd and cpu0

OK Trilby I now understand what you mean dhcpcd is easy to enable on ethernet by


systemctl enable dhcpcd@eth0.service

systemctl start dhcpcd@eth0.service

but to activate dhcpcd on wirless connection i must do more steps by follow

https://wiki.archlinux.org/index.php/Wi … management

thanks for your help.

but what about cpu0 problem.

http://imgur.com/W2xS6lV

Offline

#17 2016-09-05 15:12:14

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Failed to start dhcpcd and cpu0

jasonwryan wrote:

Please don't post images of text; paste the actual text.

code of conduct on wiki wrote:

Choose one topic per thread.

Really, make an effort.

Closed.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB