Bug 153536 - NetworkManager fails dhcp with ndiswrapper and wep
Summary: NetworkManager fails dhcp with ndiswrapper and wep
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Network (show other bugs)
Version: Beta 4
Hardware: x86 SuSE Linux 10.1
: P5 - None : Critical (vote)
Target Milestone: Beta 7
Assignee: Robert Love
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 153673
  Show dependency treegraph
 
Reported: 2006-02-25 03:07 UTC by Bill Cavalieri
Modified: 2006-03-16 22:23 UTC (History)
1 user (show)

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
NetworkManager with WEP log (9.85 KB, text/x-log)
2006-02-25 03:09 UTC, Bill Cavalieri
Details
NetworkManager no WEP log (8.49 KB, text/x-log)
2006-02-25 03:10 UTC, Bill Cavalieri
Details
NetworkManager Wep cvs20060302-2 log (29.08 KB, text/x-log)
2006-03-03 01:23 UTC, Bill Cavalieri
Details
nm-tool log (1.01 KB, text/x-log)
2006-03-03 01:24 UTC, Bill Cavalieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bill Cavalieri 2006-02-25 03:07:51 UTC
I'm unable to obtain an IP address when using NetworkManager with my ndiswrapper supported notebook (broadcom).

By turning WEP off on the AP, NetworkManager successfully gets an IP address.

If I shutdown NetworkManager, and connect by setting WEP key using tradition yast mode, I'm able to get an IP address.

This did work with version of NetworkManager in SuSE 10.0, just not in NLD 10 beta4.2.

Attached will be NetworkManager log from connecting with and without WEP.
Comment 1 Bill Cavalieri 2006-02-25 03:09:51 UTC
Created attachment 70289 [details]
NetworkManager with WEP log
Comment 2 Bill Cavalieri 2006-02-25 03:10:59 UTC
Created attachment 70290 [details]
NetworkManager no WEP log
Comment 3 Robert Love 2006-02-27 16:05:50 UTC
jg, any ideas?

Has anything changed w.r.t. ndiswrapper?  Should this work?
Comment 4 Joachim Gleissner 2006-02-27 17:45:47 UTC
Does your AP broadcast its SSID?
Comment 5 Bill Cavalieri 2006-02-27 18:04:15 UTC
Yes, I broadcast the SSID.
Comment 6 Robert Love 2006-03-01 17:04:40 UTC
Similar incident just reported on the NM mailing list.  Apparently, the broadcom/ndiswrapper driver is busted and drops all settings whenever a scan is initiated.
Comment 7 Timo Hoenig 2006-03-01 19:58:08 UTC
Robert, what do you think of the patch recently posted on the NM list?  Should we package this workaround?
Comment 8 Robert Love 2006-03-01 20:08:51 UTC
Yes, we should definitely give this patch a try.  The first hunk I am unsure of; it might have unintended consequences, although hopefully not.  The second junk is great -- if the wpa_supplicant ndiswrapper driver works, then it is a good move.

I will build a test package, play around, and if I see no obvious breakage, submit an updated package.
Comment 9 Timo Hoenig 2006-03-01 20:14:28 UTC
Yes, the first hunk looks absolutely scary ;-)

Will this probably also help with setups using ndiswrapper + WPA?
Comment 10 Robert Love 2006-03-01 20:57:51 UTC
Should, yes.
Comment 11 Bill Cavalieri 2006-03-02 00:54:06 UTC
If you end of happy with the test package, would love to test myself :)
Comment 12 Robert Love 2006-03-02 15:40:25 UTC
Bill: Yes, definitely!

So ... it works for me.  I'd like your feedback if this fixes the problem.  If not, we can try one more thing, but I hope this does it.

I submitted an updated package to autobuild, so it will be in the next beta (version 0.5.1cvs20060302 or later).

In the meantime, I also put up packages here:

http://primates.ximian.com/~rml/misc/

If you can test and report back, we would appreciate it!
Comment 13 Bill Cavalieri 2006-03-02 16:00:28 UTC
Thanks for jumping on this so fast. Pulled down the packages, and I get a different error message now when connecting to a wep network: 

Error connecting to wireless network

The requested wireless network requires security capabilities unsupported by your hardware.

Comment 14 Robert Love 2006-03-02 16:52:48 UTC
Hrm, that is a different and unrelated problem.

Can you attach the output of `nm-tool`, please?
Comment 15 Robert Love 2006-03-03 00:15:17 UTC
Also, in addition to the `nm-tool` output, can you specify which wireless network you are attempting to connect to?  Thank you.
Comment 16 Bill Cavalieri 2006-03-03 01:22:46 UTC
Sorry it took so long...

OK, after rebooting, I don't get the capabilites error now, what I do get is 2 errors:

nm-applet doesn't start along with NetworkManager, I have to run it manually after NetworkManager starts.

And get prompted for the network key like before, but it still doesn't connect to my wep wireless, but the log looks much different (I see the correct key in the log now).  

I'm attaching, the NetworkManager log, and nm-tool output.  Cavalieri is the network I'm connecting too.

Thanks
Comment 17 Bill Cavalieri 2006-03-03 01:23:48 UTC
Created attachment 71090 [details]
NetworkManager Wep cvs20060302-2 log
Comment 18 Bill Cavalieri 2006-03-03 01:24:50 UTC
Created attachment 71091 [details]
nm-tool log
Comment 19 Robert Love 2006-03-03 16:41:54 UTC
Alright, thanks Bill.  The first problem is caused because we moved the location of the autostart files.  An updated gnome-session will fix the problem.

The second problem we need to solve.  I checked into autobuild a new NM, 0.5.1cvs20060303, which has some additional ndiswrapper fixes.  Another ndiswrapper user confirmed that these actually fix his problems, so I have high hopes.

I put packages up here, too:

http://primates.ximian.com/~rml/misc/NetworkManager/

Please let me know!
Comment 20 Bill Cavalieri 2006-03-03 17:40:13 UTC
Fantastic, fixed my wep connecting problem.  VPN, changing networks, changing back to wired, all work as expected.

Thanks a lot.
Comment 21 Bill Cavalieri 2006-03-03 17:41:00 UTC
Fixed
Comment 22 Robert Love 2006-03-16 22:23:42 UTC
*** Bug 156399 has been marked as a duplicate of this bug. ***