I upgraded wheezy to jessie and there is no dhcpcd installed. I installed it with apt-get install dhcpcd
but I cannot start the service. When I do sudo service dhcpcd start
I get Failed to start dhcpcd.service: Unit dhcpcd.service failed to load: No such file or directory.
Is there a way to manually install dhcpcd?
1 Answer
Do sudo apt-get install dhcpcd5
-
-
-
-
Installing worked but now there is an error:
â— dhcpcd.service - dhcpcd on all interfaces Loaded: loaded (/lib/systemd/system/dhcpcd.service; enabled) Active: failed (Result: exit-code) since Mon 2016-02-22 20:25:52 CET; 1min 13s ago Process: 416 ExecStart=/sbin/dhcpcd -q -b (code=exited, status=1/FAILURE)
– RetoFeb 22, 2016 at 19:29 -
2@Reto: Did you removed old
dhcpcd
package? I think you messed up a little your installation, because this message:dhcpcd[416]: Usage: dhcpcd [options] <interface>
looks like system tried to rundhcpcd
fromdhcpcd
package, not fromdhcpcd5
package. Justapt-get remove dhcpcd
and you'll be fine. Feb 22, 2016 at 19:33
dhcpcd
is a DHCP client.dhcpcd5
package?systemctl enable dhcpcd@eth0
(if it is eth0)