--- Florin <[EMAIL PROTECTED]> wrote:
> [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)
mdk defaults to dhcpcd during install, either the dhcp
default client should be changed or mdk should create
a script that does the above.

=====
SI Reasoning
[EMAIL PROTECTED]

A requirement of creativity is that it contributes to change.  Creativity keeps
the creator alive.

-FRANK HERBERT, unpublished notes

__________________________________________________
Do You Yahoo!?
Try FREE Yahoo! Mail - the world's greatest free email!
http://mail.yahoo.com/

Reply via email to