Difference between revisions of "Package:Dhcpcd"

From Funtoo
Jump to navigation Jump to search
(added basic info for using with wpa_supplicant)
 
Line 4: Line 4:
|Homepage=http://roy.marples.name/projects/dhcpcd/
|Homepage=http://roy.marples.name/projects/dhcpcd/
}}
}}
DHCPCD is a DHCP client program to automatically fill in network settings for interfaces connecting to a network.
<code>dhcpcd</code> is part of system set and present in all Funtoo stages. It can be a very good dhcp client for simple, automatically assigned wired and wireless connections.
 
=== Installation ===
{{console|body=###i## emerge net-misc/dhcpcd}}
 
When using wpa_supplicant, add dhcpcd to the default runlevel


=== service start-up ===
Add dhcpcd to the default runlevel
{{console|body=###i## rc-update add dhcpcd default}}
{{console|body=###i## rc-update add dhcpcd default}}
and then start dhcpcd by updating the runlevels and launching anything not already started with
and then start dhcpcd by updating the runlevels and launching anything not already started with
{{console|body=###i## rc}}  
{{console|body=###i## rc}}  
or {{console|body=###i## /etc/init.d/dhcpcd start}}
or {{console|body=###i## /etc/init.d/dhcpcd start}}
to start dhcpcd specifically.  
to start dhcpcd specifically.


Wpa_supplicant will now be able to connect to a network.  
For simple dhcp configurations it is sufficient for getting network connection. More advanced settings are described in corresponding <code>dhcpcd</code> and <code>dhcpcd.conf</code> man pages.
{{EbuildFooter}}
{{EbuildFooter}}

Latest revision as of 06:56, June 5, 2015

Dhcpcd

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

dhcpcd is part of system set and present in all Funtoo stages. It can be a very good dhcp client for simple, automatically assigned wired and wireless connections.

service start-up

Add dhcpcd to the default runlevel

root # rc-update add dhcpcd default

and then start dhcpcd by updating the runlevels and launching anything not already started with

root # rc
or
root # /etc/init.d/dhcpcd start

to start dhcpcd specifically.

For simple dhcp configurations it is sufficient for getting network connection. More advanced settings are described in corresponding dhcpcd and dhcpcd.conf man pages.