Linux as a DHCP client for Cox @ home

Smith, Stephen P (AZ75) smith_stephen@htc.honeywell.com
Wed, 13 Dec 2000 09:29:04 -0600


Ok, I tried using my host name and it failed.  The applicable code looks
like

if /sbin/dhcpcd -h cx1139855-b eth1
then
    echo "done."
else
    echo "failed."
fi

That should work, correct?  If it works, then I should see eth1 when running
ifconfig - correct?

Stephen

-----Original Message-----
From: Hawke [mailto:proudhawk19021@home.com]
Sent: Tuesday, December 12, 2000 9:57 AM
To: plug-discuss@lists.PLUG.phoenix.az.us
Subject: Re: Linux as a DHCP client for Cox @ home


I am.
first of all, you have to make sure that yiur firewall (if you are
using one) doesn't block the DHCP broadcasts.

Secondly,
to use dhcp (or pump) you must issue the command like so:
dhcpcd -h <your hostname here>

I use: dhcpcd -h cx358876-c

it generally takes a couple of minutes, but then it comes right up.
some of the startuo scripts may have thissetup (but knowing redhat
I rather doubt it).

If this doesn't work for you, then I'm at a loss.

Hawke

"Smith, Stephen P (AZ75)" wrote:
> 
> Ok, I have Red Hat 7.0 installed on my system at home ( AMD 486 clone
133MHz
> - real ancient).  I have the two nic cards up and running and now want to
> convert one of them to a DHCP client.
> 
> My notebook (SONY Pentium II) is currently set up to dynamically get the
IP
> settings.  I have the machine name COX wants me to use.
> 
> At this point I have tried connecting the AMD to the cable modem, set the
> nic to DHCP and then rebooting - no dice.
> 
> Is anyone out there using COX, Linux and DHCP?
> 
> Stephen
>