You are not logged in.

#1 2014-12-03 01:19:42

haziz
Member
Registered: 2012-11-15
Posts: 4

DHCPCD fails to start automatically?

I just reinstalled Arch on one of my machines (a hand built AMD APU based system on an FM2 ? motherboard). It has a Realtek ethernet card built into the motherboard. The ethernet card was recognized when booting from the USB install "disc", but when booting after the install the network card is recognized (I can see it as a Realtek card running using an r8169 kernel driver/module) by invoking

lspci -v

and it does show up in my dmesg file. Curiously it is named enp1s0 instead of eth0, but dhcpcd does not automatically try to query for an ip address. dhcpcd does actually work when I invoke it manually by

dhcpcd enp1s

I then get a working network connection.

How do I make sure that dhcpcd runs on startup?

Offline

#2 2014-12-03 01:42:38

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

Re: DHCPCD fails to start automatically?


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

Offline

#3 2014-12-03 01:58:18

haziz
Member
Registered: 2012-11-15
Posts: 4

Re: DHCPCD fails to start automatically?

Can you elaborate a little more? I did visit that wiki page but am still uncertain of how to proceed. BTW when I tried to start dhcpcd invoking it as "dhcpcd.service" it failed and reported an error but did work when I specifically named the network card with "dhcpcd enp1s".

Last edited by haziz (2014-12-03 01:58:39)

Offline

#4 2014-12-03 02:02:22

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

Re: DHCPCD fails to start automatically?

https://wiki.archlinux.org/index.php/Sy … mctl_usage

EDIT: note that this page was linked to from the sentence that said to enable the service.


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

Offline

#5 2014-12-03 11:38:10

xxvirusxx
Member
From: Romania
Registered: 2013-09-09
Posts: 41

Re: DHCPCD fails to start automatically?

@haziz

Try this:

sudo systemctl enable dhcpcd

Restart and test if work

Offline

Board footer

Powered by FluxBB