DWL-122 usb observations

"Dann S. Washko" <[email protected]>
Newsgroups gmane.linux.linux-wlan.user
Message-ID <[email protected]>
A few weeks ago I updated a laptop from Slackware 10.0 to 10.1 and
switched to a 2.6.x kernel.  Prior to the upgrade, the wlan-ng drivers
worked perfectly.  Following the upgrade I was getting the error:

> /etc/init.d/wlan: line 131: prism2_fwload: command not found
> Firmware failed to load for device wlan0

which has been posted before on this list.

I did configure /etc/modules.conf to account for wlan0 prism2_usb.

After compiling the latest 2.6.x kernel at the time and then the latest
wlan-ng release, this still did not solve the problem.  What did work
was dropping back to the 2.4.29 kernel.  I figured it was a kernel
related issue.

I upgraded ubuntu ppc from warty to hoary which moved me to the 2.6.11
kernel.  I figured I would have the same problem with the wlan-ng and of
course did.  But I was not conent to leave it there.

After doing some more testing I found that, yes, the drives do work, but
the scripts to initialize the drivers do not.  I can manually configure
the device for my network, but simply relying on the configured
wlancfg-???? was not cutting it.  I have tried with both wep enabled and
disabled.

This is the script I currently use:

-----------------

#/bin/bash
#/etc/init.d/rc.wlan start

#source /etc/wlan/wlancfg-gehenna
  rmmod prism2_usb
modprobe prism2_usb prism2_doreset=1


wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable

wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11WEPDefaultKeyID=0
wlanctl-ng wlan0 dot11req_mibset mibattribute=dot11PrivacyInvoked=true
wlanctl-ng wlan0 dot11req_mibset
mibattribute=dot11WEPDefaultKey0=xx:xx:xx:xx:xx

wlanctl-ng wlan0 lnxreq_autojoin ssid="gehenna" authtype=sharedkey

dhclient3 wlan0

---------------------

I plan on loading up Sarge on a laptop in the very near future and
expect to run into the same issues I have experienced in the past.

I am inclined to think there is an issue here with the config scripts or
possibly a command/parameter that is broken moving to the 2.6.x kernels.
    I post this in hopes to possibly provide some more clues in
ferreting out the problem.



-- 
Dann S. Washko
The Linux Link Web Radio Portal
Check Us Out
http://www.thelinuxlink.net
get slack (www.slackware.com) and get happy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.