PDA

View Full Version : Setting a static IP from HDD install



devilotx
05-06-2004, 01:37 PM
had this issue with 3.3 and again with 3.4

Install to hard drive (the debian way) use netcardconfig to set a static IP, everything is fine, reboot....have to reset netcardconfig to my static IP, now... it remembers the settings but I still have to run it to get online...

how can I fix this?

gordonb
05-06-2004, 04:28 PM
All your settings are probably remembered (you can check resolv.conf, ifconfig -a, etc.). You may only need to run "ifup eth0" or "sudo ifup eth0" or whatever your interface is named.

devilotx
05-06-2004, 09:07 PM
And that should fix the problem with the loss of settings after a reboot?

Markus
05-06-2004, 09:45 PM
Have you seen this:
http://www.knoppix.net/forum/viewtopic.php?p=19004
Pump seems to have been the culprit there. You can disable it with "update-rc.d -f pump remove" as well as editing the file mentioned in the link.
Make note of the Snumber first (cat /etc/init.d) if you need it back, although defaults might work.
Be warned though that I use dhcp so I don't really know if removing pump borks your network, but as said, you can allways put it back.

There's also something in the faq which could help:
http://www.knoppix.net/docs/index.php/FaqNetwork

goudiemark
08-19-2004, 05:01 PM
You rule dude, ive been messing with this for the last two days and i thought i was going nuts!!! but your changed worked for me also!!!!

thanks alot

Markus
08-19-2004, 06:25 PM
Right. Especially (cat /etc/init.d) was ingenious :)
Seriously, glad you found a solution.