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: Thu, 05 Apr 2012 23:10:36 +0200	[thread overview]
Message-ID: <87y5q9rik3.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <CALo-6+hDSUFR_awCnm6gHveYLPaQ_Y8HGCQTsJuoTdv8bVqzOw@mail.gmail.com> (Charles Krinke's message of "Thu, 5 Apr 2012 13:23:10 -0700")

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

 Charles> I guess my "noobness hat" must be worn a second day in that I look at
 Charles> ifplugd and dont quite see the issue. Admiteddly the "noobness hat" is
 Charles> worn because I spend most of my time in u-boot and the kernel, but
 Charles> that is only an excuse.

Have you read http://0pointer.de/lennart/projects/ifplugd/ ?

There isn't much to it. You have to remove the 'auto eth0' line from
/etc/network/interfaces so /etc/init.d/S40network doesn't try to run
udhcpc at bootup. With ifplugd running it will execute
/etc/ifplugd/ifplugd.action <iface> <up|down> whenever it detects a link
change. By default this script will simply call ifup <iface> / ifdown
<iface>.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2012-04-05 21:10 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
2012-04-05 20:23   ` Charles Krinke
2012-04-05 21:10     ` Peter Korsgaard [this message]

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=87y5q9rik3.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