keep having to re-run networkcardconfig


Forum: Networking
Topic: keep having to re-run networkcardconfig
started by: dwk

Posted by dwk on Jan. 13 2007,04:43
Hi all,

I've just installed dsl. I don't run DHCP on my network, so I ran networkcardconfig to reflect this. I could connect to my network. Good :)
But then I rebooted, and noticed that I could now not access the network. :(
I re-ran networkcardconfig. It seemed to remember all my settings except the one about DHCP = no. This fixed the problem until next time I rebooted. I've even tried running it sudo, but whatever I do, I seem to have to re-run it each time I boot. What should I do to make my network config permanent?

Thanks in advance.

Posted by roberts on Jan. 13 2007,04:51
Static IP is covered in the Wiki under Frequently Asked Questions.
< http://www.damnsmalllinux.org/wiki....estions >

Posted by dwk on Jan. 13 2007,05:15
thanks for the quick reply, roberts

Well, I've done the second step described in the wiki, involving editing the /opt/bootlocal.sh file.

Unfortunately, the first step, involving booting the CD with the nodhcp parameter, is a little tricky; since I removed the cd-rom drive from the system straight after install (it's one of those ultra-slimline systems, with no room for anything except 1 HD and 1 FD, where the only way to connect a cd-rom drive is to tear everything out of the case and lay it out on a bench - I'm not doing that again ;) )

Can anyone suggest an alternative? How can I disable dhcp manually, without the cd?

Posted by roberts on Jan. 13 2007,05:24
You should then add the nodhcp to the append section of your boot loader.
Posted by dwk on Jan. 13 2007,05:31
at the risk of sounding like a n00b :)
how do I do that?
I'm using lilo (grub didn't seem to get on too well with the dsl installer :( )

Posted by ^thehatsrule^ on Jan. 13 2007,05:43
When you create/modify your new lilo.conf, you can add " nodhcp" to the APPEND section.
You can open up the install script to see how lilo is used by default.

Alternatively, you can just add "killall pump" or something like that, to a startup script.

Posted by dwk on Jan. 13 2007,06:17
modifying lilo.conf and running lilo did it.

Yay! :D

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.