Dhcpcd: Difference between revisions
From CBLFS
Jump to navigationJump to search
Updated to version 5 as per svn (20100828) book |
|||
| Line 30: | Line 30: | ||
=== 32Bit === | === 32Bit === | ||
Configure the package: | |||
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sbindir=/sbin \ | |||
--sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd | |||
Compile the package: | Compile the package: | ||
make | make | ||
Install the package | Install the package | ||
make | make install | ||
=== N32 === | === N32 === | ||
| Line 81: | Line 84: | ||
=== Example Configuration === | === Example Configuration === | ||
cd /etc/sysconfig/network-devices && | |||
cat > | mkdir -v ifconfig.eth0 && | ||
cat > ifconfig.eth0/dhcpcd << "EOF" | |||
ONBOOT="yes" | ONBOOT="yes" | ||
SERVICE="dhcpcd" | SERVICE="dhcpcd" | ||
# | # Start Command for DHCPCD | ||
DHCP_START="-q" | |||
# | # Stop Command for DHCPCD | ||
DHCP_STOP="-k" | |||
EOF | EOF | ||
[[Category:Network Utilities]] | [[Category:Network Utilities]] | ||
Latest revision as of 02:15, 15 October 2010
| Download Source: | http://roy.marples.name/downloads/dhcpcd/dhcpcd-5.2.8.tar.bz2 |
|---|
Introduction to Dhcpcd
A DHCP client
Project Homepage: http://roy.marples.name/dhcpcd
Dependencies
Non-Multilib
Configure the package:
./configure --prefix=/usr --sbindir=/sbin \ --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd
Compile the package:
make
Install the package
make install
Multilib
This package does not provide any libraries so only one installation is needed.
32Bit
Configure the package:
CC="gcc ${BUILD32}" ./configure --prefix=/usr --sbindir=/sbin \
--sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd
Compile the package:
make
Install the package
make install
N32
Configure the package:
CC="gcc ${BUILDN32}" ./configure --prefix=/usr --sbindir=/sbin \
--sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd
Compile the package:
make
Install the package
make install
64Bit
Configure the package:
CC="gcc ${BUILD64}" ./configure --prefix=/usr --sbindir=/sbin \
--sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/usr/lib/dhcpcd
Compile the package:
make
Install the package
make install
Configuring
Network Service
Install the dhcpcd service included in the bootscripts package:
make install-service-dhcpcd
Example Configuration
cd /etc/sysconfig/network-devices && mkdir -v ifconfig.eth0 && cat > ifconfig.eth0/dhcpcd << "EOF" ONBOOT="yes" SERVICE="dhcpcd" # Start Command for DHCPCD DHCP_START="-q" # Stop Command for DHCPCD DHCP_STOP="-k" EOF