Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:boot_option_nodhcp [2012/08/29 07:57] – created kennedywalker | wiki:boot_option_nodhcp [2012/10/08 09:30] (current) – [Boot option nodhcp] pointed out the actual concrete locations to add boot-time commands kennedywalker | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Boot option nodhcp ====== | ====== Boot option nodhcp ====== | ||
| - | When you need to set up a TinyCore box with a fixed IP address, you can not use DHCP\\ | + | When you need to set up a TinyCore box with a fixed IP address, you have the following options: |
| + | * Configure the DHCP server of your router to assign a fixed IP to the hardware MAC address of your box.\\ (the command // | ||
| + | * If you do not have access to your router, or if you don't want to meddle with its config,\\ you must resort to disable DHCP on your TinyCore box. | ||
| - | 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, enter the commands as given below: | + | 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: | ||
| + | * Set NODHCP=1 at the beginning of / | ||
| + | * To avoid remastering, | ||
| + | |||
| + | |||
| + | To manually set the IP address for your box to the example value 192.168.2.128, enter the commands as given below: | ||
| < | < | ||
| Line 12: | Line 20: | ||
| </ | </ | ||
| - | You can also create a script containing | + | You can also add these commands to / |
| + | |||
| + | ======= See also ======= | ||
| + | [[http:// | ||