Difference between revisions of "Dhcpcd"

From ArchWiki
Jump to: navigation, search
Line 2: Line 2:
[[Category:Daemons and system services]]
[[Category:Daemons and system services]]
{{Out of date|This article still references rc.conf, which has been deprecated.}}
Dhcpcd is not [[Dhcpd]]
Dhcpcd is not [[Dhcpd]]

Revision as of 02:22, 13 November 2012

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: This article still references rc.conf, which has been deprecated. (Discuss in Talk:Dhcpcd#)

Dhcpcd is not Dhcpd

In rc.conf, if you configure your interface to use dhcp, like this:


dhcpcd will be started automatically from the network script found in /etc/rc.d and configured in /etc/rc.conf in the DAEMONS array

You can run to check it out for yourself

ps -ax
 710 ?        Ss     0:00 dhcpcd -q eth0

So, you don't need to add dhcpcd daemon


Prevent dhcpcd to change /etc/resolv.conf

just add a line in /etc/dhcpcd.conf

nohook resolv.conf