LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2004, 07:02 AM   #1
AlbaWolf
LQ Newbie
 
Registered: Oct 2004
Location: St Andrews, Scotland
Distribution: RHEL v3
Posts: 2

Rep: Reputation: 0
Grub Options for different IP configurations


Hello

I am trying to employ grub to set-up such that I can boot to

a) a dhcp provided ip address
b) static ip address

In info grub it states ifconfig (and dhcp/bootp) are commands available
to grub.

I can figure out where to pass them ?

Any help would be sincerely appreciated.

Thanking you

I Taylor
St Andrews University
 
Old 10-07-2004, 10:24 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

Here is the way I would proceed (I don't think that's the best...):
As you must have one config with dynamic IP and another with a static one... I would build 2 kernel... 'cause the static config does not need to run a kernel with bootp or things like that.
Then you just have to modify your network config script which should choose the config to run thanks to /proc/cmdline

Oliv'
 
Old 10-07-2004, 01:01 PM   #3
aus9
LQ Addict
 
Registered: Oct 2003
Location: Australia
Distribution: MX 17
Posts: 5,298

Rep: Reputation: Disabled
I can't help but there talk about it in the manual here
http://www.gnu.org/software/grub/manual/grub.html
 
  


Reply


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
Grub configurations ... oops utw-mephisto Red Hat 5 06-19-2005 10:55 AM
framebuffer/grub boot options 0pal_t0ad Linux - General 4 12-13-2004 12:48 PM
GRUB boot options. enyawix Linux - Software 2 12-08-2004 01:49 PM
GRUB options Rizla Fedora - Installation 1 03-23-2004 02:19 PM
RH 8.0 Grub bootloader options VioLaToR Linux - Distributions 1 11-21-2002 04:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:00 AM.

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