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 192.168.2.128, enter the commands as given below:

ifconfig eth0 down
ifconfig eth0 192.168.2.128 netmask 255.255.255.0
ifconfig eth0 up

You can also add these commands to /opt/bootsynch.sh or /opt/bootlocal.sh

See also

Forum Topic: Permanent disable DHCP + run script at startup