PDA

View Full Version : How to assign a fix IP adress?



ahz
04-28-2004, 11:14 AM
Hello,

installing KNOPPIX for remastering purposes was no problem. Now I want to assign a IP-Adress so that I don't have to use netcardconfig every time after booting from the CD. What must I do? Is it sufficient to execute netcardconfig on the hard disc? Is the created /etc/network/interfaces then used in the new image?

Thanks in advance,

Armin Herzer

je
04-28-2004, 10:08 PM
You can specify the ip address in the /etc/init.d/knoppix-autoconfig file.

Use something like this:

/sbin/ifconfig $ipaddr netmask $subnet
/sbin/route add default gw $gateway

Jonathon.

ahz
04-30-2004, 07:13 AM
Thank you, I will try it!

Armin