Networking :: DHCP interfering



Quote (Kastr0 @ Jan. 17 2004,01:27)
thx , alright dhcp disabled , now      everytime i reboot it doesnt recognize that its online --- .................................

Hmmm - Here at my computer it works.

Sure you have run "lilo" as root after adding "nodhpc" to lilo,conf and before logging out ?

scj

Hi there.

I have the same problem.  I added "nodhcp" to the lilo.conf file and I ran lilo right after doing it just like you instructed.  DSL doesn't DHCP at bootup anymore, but it doesn't load the eth0 interface either.  I have to run ifup eth0 if I want it to work.

Is there any other way of doing this? Please help, as I have spent quite a few hours trying to fix the problem.

Thank You.

I have spent many hours on this too and here are my results so far. I hope this will help you people.

To use static IP configuration, I did like this:

1) add nodhcp in /etc/lilo.conf and run lilo afterwards.
2) run netcardconfig and enter all my specific configuration.

But I have one last problem. If eth0 happens to be up when I reboot or halt my system, the file /etc/network/ifstate is not cleared. The next time my system boots, it thinks that eth0 is already up. I thought that adding a Kxxnetworking symbolic link to ../init.d/networking in my /etc/rc0.d and /etc/rc6.d directories would do the trick but it does not work. As a quick and dirty fix, I stopped using reboot or shutdown directly and wrote a two-line script that first clears /etc/network/ifstate.

Am I missing something? What is the proper way of making sure /etc/network/ifstate is cleared when I halt or reboot the system?

Vi /etc/init.d/knoppix-halt and search for Shutdown

Right above the tailing "fi" of the shutdown network if command add the line: echo "" > /etc/network/ifstate

This will clear the interface state and allow the interface to come up propperly on boot.

Joshua Montgomery--THX
Next Page...
original here.