PDA

View Full Version : static ip--wshere to put code



plener
08-09-2005, 03:14 PM
where do i put code to have a static ip on boot up?

ifconfig eth0 192.191.193.23--the code i want to place

tia

peter

UnderScore
08-09-2005, 03:38 PM
First you will want to boot knoppix with a Cheat Codes (http://www.knoppix.net/wiki/Cheat_Codes), such as:
knoppix nodhcp
which will prevent it from attempting to get an IP address.
Then run the command:
netcardconfig
so you can enter your static IP info.

plener
08-09-2005, 10:49 PM
sorry!!!

knoppix is run n ing from hard drive

UnderScore
08-09-2005, 10:52 PM
Then edit the /etc/network/interfaces file. If you need help, then refer to the Debian manuals as they cover it at debian.org or use google and search for 'debian /etc/network/interfaces'.