PDA

View Full Version : Network wont work without dhcpcd eth0, on every boot..



e2k
06-22-2004, 07:55 PM
The net worked perfectly when i ran knoppix from the cd, but after the hdd install it wouldn't co-operate..
When i start the computer, and while it's configurating the network, it stays a while on Configuring network interfaces and then says Failed: Could not bring up eth0..
Well, I asked some friends, and they advised me to run dhcpcd eth0.. After noticing that knoppix didn't have dhcpcd (and pump eth0 didn't work), I thought I could install it..
Well I did, and after running dhcpcd eth0 the net works.. But I have to do this every time i start the computer! And it still can't bring up eth0 in the network interface configuration.

What should I do? Any thougts are welcome..

mzilikazi
06-23-2004, 05:51 PM
The net worked perfectly when i ran knoppix from the cd, but after the hdd install it wouldn't co-operate..
When i start the computer, and while it's configurating the network, it stays a while on Configuring network interfaces and then says Failed: Could not bring up eth0..
Well, I asked some friends, and they advised me to run dhcpcd eth0.. After noticing that knoppix didn't have dhcpcd (and pump eth0 didn't work), I thought I could install it..
Well I did, and after running dhcpcd eth0 the net works..

You can just add that to the end of /etc/init.d/bootmisc.sh


echo "dhcpcd eth0" >> /etc/init.d/bootmisc.sh

BEWARE! You can hose up your bootmisc.sh file if you enter that command wrong. Of course to be safe you could just edit it by hand.


But I have to do this every time i start the computer! And it still can't bring up eth0 in the network interface configuration.

What network interface configuration?

e2k
06-23-2004, 11:16 PM
But I have to do this every time i start the computer! And it still can't bring up eth0 in the network interface configuration.

What network interface configuration?
You know, when you start the computer.. I was referring to this:

When i start the computer, and while it's configurating the network, it stays a while on Configuring network interfaces and then says Failed: Could not bring up eth0..
Thanks for the advice you gave me! But it would be nice to know why the network won't work without dhcpcd eth0? In other words, why can't the configuration bring up eth0?

mzilikazi
06-23-2004, 11:21 PM
Well I have no idea. :) I use DHCP also and pump doesn't do diddly squat for me. I prefer dhclient but that's really just a personal choice. At any rate- you need something to tell your interface to go looking for an i.p. address. You can use dhcp or you can set static i.p.'s whatever you like best.
What brand/model/type of card is it?