Boot option nodhcp

When you need to set up a TinyCore box with a fixed IP address, you have the following options:

Adding the boot parameter nodhcp to the grub.cfg file (or its cousin from syslinux) will disable DHCP on your box

You can also use either of these two alternatives below:

To manually set the IP address for your box to the example value, enter the commands as given below:

ifconfig eth0 down
ifconfig eth0 netmask
ifconfig eth0 up

You can also add these commands to /opt/ or /opt/

See also

Forum Topic: Permanent disable DHCP + run script at startup