From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Thu, 05 Apr 2012 23:10:36 +0200 Subject: [Buildroot] udhcpc when link is up In-Reply-To: (Charles Krinke's message of "Thu, 5 Apr 2012 13:23:10 -0700") References: <874nszuwzl.fsf@macbook.be.48ers.dk> Message-ID: <87y5q9rik3.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Charles" == Charles Krinke 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 whenever it detects a link change. By default this script will simply call ifup / ifdown . -- Bye, Peter Korsgaard