Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9005 - wireless association failed after ndiswrappep update

Attached to Project: Arch Linux
Opened by Austin (semperfiguy) - Sunday, 23 December 2007, 02:28 GMT
Last edited by James Rayner (iphitus) - Thursday, 24 April 2008, 22:10 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
James Rayner (iphitus)
Architecture i686
Severity High
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: When I upgraded to ndiswrapper*-51 I am no longer able to use the netcfg2 scripts. They give me a wireless association failed error. I am able to connect manually from the command line to an unencrypted network but not to a WPA encrypted.


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  James Rayner (iphitus)
Thursday, 24 April 2008, 22:10 GMT
Reason for closing:  Deferred
Comment by Aaron Griffin (phrakture) - Sunday, 23 December 2007, 21:17 GMT
Hrm, ndiswrapper works fine but the netcfg2 scripts fail? Is this correct?
Comment by Austin (semperfiguy) - Monday, 24 December 2007, 00:49 GMT
Yes, I suppose, but they were working fine until I upgraded from 49. I upgraded once before to v. 50 but the scripts stopped working so I downgraded back to 49. But no my cache is cleared out so thats no longer an option. I just thought that since they worked fine till I upgraded, it must be a problem with the upgrade.
Comment by James Rayner (iphitus) - Monday, 24 December 2007, 21:58 GMT
It's not a netcfg2 problem, it's been common on the forums. Even manual connection hasnt been working.
Comment by Austin (semperfiguy) - Tuesday, 25 December 2007, 03:21 GMT
I can connect manually to an unencrypted network, without using the netcfg2 scripts.
Comment by James Rayner (iphitus) - Tuesday, 25 December 2007, 05:44 GMT
Hrm. ok.

What output do you get from netcfg2?
Post your netcfg2 config (attach or pastebin)
Will netcfg2 also connect to the unencrypted network?

Could it have been a kernel update, or is it definitely ndiswrapper? netcfg2 hasnt changed, and the ndiswrapper changelog doesnt show anything significant.
Comment by Austin (semperfiguy) - Tuesday, 25 December 2007, 19:57 GMT
The output I get looks like this:

:: networkname up - Wireless association failed [FAIL]

and here is my netcfg2 profile

CONNECTION="wireless"
INTERFACE=wlan0
SCAN="yes"
SECURITY="wpa"
ESSID="networkname"
KEY="***********"
IP="dhcp"
TIMEOUT=20

As far as what broke it.. I have no clue. The kernel was giving me an issue so I reinstalled it and the issue resolved itself.
Comment by Austin (semperfiguy) - Tuesday, 25 December 2007, 21:36 GMT
Scratch that close request. It crapped out on me again...
Comment by James Rayner (iphitus) - Wednesday, 26 December 2007, 09:34 GMT
Ok. Set WPA_OPTS="-dd"

Also, please try an unencrypted network.

And also check... what kernel versions, do some work, do others not?
Comment by Austin (semperfiguy) - Wednesday, 26 December 2007, 14:47 GMT
Okay.. it just started working again.. I'll wait a few hours or days and see if it breaks again.

It started getting flaky after ndiswrapper 1.49. So that was kernel 2.6.28.8-*?
Comment by Austin (semperfiguy) - Wednesday, 26 December 2007, 14:48 GMT
2.6.23.8-* rather..
Comment by Austin (semperfiguy) - Wednesday, 26 December 2007, 20:52 GMT
I can connect to unencrypted and the encypted broke again...
Comment by James Rayner (iphitus) - Wednesday, 26 December 2007, 21:26 GMT
when it's broken, try setting WPA_OPTS="-dd" and see what output it gives you.
Comment by Austin (semperfiguy) - Thursday, 27 December 2007, 19:07 GMT
It says Daemonize... - wireless association failed. I extended the timeout to 60, but still no dice
Comment by James Rayner (iphitus) - Friday, 28 December 2007, 06:03 GMT
oh ok, try WPA_OPTS="-dd &> /tmp/wpa_log" then post /tmp/wpa_log (attach or pastebin.archlinux.org) -- don't worry, your wireless key wont be in it.
Comment by Austin (semperfiguy) - Friday, 28 December 2007, 14:45 GMT
It is still dumping the daemonize message to the command line. but It wasn't working then I cleared out all the temp wpa.* files (wpa.8oaOUE098 etc...) that it started working. Could these files have something to do with it?
Comment by James Rayner (iphitus) - Saturday, 29 December 2007, 12:19 GMT
which daemonize message?

those temp files shouldnt make any difference at all.

Given the erratic behaviour here... you sure your wireless reception is fine?
Comment by Austin (semperfiguy) - Sunday, 30 December 2007, 22:05 GMT
the daemonize line appears like this:

# netcfg2 home_mynet54g
:: home_mynet54g up [BUSY]
Daemonize..

Then falls back to the single line
:: home_mynet54g up [FAIL]
Comment by Austin (semperfiguy) - Tuesday, 08 January 2008, 23:28 GMT
any more thoughts on this? I still cant connect to an encrypted network but an unencrypted network is fine.
Comment by James Rayner (iphitus) - Wednesday, 09 January 2008, 09:40 GMT
I'm sure it's a driver problem.

- I havn't changed wireless connection code for months
- No other reports, no other drivers
- Problem is intermittent
- ndiswrapper is involved
- ndiswrapper has been updated

the daemonise message is wpa_supplicant being err... verbose because I suggested WPA_OPTS="-dd" -- though that wont work as it's getting daemonised. I'll add some debugging options to the next netcfg so we can get more info.
Comment by Aaron Griffin (phrakture) - Wednesday, 09 January 2008, 18:15 GMT
I'll go with what James said here. ndiswrapper is crap a lot of the times. It may work on every else's machine except yours. The only option is to use an older version and wait for a newer one. Such is the pain of these closed-source wrappers.

It's also best if you report this upstream so they know.
Comment by James Rayner (iphitus) - Thursday, 07 February 2008, 10:51 GMT
Has this been reported upstream or solved?
Comment by Austin (semperfiguy) - Thursday, 07 February 2008, 18:32 GMT
No. I actually got a new laptop, and haven't put WPA back on my access point yet. I haven't reported it "upstream" either.
Comment by James Rayner (iphitus) - Wednesday, 26 March 2008, 11:00 GMT
So it looks like ndiswrapper being sucky. Will you get a chance to test this or should I just close this bug as unresolved?

Loading...