Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #166249 > unrolled thread

Live CD - boot option for static IP?

Started byRon Leach <ronleach@tesco.net>
First post2016-04-03 11:50 +0200
Last post2016-04-03 20:40 +0200
Articles 7 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  Live CD - boot option for static IP? Ron Leach <ronleach@tesco.net> - 2016-04-03 11:50 +0200
    Re: Live CD - boot option for static IP? Martin Smith <lists@rakupottery.org.uk> - 2016-04-03 15:40 +0200
    Re: Live CD - boot option for static IP? Ulf Volmer <u.volmer@u-v.de> - 2016-04-03 18:40 +0200
      Re: Live CD - boot option for static IP? Richard Owlett <rowlett@cloud85.net> - 2016-04-03 19:20 +0200
        Re: Live CD - boot option for static IP? Ulf Volmer <u.volmer@u-v.de> - 2016-04-04 01:50 +0200
          Re: Live CD - boot option for static IP? Richard Owlett <rowlett@cloud85.net> - 2016-04-04 14:20 +0200
    Re: Live CD - boot option for static IP? Brian <ad44@cityscape.co.uk> - 2016-04-03 20:40 +0200

#166249 — Live CD - boot option for static IP?

FromRon Leach <ronleach@tesco.net>
Date2016-04-03 11:50 +0200
SubjectLive CD - boot option for static IP?
Message-ID<rjMPo-1o7-3@gated-at.bofh.it>
List, good morning,

Is there a way to set a static IP at the boot dialog when starting 
from a Live CD?

I've got a Wheezy server that is a bit broken and I'm trying to run a 
Wheezy live CD so that I can see what's gone wrong.  The Live CD 
starts perfectly, so the machine will boot and, though it doesn't come 
up in a GUI it does so in text mode, though the text is badly 'offset' 
to the left so the first 3 or 4 character columns are not on the 
screen.  Apart from that, the server is an a very awkward location and 
for these reasons (and others) I'd prefer to login into the live 
system using SSH.  The live CD defaults to DHCP but I need to give it 
a specific IP in the 192.168 range.  If possible, I'd like to do that 
using the 'edit' option on the Live CD's boot screen, so that Wheezy 
live comes up - in text is fine - with a specific IP address and 
gateway etc.

I've searched around a bit and, though I couldn't find a list of Live 
CD 'boot options' on a Debian page, some other pages suggest there are 
kernel options that Grub might use for setting static IP, but these 
are variously described (net= , ip= ).  Which of these, or another, 
should be used, and the fields to be added (and the separators etc), 
are none too clear.

Is there a 'boot option' that I can add to the Live CD boot command 
line that will let me set a static IP?

If there is, where should I be looking for the definitive syntax of 
the IP address setting?

I'd be very grateful for any advice

regards, Ron

[toc] | [next] | [standalone]


#166261

FromMartin Smith <lists@rakupottery.org.uk>
Date2016-04-03 15:40 +0200
Message-ID<rjQpY-3X1-9@gated-at.bofh.it>
In reply to#166249
On 03/04/2016 10:46, Ron Leach wrote:
> List, good morning,
>
> Is there a way to set a static IP at the boot dialog when starting 
> from a Live CD?
>
> I've got a Wheezy server that is a bit broken and I'm trying to run a 
> Wheezy live CD so that I can see what's gone wrong.  The Live CD 
> starts perfectly, so the machine will boot and, though it doesn't come 
> up in a GUI it does so in text mode, though the text is badly 'offset' 
> to the left so the first 3 or 4 character columns are not on the 
> screen.  Apart from that, the server is an a very awkward location and 
> for these reasons (and others) I'd prefer to login into the live 
> system using SSH.  The live CD defaults to DHCP but I need to give it 
> a specific IP in the 192.168 range.  If possible, I'd like to do that 
> using the 'edit' option on the Live CD's boot screen, so that Wheezy 
> live comes up - in text is fine - with a specific IP address and 
> gateway etc.
>
> I've searched around a bit and, though I couldn't find a list of Live 
> CD 'boot options' on a Debian page, some other pages suggest there are 
> kernel options that Grub might use for setting static IP, but these 
> are variously described (net= , ip= ).  Which of these, or another, 
> should be used, and the fields to be added (and the separators etc), 
> are none too clear.
>
> Is there a 'boot option' that I can add to the Live CD boot command 
> line that will let me set a static IP?

