minuscule
Group: Members
Posts: 6
Joined: Jan. 2004 |
|
Posted: Jan. 18 2004,20:21 |
|
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?
|