Networking :: keep having to re-run networkcardconfig



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.

Static IP is covered in the Wiki under Frequently Asked Questions.
http://www.damnsmalllinux.org/wiki....estions

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?

You should then add the nodhcp to the append section of your boot loader.
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 :( )

Next Page...
original here.