Sunday, February 27, 2005

DWL-122 and linux

If you've got, say, a DWL-122 from dlink, and you want to use it under linux (ubuntu unknown version, or what I've got - SuSE 9.2), here a page that tells you how to get it to work (after months of fiddling with it, it finally works! YES!).

http://ubuntuforums.org/archive/index.php/t-4041.html

The pertinent parts are:
FOR USB USERS:

A) Make sure your kernel usb support is running
B) Plug in the Prism2.x USB device
C) Run 'modprobe prism2_usb prism2_doreset=1' to load the driver into memory.
D) Run 'wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable' to initialize the
driver+MAC functions.
E) Run 'wlanctl-ng wlan0 lnxreq_autojoin ssid= authtype=opensystem'
to enable the MAC in Infrastructure Station mode.
F) Run 'ifconfig wlan0 '

NOTE: they really should add 'rmmod prism2_usb' BEFORE step c. Otherwise, if it's already loaded it won't load it again...

No comments: