[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: NetworkManager-0.7 can't make new wireless connection

On Tue, 2007-10-02 at 11:00 -0400, Matthew Miller wrote:
> On Tue, Oct 02, 2007 at 07:59:10AM -0400, Dan Williams wrote:
> > So I tried this.  It sucks.  The orinoco driver has problems scanning
> :) Glad to have confirmation, at least.
> > I did a patch for airo a year or two ago that cleaned exactly this sort
> > of behavior up.  Not sure that really helps you much.  As a quick test,
> > what happens if you do a few back-to-back 'iwlist ethX scan' commands?
> Initially, works fine. But if I connect to a network once and then try
> again, I get a lot of "Failed to read scan data : resource temporarily
> available". Once I see that message, it isn't going to connect until I
> reboot.
> And not a soft reboot -- has to be powered off. 

Does rmmoding orinoco_pci reset it sufficiently?

"resource temporarily unavailable" I believe means -EAGAIN, which means
the card is currently scanning.  However, ideally that shouldn't stop
the driver from returning the previous scan results to you (as long as
they aren't too old of course, at which point they should be culled).
If a program wants the latest results, it can certainly listen for the
netlink messages the driver sends when it has updated results.

I think this requires a driver update; maybe wpa_supplicant needs to be
more lenient in its timeouts for getting scan data out of the card, but
I'm pretty sure it's waiting ~ 10s max before asking the card for
results explicitly.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]