Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: DHCP interfering, Dchp enabled on bootup< Next Oldest | Next Newest >
scj
Unregistered






Posted: Jan. 17 2004,15:16 QUOTE

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
Back to top
Etienne
Unregistered






Posted: Jan. 18 2004,16:45 QUOTE

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.
Back to top
minuscule Offline





Group: Members
Posts: 6
Joined: Jan. 2004
Posted: Jan. 18 2004,20:21 QUOTE

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?
Back to top
Profile PM 
Joshua Montgomery
Unregistered






Posted: Jan. 27 2004,03:46 QUOTE

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.
Back to top
Kastr0 Offline





Group: Members
Posts: 15
Joined: Jan. 2004
Posted: Jan. 27 2004,05:06 QUOTE

Joshua Montgomery--THX
Back to top
Profile PM 
9 replies since Jan. 16 2004,07:26 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: DHCP interfering

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code