linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: Dan Malek <dan@embeddededge.com>
Cc: OTAVIO ISAMU SUGENO <otavio.sugeno@siemens.com.br>,
	linuxppc-embedded@lists.linuxppc.org
Subject: Re: How to configure 2 ethernet devices
Date: Wed, 15 May 2002 23:15:33 +0200	[thread overview]
Message-ID: <20020515211539.1356D1196A@denx.denx.de> (raw)
In-Reply-To: Your message of "Wed, 15 May 2002 16:36:27 EDT." <3CE2C6CB.20402@embeddededge.com>


In message <3CE2C6CB.20402@embeddededge.com> Dan Malek wrote:
>
> If you like to use DNS, routing or other networking features you have
> to use some kind of userland configuration to make that happen.

Rigth, for more complicated configurations this is the way to go.

> I think it's kind of amusing when you use "dynamic" configuration to
> get a network configuration to boot a kernel, then have a bunch of
> static configuration files to support the application environment :-)
> If you are always booting from the same server on the same static
> network, why not just boot a ramdisk with some static configuration
> and network set up?  It will boot up faster.

But we don't have a static configuration. We use something like this:

=> setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off

Right,  we  use  PPCBoot  as  firmware  and  get  all  the  "dynamic"
configuration   by  PPCBoot's  feature  to  define,  store,  and  use
variables.

> If you are truly using a dynamic environment where you could plug in
> anywhere and have the application automatically adapt, you need to
> follow through with dynamic userland configuration.

... not when we can pass all the necessary parameters on the  command
line (or in bi_recs :-)

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
I have made mistakes, but have never made the mistake of  claiming  I
never made one.                                     - James G. Bennet

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

       reply	other threads:[~2002-05-15 21:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3CE2C6CB.20402@embeddededge.com>
2002-05-15 21:15 ` Wolfgang Denk [this message]
2002-05-15 13:49 How to configure 2 ethernet devices OTAVIO ISAMU SUGENO
2002-05-15 16:00 ` Dan Malek
2002-05-15 18:31   ` 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=20020515211539.1356D1196A@denx.denx.de \
    --to=wd@denx.de \
    --cc=dan@embeddededge.com \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    --cc=otavio.sugeno@siemens.com.br \
    /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;
as well as URLs for NNTP newsgroup(s).