<div dir="ltr"><br><div class="gmail_quote">On Sat, Aug 30, 2008 at 11:01 PM, Sean Crago <span dir="ltr">&lt;<a href="mailto:cragos@gmail.com">cragos@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There are multiple forum entries on the subject as well, but they<br>
mostly end with lazy half-fixes like the one I put in place (ifdown<br>
wlan0;ifup wlan0 in the /etc/rc.local file). One way or another<br>
though, it still doesn&#39;t make a lick of sense that the ifup script can<br>
succesfully work with iwconfig when the system&#39;s fully loaded, but<br>
can&#39;t halfway through. It should have no significant dependencies.<br>
</blockquote></div><br>I don&#39;t know why you consider that a &quot;half-fix&quot;.&nbsp; The computer always boots to full functionality.&nbsp; If you want to call it a &quot;hack&quot; or &quot;kluge&quot;, I can agree with that.&nbsp; <br>
<br>Here&#39;s my theory on why it&#39;s happening:&nbsp; It&#39;s not a &quot;dependency&quot; per se, but a timing issue.&nbsp; As the layers of drivers initialize, they return a &quot;successful&quot; status, even though the hardware really isn&#39;t quite ready for prime time, because there is nothing left for the CPU to communicate to the card to complete the hardware initialization. The situation is not unlike an application making a system call to write data to disk, which returns with a good status even though the data have not physically been committed to the drive&#39;s platters, as it may be buffered in RAM by the kernel, or shipped down the wire to the drive and sitting in another buffer there. The ifup being executed earlier in the init scripts is catching the card in this state, but when rc.local runs a few seconds later, the hardware really is ready to come out and play, so the ifup works.<br>
<br><br></div>