Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-04-2003, 07:05 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
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!
Old 08-04-2003, 08:12 PM   #2
Senior Member
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
man ifconfig

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

Old 08-05-2003, 02:08 AM   #3
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
What I do is to append a variable
in lilo, and then evaluate that from
the startup-script :}



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change Ip address luisator Linux - Newbie 3 06-02-2005 04:03 AM
dynamically register ip address to windows 2000 dns PantherSE Linux - Networking 0 06-23-2004 12:38 PM
How do you change the IP Address? Diablotrickster Slackware 4 08-28-2003 07:31 PM
cannot change ip address ??? aherrys Linux - Networking 0 07-06-2003 03:34 AM
change partition size dynamically kodiakmook Linux - General 3 01-07-2002 02:56 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration