bootlocal.sh not working during USB booting.Forum: USB booting Topic: bootlocal.sh not working during USB booting. started by: iunknown Posted by iunknown on Dec. 15 2004,01:56
I want to config the static IP in the USB system via giving ifconfig command in /opt/bootlocal.sh, but seems not working.The command is as the following:
The whole command scripts in bootlocal.sh seems not working. Is there anthing I missed? Or is there any other way to auto add the static IP during booting? Posted by roberts on Dec. 15 2004,02:31
Oh bootlocal.sh works just fine booting from usb.I assume that you are using the backup method to save your bootlocal.sh. For a simple test, I just did this. Try the following. Add this line to your bootlocal.sh touch /home/dsl/this_is_a_test If you have not made a backup, then be sure to do that, From control panel click on backup/restore then enter sda1 then click on backup. When completed, you should see the backup.tar.gz if you do a ls /cdrom Then shutdown, upon reboot your backup.tar.gz will be restores and the opt.bootlocal.sh will execute and finally you should see a zero byte file /home/dsl/this_is_a_test Now your static ip may be another issue. However, I do set my static ip via a usb boot as well Posted by iunknown on Dec. 15 2004,03:43
Hi roberts,I got the this_is_a_test file, but still have no correct static IP . The bootlocal.sh is working, the ifconfig is not working. I can't get the correct static IP till disable the DHCP during booting. But I don't know the reason. |