Re: Early timeouts connecting to unencrypted network with ndiswrapper on FC5



On Sun, 2006-06-11 at 12:19 -0400, Peter Williams wrote:
> Hi,
> 
> (Please CC any replies to me as I'm not subscribed to the list.)
> 
> I just got a Netgear WG311v3 PCI 802.11g card for my Fedora Core 5
> desktop. It apparently runs on a Marvell 88w8335 chipset. After doing some
> research, I've installed ndiswrapper from Livna and configured the driver,
> and that part seems to be fine.
> 
> After making an FDI file to create a info.linux.driver HAL entry, I can
> start NetworkManager and see the local networks. (Without that entry, NM
> crashes -- a sanity check in nm_get_device_driver_name might be helpful.)
> So I can at least scan for networks. However, if I try to connect to an
> unencrypted network, NetworkManager times out in phase 2 of the connection
> process:
> 
> Setting scan request: 5 sec 0 usec
> Starting AP scan (broadcast SSID)
> Wireless event: cmd=0x8b1a len=8
> Scan timeout - try to get results
> Received 614 bytes of scan results (3 BSSes)
> Scan results: 3
> Selecting BSS from priority group 0
> 0: 00:09:5b:48:27:90 ssid='wiremch' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
>    skip - no WPA/RSN IE
> 1: 00:e0:98:f1:2c:67 ssid='wireless' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
>    skip - no WPA/RSN IE
> 2: 00:09:5b:ea:71:d6 ssid='Govs' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
>    skip - no WPA/RSN IE
> No suitable AP found.
> Setting scan request: 5 sec 0 usec
> Wireless event: cmd=0x8b2a len=8
> Wireless event: cmd=0x8b06 len=8
> Wireless event: cmd=0x8b06 len=8
> Starting AP scan (broadcast SSID)
> Scan timeout - try to get results
> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
> Scan results: -1
> Failed to get scan results
> Failed to get scan results - try scanning again
> Setting scan request: 1 sec 0 usec
> Starting AP scan (broadcast SSID)
> Scan timeout - try to get results
> ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
> Scan results: -1
> Failed to get scan results
> Failed to get scan results - try scanning again
> Setting scan request: 1 sec 0 usec
> Starting AP scan (broadcast SSID)
> 
> If I run NetworkManager --no-daemon I just see three of those SIOCGIWSCAN
> warnings before NM gives up and reports a timeout. I've experimented with
> connecting to the AP via command-line tools (iwconfig wlan0 essid wiremch)
> without success, although I'm not sure exactly how to properly connect
> that way.
> 
> Any ideas of what the problem is or suggestions on how to figure out
> what's going on? Help would be much appreciated.

Sounds an awful lot like the ndiswrapper driver is broken in some way;
if you can't connect with (a) the command line tools from wireless-tools
and (b) you can't connect with wpa_supplicant, then NM's not going to
work.

First, I'd try to figure out the scan problem; from a terminal, do you
get scan results from "/sbin/iwlist <eth whatever> scan" consistently?
I also hear that ndiswrapper has better WEXT support now too.  Does
wpa_supplicant not work with the -Dwext option at all?

Dan

> Thanks,
> 
> Peter
> 




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