[EMAIL PROTECTED] (SI Reasoning) writes:

> 04:25   0:00 /sbin/dhcpcd -Y -N eth0
> root      4912  0.0  0.1  1752  596 pts/1    S   
> 06:16   0:00 grep dhcpcd
> 

Ok, your dhcpcd was used only with the -Y and -N arguments:

according to the man page you should the -H option for your needs.

Also, according to the /sbin/ifup file, the following section:

case $(basename $DHCP_CLIENT) in
    dhcpcd)
    [ -n "$DHCP_HOSTNAME" ] && DHCP_ARGS="-h $DHCP_HOSTNAME"
    [ -n "$NEEDHOSTNAME" ] && DHCP_ARGS="$DHCP_ARGS -H"

the last line requires the NEEDHOSTNAME variable in your
/etc/sysconfig/network-scripts/ifcfg-eth0.

So, add a line like this in your /etc/sysconfig/network-scripts/ifcfg-eth0
file:
NEEDHOSTNAME=whatever

ifdown eth0 and ifup eth0. 

This should use the -H option for your dhcpcd.

Other ideas... you coulod use other dhcp client (dhcp-client, pump, dhcpxd)

cheers,
-- 
Florin                  http://www.mandrakesoft.com

Reply via email to