Re: Scan fails to find wireless networks
Joerg Albert <[email protected]> Mon, 11 Oct 2004 03:44:12 +0200 (CEST)
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, sorry for the late reply - I was off for a week. On Fri, 1 Oct 2004, Mike Pinna wrote: > I am having a bit of trouble getting my recent cvs version of the > at76c503 driver working with my `AIN Communication AWU2000P WLAN USB > Adapter' which I believe it should support. The problem I am having is > with scanning for wireless networks, which does not appear to work at > all unless (rather stangely) I am already connected to an access point, > in which case it does what I would expect. > > This occurs both with an x86 machine running linux 2.6.6 and > cross-compiling to an ARM machine running a patched 2.4.26 . > > As a separate issue I am often experiencing complete lockups of my > machines on unplugging the wireless adapter, but for the moment I'm not > so concerned about that. > > Here is a transcript of my attempts to get things working on the x86 > box: Loading the driver (e.g. triggered by plugging the device in or starting the USB subsys) does only initialize it. It starts after the netdevice is opened, e.g. by ifconfig wlan0 up Guess that makes the difference in your case, I doubt that you need it to be connected to an access point. > ... > repeatably on both my machines. In addition, on the ARM machine I get a > couple of assertion failures after assigning the address: > > # ifconfig wlan0 127.0.0.2 > at76c503.c: at76c503.c:2905 assertion dev->istate == INIT failed > at76c503.c: at76c503.c:2876 assertion dev->istate == SCANNING failed What did you run before the "ifconfig" here, a "iwlist wlan0 scan"? /Jörg