WPA - testing

Dan Williams dcbw at redhat.com
Thu Dec 13 11:01:33 EST 2007


On Thu, 2007-12-13 at 11:10 +0100, Pascal Scheffers wrote:
> Works for me on a Sitecom WL-174 WPA-PSK network. One of yesterdays 
> joyrides.

Works for me with 650 against a Linksys WRT54GC after disabling the
SIGCHLD handler in /usr/bin/sugar-shell.

I actually can't get it to fail, though I'm in a less-RF-heavy
environment than 1CC is, and I'm pretty near to the AP itself.

However, Marco has seen problems with using the -ddd switch to
wpa_supplicant, mainly because output to the console is so slow.  What
might be happening here is that the driver batches together
configuration commands, backing off the timeout for ending the batch by
500ms every time a command comes in.  But if wpa_supplicant is logging
to the console with debug output, those commands might not come in fast
enough, leading to half-complete configuration batches being sent to the
driver.  This is a limitation of the Wireless Extensions kernel API.
Unfortunately, -ddd is pretty much required to get usable debug output
from wpa_supplicant, though logging to a file on flash using the '-f'
switch (or touching /etc/NetworkManager/log-supplicant when using NM)
will do the trick.

The other problem is that since wpa_supplicant isn't running all the
time and gathering scan results (this is fixed with NM 0.7 SVN) there's
a startup hit while wpa_supplicant launches, gets scan results (which,
due to driver deficiencies that have recently been fixed, might take a
while), and finds the AP to associate with.  NetworkManager may have
assumed that the association has timed out by this point, since it times
the association out after 20 seconds or so.  In normal machines, if you
haven't associated within ~30 seconds, something is awfully wrong.  But
on OLPC, that timeout might need to be larger due to memory pressure and
processor speed.

Dan

> - Pascal.
> 
> >It's fixed yeah, that's why I'm asking to test it with a recent build.
> >Ticket #5044. It went in joyride two weeks ago. It's reported working
> >in both joyride and 657.
> >
> >Marco
> >_______________________________________________
> >Devel mailing list
> >Devel at lists.laptop.org
> >http://lists.laptop.org/listinfo/devel
> >  
> >
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel




More information about the Devel mailing list