LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Dynamically change ip address on boot up (https://www.linuxquestions.org/questions/linux-newbie-8/dynamically-change-ip-address-on-boot-up-79015/)

carolw 08-04-2003 07:05 PM

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!

Azmeen 08-04-2003 08:12 PM

man ifconfig

Not a joke... the answer is really in there.

Cheers!

Tinkster 08-05-2003 02:08 AM

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.