[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto setup USB wireless card



Kent West wrote:

I've got a new Sid box, with 2.4.20-686 kernel. It has a 3c905c ethernet card, and a USB wireless D-Link DWL-120 "card".

The 3com card works fine (it's how I'm on the net now to send this email).

I installed ftp.debian.org/pool/main/l/linux-wlan-ng/linux-wlan-ng_0.1.15-6_i386.deb and then did a "modprobe prism2_usb", and now usbview shows the dwl-120 as a prism2_usb device.


I modified /etc/modutils/ linux-wlan-ng and commented out the "alias wlan0 prism2_pci" line and uncommented "alias wlan0 prism2_usb" and then ran "depmod" (which generated an "unresolved symbols" error relating to prism2_cs -- hopefully that won't affect me since I'm usb) followed by an "update-modules" (which also generated the same error).

I then editted /etc/network/interfaces and added these two lines:
auto wlan0
iface wlan0 inet dhcp

Just for good measure I rebooted. Ooh; the machine locks up when trying to load the prism2_usb module during the boot process. Bad. So I unplugged the dwl-120 and rebooted (hard - ouch; thanks for ext3). Once back up, I plugged the dwl-120 back in, and the modules seemed to load fine (both p80211 and prism2_usb) automagically (via usbmgr and/or the new hardware detection package "discover", I reckon).

Then I ran "/etc/init.d/networking restart", and got a "device not found" and other such errors. The 3com still works fine, but no IP for the dwl-120. When I looked at dmesg I got this:
hub.c: new USB device 00:1f.2-1, assigned address 2
hfa384x_docmd: hfa384x_docmd:ctlx failure=REQ_TIMEOUT
hfa384x_drvr_start: hfa384x_drvr_startcmd_initialize() failed, result=-5
prism2sta_ifstate: hfa384x_drvr_start() failed,result=-5
hfa384x_docmd: hfa384x_docmd:ctlx failure=REQ_TIMEOUT
hfa384x_drvr_start: hfa384x_drvr_startcmd_initialize() failed, result=-5
prism2sta_ifstate: hfa384x_drvr_start() failed,result=-5


So my question: is there still some bug in the dwl-120 driver(s), or have I failed to configure something?

Thanks!

Kent





Reply to: