network manager is not able to use zd1211rw with WPA

Bug #61094 reported by Volle on 2006-09-18
10
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.17 (Ubuntu)
Undecided
Unassigned

Bug Description

The driver itself is working and by using "-d -D wext" it can be used with WPA, but the Network-Manager tells about missing WPA-functionality.

Would be nice, if this could be fixed, since it doesn't seem to be a big problem.

Volle (voll-mit-korn) on 2006-09-18
description: updated
Volle (voll-mit-korn) wrote :

Well, by using a really simple patch, this problem can be solved.

In function "zd_mac_get_range" I added the line

range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP;

As I didn't know how to recompile a single kernel-module, I copied the config file from /boot to /usr/src/linux-source-2.6.17-7/.config and then recompiled the modules.

After this, I copied the new zd1211rw.ko to /lib/modules/2.6.17-7/kernel/drivers/net/wireless/zd1211rw/ and after

modprobe -r zd1211rw

and modprobe zd1211rw,

the network-manager correctly detected the WPA-capabilties of the chip and connected to the network. Nice :)

If anyone is interested, I can post a .diff-file, but it should not be too hard, to do it manually ;)

Well, by using a really simple patch, this problem can be solved.

In function "zd_mac_get_range" I added the line

range->enc_capa = IW_ENC_CAPA_WPA | IW_ENC_CAPA_CIPHER_TKIP | IW_ENC_CAPA_CIPHER_CCMP;

As I didn't know how to recompile a single kernel-module, I copied the config file from /boot to /usr/src/linux-source-2.6.17-7/.config and then recompiled the modules.

After this, I copied the new zd1211rw.ko to /lib/modules/2.6.17-7/kernel/drivers/net/wireless/zd1211rw/ and after

modprobe -r zd1211rw

and modprobe zd1211rw,

the network-manager correctly detected the WPA-capabilties of the chip and connected to the network. Nice :)

If anyone is interested, I can post a .diff-file, but it should not be too hard, to do it manually ;)

Volle (voll-mit-korn) wrote :

I forgot to mention, that the changes have to be made in file "zd_mac.c" in the zd1211rw-directory of the kernel-source.

Jacob Emcken (jacob-emcken) wrote :

I just want to confirm this bug.

I haven't tried out Volles proposed fix yet. I'll be back.

Jacob Emcken (jacob-emcken) wrote :

I tried Volles "fix" and it works for me... at least Network Manager can connect to my WPA encrypted wireless. Though I loose the connection sometimes and Network Manager reconnects... this doesn't happen when I my laptops wireless (another driver).... but there might be some other unresolved issues with the zd1211rw module?!?

I made a diff file with Volles "fix" and attached to this comment.

Richard Hughes (richard-hughes) wrote :

Is this still valid with the latest kernel package?

Jacob Emcken (jacob-emcken) wrote :

It seems I can choose to use WPA/WAP2 now from network manager now... though I doesn't seem to be able to connect. But I guess that is another bug.

Conn O Griofa (psyke83) wrote :

Jacob,

Try the solution outlined in my bug: https://bugs.launchpad.net/ubuntu/+source/zd1211/+bug/103366
User discussion and more details: http://ubuntuforums.org/showthread.php?t=405489

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers