OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: enodr on April 12, 2006, 04:32:48 pm

Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: enodr on April 12, 2006, 04:32:48 pm
It seems OZ3.5.4.1Alpha2 is missing some modules to have WEP / WPA work correctly:

For WEP, trying iwconfig wlan0 key myhexkey gives the following error:
Code: [Select]
Error for wireless request "Set Encode" (8B2A):
SET failed on device wlan0; Operation not supported

dmesg tells me: wlan0: could not initialize WEP: load module hostap_crypt_wep.o
So that must be the reason. Now let's find out where is this module...

For WPA, running wpa_supplicant gives:
Code: [Select]
skip - no WPA/RSN IEwhen selecting my AP...

I see those files in the feed, but I don't know what they are used for (WEP support is supposed to be in the hostap module?)
kernel-module-ieee80211-crypt-ccmp-2.6_2.6.16-r5_spitz.ipk    
kernel-module-ieee80211-crypt-tkip-2.6_2.6.16-r5_spitz.ipk  
kernel-module-ieee80211-crypt-wep-2.6_2.6.16-r5_spitz.ipk
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: Hrw on April 13, 2006, 03:19:00 am
report ALL bugs in bugtracker
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: WJMoore on April 19, 2006, 05:14:44 am
I've run into this too. Did you post a bug report enodr?
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: JohnX on April 19, 2006, 01:58:08 pm
Looks like it's this bug (http://bugs.openembedded.org/show_bug.cgi?id=840). Seems that kernel-module-arc4-2.6 needs to be installed...
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: enodr on April 20, 2006, 03:27:44 pm
Quote
Looks like it's this bug (http://bugs.openembedded.org/show_bug.cgi?id=840). Seems that kernel-module-arc4-2.6 needs to be installed...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=123794\"][{POST_SNAPBACK}][/a][/div]

Solution is posted in another thread in this forum. Basically you need latest wpa_supplicant package from upgrade feed, then install all the necessary modules from your machine kernel feed:
ieee802*
rc4 (crypto module)
michael-mic (crypto module)

A very handy script has also been posted in the other thread for easy startup of wpa.
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: WJMoore on April 21, 2006, 08:35:25 am
Any idea what the thread is? I did a search for hostap_crypt_wep and that gave nothing much newer than 2004.
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: enodr on April 23, 2006, 01:08:19 pm
Quote
Any idea what the thread is? I did a search for hostap_crypt_wep and that gave nothing much newer than 2004.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=124025\")

[a href=\"https://www.oesf.org/forums/index.php?showtopic=18848]https://www.oesf.org/forums/index.php?showtopic=18848[/url]
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: WJMoore on April 24, 2006, 03:59:03 am
Thanks. I tried installing all the modules mentioned and I still get the error about not being able to find hostap_crypt_wep.o The following are the relevant modules I have installed. I don't need WPA, just WEP, any other ideas?

root@spitz:~# ipkg list_installed|grep ieee
kernel-module-ieee80211-2.6 - 2.6.16-r5 -
kernel-module-ieee80211-crypt-2.6 - 2.6.16-r5 -
kernel-module-ieee80211-crypt-ccmp-2.6 - 2.6.16-r5 -
kernel-module-ieee80211-crypt-tkip-2.6 - 2.6.16-r5 -
kernel-module-ieee80211-crypt-wep-2.6 - 2.6.16-r5 -
root@spitz:~# ipkg list_installed|grep arc
kernel-module-arc4-2.6 - 2.6.16-r5 -
root@spitz:~# ipkg list_installed|grep michael
kernel-module-michael-mic-2.6 - 2.6.16-r5 -
Title: Missing Module Wpa / Wep With Oz 3.5.4.1alpha1/2?
Post by: JohnX on April 24, 2006, 04:30:39 am
depmod -a ; ifdown wlan0 ; ifup wlan0 ; echo it works!