Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] udhcpc when link is up
Date: Wed, 04 Apr 2012 21:18:22 +0200	[thread overview]
Message-ID: <874nszuwzl.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <CALo-6+g53Ay8J7QNLhfys8Sc7C_U9hd_CQAWm2T1r0vt7KcMdw@mail.gmail.com> (Charles Krinke's message of "Wed, 4 Apr 2012 08:33:16 -0700")

>>>>> "Charles" == Charles Krinke <charles.krinke@gmail.com> writes:

 Charles> I have another noob question concerning dhcp this time.
 Charles> I observer with our MPC8323 system that if the system is booted with
 Charles> the network cable disconnected and after boot the cable is connected,
 Charles> I get the proper "Link is Up" message, but dhcp does not request a
 Charles> lease.

 Charles> If I run "udhcpc", the network is then setup properly, but I would
 Charles> like "Link is Up:" to trigger udhcpc. I do not see a script in
 Charles> /etc/udhcpc/default.script.

 Charles> Can someone point this "noob for the day" in an appropriate direction
 Charles> to understand how to cause "Link is Up" to properly obtain a lease,
 Charles> please?

Have a look at ifplugd (either the standalone version or the busybox
applet). It monitors the network interface and runs ifup on link.

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2012-04-04 19:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-04 15:33 [Buildroot] udhcpc when link is up Charles Krinke
2012-04-04 19:18 ` Peter Korsgaard [this message]
2012-04-05 20:23   ` Charles Krinke
2012-04-05 21:10     ` Peter Korsgaard

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=874nszuwzl.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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