This is an old revision of the document!


Boot option nodhcp

When you need to set up a TinyCore box with a fixed IP address, you can not use DHCP

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

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 create a script containing these commands, and arrange for it to be executed after boot.

Print/export
QR Code
QR Code wiki:boot_option_nodhcp (generated for current page)