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] U-Boot DHCP request does not time out.
Date: Mon, 30 Aug 2004 21:54:56 +0200	[thread overview]
Message-ID: <20040830195501.25300C109F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Mon, 30 Aug 2004 10:51:12 PDT." <6.1.2.0.0.20040830104654.03a57ec0@corelis.com>

In message <6.1.2.0.0.20040830104654.03a57ec0@corelis.com> you wrote:
>
> I have question about U-Boot and its BOOTP/DHCP client capability.
> We are using it to get the dynamic IP from DHCP server and it looks like it 
> never times out if the network cable is not connected.

Which processor / board is this? Normally U-Boot will report an error
and time out if it cannot send ethernet packets  (at  least  this  is
what it does on all boards I can test).

> Our target has network connection as well as USB2.0 connection so we do not 
> want it to hang just because it could not get a valid IP. Can I make it 
> time out? Or is it better to let Linux handle DHCP stuff after it boots?

If it hangs this is an error in U-Boot which must be fixed no  matter
if you can or want to use DHCP in Linux.

> I'm currently using U-Boot-1.0.

There is no such version.

Is the same problem present in the current version (i. e. top of tree
in CVS) ?

> If anybody has a pointer to how to setup DHCP client stuff properly in 
> embedded Linux, I'd appreciate it.

Ummm... where exactly is the problem? See Documentation/nfsroot.txt

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
He is truly wise who gains wisdom from another's mishap.

  reply	other threads:[~2004-08-30 19:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 17:51 [U-Boot-Users] U-Boot DHCP request does not time out Brian S. Park
2004-08-30 19:54 ` Wolfgang Denk [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-08-30 20:32 Michael Bendzick
2004-08-30 20:53 ` Wolfgang Denk
2004-08-31  6:29   ` Pantelis Antoniou

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=20040830195501.25300C109F@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