Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:boot_option_nodhcp [2012/08/31 07:06] kennedywalkerwiki: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 //ifconfig// shows the hardware MAC address on its first output-line -- HWaddr -- ) 
 +  * 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.+ 
 +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: You can also use either of these two alternatives below:
Line 17: Line 20:
 </code> </code>
  
-You can also create a script containing these commands, and arrange for it to be executed after boot.+You can also add these commands to /opt/bootsynch.sh  or  /opt/bootlocal.sh
  
 ======= See also ======= ======= See also =======
 [[http://forum.tinycorelinux.net/index.php/topic,6277.0.html|Forum Topic: Permanent disable DHCP + run script at startup]] [[http://forum.tinycorelinux.net/index.php/topic,6277.0.html|Forum Topic: Permanent disable DHCP + run script at startup]]
  
Print/export
QR Code
QR Code wiki:boot_option_nodhcp (generated for current page)