Dynamically change ip address on boot up
I have a stand alone system that is running RH 8.0 Kernal ver. (2.4.18-24.8.0) using grub bootloader 0.92. on a 32 MB compact flash card. My connection to this box is via COM1 Hyperterminal. I need to use this box in 2 different locations and I have been trying to modify the startup scripts to include a simple menu system to set the boxes ip address with the appropriate ip depending on the location. Is there a way to do this either in the grub.conf, inittab, or network script files???? The echo command does not show up in the startup script files.
Thanks in advance! |
man ifconfig
Not a joke... the answer is really in there. Cheers! |
What I do is to append a variable
LOCATION="suchandsuch" in lilo, and then evaluate that from the startup-script :} Cheers, Tink |
All times are GMT -5. The time now is 05:04 PM. |