cant you get your router to issue a fixed adddress based on the mac 
address, I do that with all my machines,
but of course you may not have the same arrangement as we have here in 
the UK

>
> If there is, where should I be looking for the definitive syntax of 
> the IP address setting?
>
> I'd be very grateful for any advice
>
> regards, Ron
>
>

[toc] | [prev] | [next] | [standalone]


#166279

FromUlf Volmer <u.volmer@u-v.de>
Date2016-04-03 18:40 +0200
Message-ID<rjTeb-6bQ-33@gated-at.bofh.it>
In reply to#166249
On 04/03/2016 11:46 AM, Ron Leach wrote:

> Is there a way to set a static IP at the boot dialog when starting from
> a Live CD?

I recomdend  grml (grml.org) there are a lot of boot options for your 
purpose, see

http://git.grml.org/?p=grml-live.git;a=blob_plain;f=templates/GRML/grmlcheatcodes.txt;hb=HEAD

best regards
Ulf

[toc] | [prev] | [next] | [standalone]


#166282

FromRichard Owlett <rowlett@cloud85.net>
Date2016-04-03 19:20 +0200
Message-ID<rjTQS-6KK-7@gated-at.bofh.it>
In reply to#166279
On 4/3/2016 11:02 AM, Ulf Volmer wrote:
> On 04/03/2016 11:46 AM, Ron Leach wrote:
>
>> Is there a way to set a static IP at the boot dialog when
>> starting from
>> a Live CD?
>
> I recomdend  grml (grml.org)

Thank you. grml may solve a problem totally unrelated to this thread.
Will have to do reading first ;)

> there are a lot of boot options for
> your purpose, see
>
> http://git.grml.org/?p=grml-live.git;a=blob_plain;f=templates/GRML/grmlcheatcodes.txt;hb=HEAD
>
>

I clicked on that link and recived a 404 error message.

[toc] | [prev] | [next] | [standalone]


#166317

FromUlf Volmer <u.volmer@u-v.de>
Date2016-04-04 01:50 +0200
Message-ID<rjZWh-2AR-13@gated-at.bofh.it>
In reply to#166282
On 04/03/2016 07:16 PM, Richard Owlett wrote:
> On 4/3/2016 11:02 AM, Ulf Volmer wrote:

>> http://git.grml.org/?p=grml-live.git;a=blob_plain;f=templates/GRML/grmlcheatcodes.txt;hb=HEAD
 > I clicked on that link and recived a 404 error message.

http://grml.org/cheatcodes

best regards
Ulf

[toc] | [prev] | [next] | [standalone]


#166340

FromRichard Owlett <rowlett@cloud85.net>
Date2016-04-04 14:20 +0200
Message-ID<rkbE5-2Sk-9@gated-at.bofh.it>
In reply to#166317
On 4/3/2016 6:42 PM, Ulf Volmer wrote:
> On 04/03/2016 07:16 PM, Richard Owlett wrote:
>> On 4/3/2016 11:02 AM, Ulf Volmer wrote:
>
>>> http://git.grml.org/?p=grml-live.git;a=blob_plain;f=templates/GRML/grmlcheatcodes.txt;hb=HEAD
>>>
>> I clicked on that link and recived a 404 error message.
>
> http://grml.org/cheatcodes
>

Thank you again. That was more informative for my needs than the 
FAQ. They have cheatcodes for most of what I want to do. Even the 
cautionary comments were informative as they showed grml's breath.

[toc] | [prev] | [next] | [standalone]


#166289

FromBrian <ad44@cityscape.co.uk>
Date2016-04-03 20:40 +0200
Message-ID<rjV6i-7CH-15@gated-at.bofh.it>
In reply to#166249
On Sun 03 Apr 2016 at 10:46:23 +0100, Ron Leach wrote:

> Is there a 'boot option' that I can add to the Live CD boot command line
> that will let me set a static IP?

It would appear not. Bug #785345 is possibly relevant:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785345
 
> If there is, where should I be looking for the definitive syntax of the IP
> address setting?
> 
> I'd be very grateful for any advice

In the time it might take you to decide you are on a loser you could
have installed a minimal Debian to the same USB stick, installed extra
packages, set up a static stanza in /e/n/i and done what you want to.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web