Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Hardware Support _ Installing Wireless USB drivers

Posted by: jonca Feb 9 2008, 01:35 PM

Hi

I am a complete newbie at Linux and have just installed RedHat9.
I have a wireless USB stick D-Link DWL-122 that I am trying to install without any success.

After plugging the stick in the message logs read ..

:USB device 3 (vend/prod 0x2001/0x3700)is not claimed by any active driver.
:no modules for USB product 2001/3700/132

I think I am right in saying that need to install the drivers for this device.

My questions are these ...
1. The drivers available appear to be only for windows products, however I have read that this should not be a problem is this likely to be correct?
2. How would I go about installing drivers, supposing I downloaded them, got them onto a memory stick and mounted that memory stick onto my linux laptop,
do I just copy them into a specific directory and they just work, or is there some configuration I need to do?

Any help would be great as I really have no idea what I am doing!!

Posted by: michaelk Feb 9 2008, 03:07 PM

Welcome to linux and linuxhelp.

First off, Redhat 9 is obsolete and will not have out of the box support for newer hardware. If you want to stay with Redhat then go with Fedora or maybe Ubuntu which
is good beginner distribution.

Your wireless adapter does have linux support. It uses the prism2_usb module. Here are the packages you would need to install to get it to work with Redhat.
http://prism2.unixguru.raleigh.nc.us/v21-rh9-index.html

Download the ones that match the kernel version. Look at the output of the command:
uname -a

To install them use the command (example)
rpm -i filename.rpm

They can be copied to any directory but run the command using root.

Posted by: jonca Feb 9 2008, 03:30 PM

Thanks for the quick reply michaelk.

Thats really helpful, I'll give that a go tomorrow.

I will also look into changing over to another version of Linux. Redhat 9 was rather forced on me as I need to test some application software that has been written for RH9.

Thanks for the help! - I suspect I will be back for something else soon!!

Posted by: jonca Feb 10 2008, 11:11 AM

OK, uname returns: localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

So I have downloaded all i686 versions of the packages and installed.

Whilst doing this I get a message about defining a SSID in the /etc/wlan/wlan.conf and wlancfs-SSID.
I am not sure what I am supposed to do here.

Also when I run ifconfig I get an error : command not found.
When I plug the wireless stick in the USB, the messages read .. device not claimed by any active driver.

I am not sure what I have done wrong, any ideas?

Posted by: michaelk Feb 10 2008, 01:51 PM

I assume you have not recompiled the kernel which means you should use i386

With the exact error message it will be difficult to say but I would guess it is a ssl (small L not i) dependency issue.

Posted by: jonca Feb 10 2008, 01:58 PM

No I haven't recompiled the Kernel, i'll try the i386.

Is there anything else I should do after that, if this all went well, would I expect to be able to ping my router?

Posted by: michaelk Feb 10 2008, 04:03 PM

If all goes well you should have a wireless adapter device wlan0. Use the iwconfig to verify everything is working and set up the wireless parameters.
Use dhclient command to get an IP address via DHCP on the router.
If this all works then you will be able to ping the router.

You can create the follow file to automatically start the wireless adapter.
/etc/sysconfig/network-scripts/ifcfg-wlan0
(add the following lines)
DEVICE=wlan0
TYPE=Wireless
MODE=Managed
ESSID=network (use your actual ssid)
CHANNEL=# (use the actual channel number)
RATE=auto
BOOTPROTO=dhcp
ONBOOT=yes

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)