Click to See Complete Forum and Search --> : At wits end with dhcpcd...


Warnie Pritchett
04-04-2001, 12:03 PM
I've been running Linux Mandrake 7.2 for about a month and a half now, and for a while, I was able to get away with inputing static IP information in for my Cox@Home connection.

However, in the past few weeks, I've gotten a new twist: I can put the static information and surf just fine, as long as I never want to check my e-mail. Since I tend to spend more time in e-mail than I do elsewhere, I turned to the NHF's and other various sites.

After trying all of the suggestions for all of the @home connections I found, I'm still relegated to having to type in "dhcpcd -h cx######-b" before doing being able to surf AND have e-mail.

Given the fact that I hardly reboot, this wouldn't be such a big deal, but it's starting to get tiresome to have to do that each time I restart 'Drake. An even more bizarre, but usally rare, occurance, is starting up, manually typing initalizing dhcpcd, and then losing the connection.

Does ANYONE know of any reliable way with Mandrake 7.2 to set up DHCPCD so I don't have to manually set it up each time I start? Like the topic says, after spending the last two weeks looking at NHF's and other docs from a wide variety of Linux sites, I'm really at my wits end with DHCPCD.

bdg1983
04-04-2001, 04:41 PM
This is for Caldera, but the rc.local file may be the same for Mandrake. If not, then check for similar files in that directory.


First make sure the network card is up and working (check the modules with lsmod). Then use these two commands to bring up the NIC

ifconfig eth0 up

dhcpcd -h cXXXXX-a eth0

where the cXXXXX-a is the number that AT&T gave for the windows ID, or it is the first section of the hostname. Also the DNS servers need to be entered into the /etc/resolv.conf file, or go to kmenu->Settings->COAS->Network->TCP/IP->Resolver, and put in the DNS IP's.

Now to make it automatic at boot time, first go to ethernet interface is the COAS->Networking menu and disable eth0 at boot time, then put the above two lines at the end of the /etc/rc.d/rc.local file.