Difference between revisions of "Dhcpcd"

From ArchWiki
Jump to: navigation, search
(fix double redirect)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Networking]]
+
#REDIRECT [[Network Configuration#Dynamic IP address]]
[[Category:Daemons and system services]]
+
{{Stub}}
+
 
+
Dhcpcd is not [[Dhcpd]]
+
 
+
In rc.conf, if you configure your interface to use dhcp, like this:
+
 
+
interface=eth0
+
address=
+
netmask=
+
gateway=
+
 
+
''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
+
 
+
== Configuration ==
+
=== Prevent dhcpcd to change /etc/resolv.conf ===
+
just add a line in ''/etc/dhcpcd.conf''
+
nohook resolv.conf
+

Revision as of 17:57, 26 November 2012