-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/20/2013 11:31 AM, Charles Steinkuehler wrote:
> On 1/19/2013 8:57 AM, Charles Steinkuehler wrote:
>> I've setup Michael Haberler's network booting of my BeagleBone,
>> and I seem to be having the same network crashing on DHCP lease 
>> renewal issue others have seen.
> 
>> Has anyone identified and resolved the issue, or just worked
>> around it?
> 
> Update: After a bit more than 4 minutes, the network went down,
> taking my ssh console with it.  The chroot was still alive, and
> showed that eth0 no longer had an IP address.  Manually assigning
> an IP address to eth0 restored full functionality, even the ssh
> terminal came back alive, although it 'skipped' several of the
> 5-second intervals when it was blocked waiting for the network.

As expected, when enabling debugging for the DHCP client, when the
system fails the client is going through an EXPIRE and a BOUND, rather
than a RENEW, despite the fact that the old and new IP addresses are
the same.  If this sequence *EVER* happens, it is a BadThing (tm) as
for a while there will be no network access, so it will be impossible
for the dhclient script to continue executing and reconfigure the
interface.

It appears this may be partly related to a known issue/bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=459813

Also, testing here shows a sensitivity to existing lease files in
/var/lib/dhcp/ on the NFS mounted root filesystem.

I was able to get a working system by deleting all existing lease
files in /var/lib/dhcp/ and by forcing broadcast responses from the
dhcp server (put "always-broadcast on;" in the BeagleBone host
declaration).

Further testing showed simply deleting the existing leases from
/var/lib/dhcp/ seems to work as well, but I thought I had tested this
prior to adding the always-broadcast flag to the host stanza and found
it still failed (I really should take better notes).  There could also
have been some issues related to leases on the dhcp server, which I
didn't try to flush.

Anyway, if you have run into this issue, see if deleting the exiting
lease file(s) fixes things up.

I am currently running *WITHOUT* the always-broadcast flag, and don't
seem to be having problems.

- -- 
Charles Steinkuehler
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD8e+IACgkQLywbqEHdNFxrFQCfYWgX0ggEU8ckAShVAJZqAOym
aTMAn1Dj9Vwe6EQI40Nw2xiOxPL4yZRJ
=wH9v
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to