public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Statically assigned IP addresses
Date: Tue, 13 Jan 2004 21:05:45 +0100	[thread overview]
Message-ID: <20040113200550.DF69EC10AF@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 13 Jan 2004 20:50:49 +0200." <r02010000-1028-67E4B45645F911D888A700039387ACB6@[10.0.1.1]>

In message <r02010000-1028-67E4B45645F911D888A700039387ACB6@[10.0.1.1]> you wrote:
> 
> In Linux you have always some "ifconfig interface xxxx" stuff
> during boot...so adding an "up" statement wouldn't hurt...

This is wrong. You can use IP autoconfiguration and pass all required
informantioon on the kernel's command line. No need to add tools like
ifconfig or route to a root filesystem for 99% of all cases.

> setenv netmask x.x.x.x

In almost all cases Linux will guess the correct netmask.

> and if you like:
> 
> setenv gatewayip x.x.x.x

Not if you like. If you need, and only then.


Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The day-to-day travails of the IBM programmer are so amusing to  most
of us who are fortunate enough never to have been one - like watching
Charlie Chaplin trying to cook a shoe.

  reply	other threads:[~2004-01-13 20:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-13 18:50 [U-Boot-Users] Statically assigned IP addresses Richard Klingler
2004-01-13 20:05 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-01-14 16:35 Kerl, John
2004-01-13 20:58 Kerl, John
2004-01-14  8:06 ` Wolfgang Denk
2004-01-13 19:06 Demke, Torsten
2004-01-13 18:27 Kerl, John
2004-01-13 20:02 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040113200550.DF69EC10AF@atlas.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox