try
Code:
dhcpcd -h hostname ethN
where hostname is the 'client id' your isp gave you and ethN is the network adapter you are conncting with. (eth0, eth1....)
Once you have that working you can change your init scripts in /sbin/init.d/dhclient...
# The echo return value for success (defined in /etc/rc.config).
return=$rc_done
case "$1" in
start)
if test -z "$DHCP_DEVS" ; then
echo -n "No devices available/configured to start dhcp client on"
return=$rc_failed
else
echo -n "Starting service dhcp client on $DHCP_DEVS"
# wait for free interface during boot phase
# test ! $link = $base && sleep 3 # why this ??? hope there isn't
# any obscured reason for it.
for DEV in $DHCP_DEVS; do
ifconfig $DEV down &>/dev/null
ifconfig $DEV 0.0.0.0 up
done
# Waiting $DHCLIENT_SLEEP seconds for $NETDEV to stabilize...
sleep $DHCLIENT_SLEEP # Do we really need that???
if test "$DHCLIENT_SET_HOSTNAME" = "yes" ; then
# Use Option -D -H to set the host and domain name
startproc -t 5 -q /sbin/dhcpcd -D -H $DHCP_DEVS || return=$rc_failed
else
startproc -t 5 -q /sbin/dhcpcd $DHCP_DEVS || return=$rc_failed
fi
fi
echo -e "$return"
;;
In the highlighted parts you can add the -h option like this
Code:
startproc -t 5 -q /sbin/dhcpcd -h hostname $DHCP_DEVS
You would substitute your given client ID for the hostname.
Oh carp. It's a VMWare question.