LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wireless USB installation (https://www.linuxquestions.org/questions/linux-newbie-8/wireless-usb-installation-558001/)

mikebw 05-31-2007 08:56 AM

Wireless USB installation
 
Short story:
How do I make a D-Link DWL-G122 HW ver: B1 (USB wireless adapter) work in SUSE 10.2 w/ KDE? Is there the equivalent to "Add New Hardware"?

Long story:
I just installed my first distro of linux so I could become more familiar with it. I used openSUSE 10.2 and KDE as my GUI; since they are used at a place I worked and I wanted to gain minor familiarity with it. During the installation it successfully detected and configured my hardware. Out of old habits, I had unplugged my perhipials while re-formatting the computer. I want to use a D-Link DWL-G122 B1 USB wireless adapter, but have no idea how to install it. I found 'System Information' and the computer's USB certainly knows the wireless adapter is plugged in (it lists it under USB devices). I found 'Network Cards' and was given the option to add a second network card manually (where I can select that it's a USB device). I tried re-booting. Nothing makes the indicator lights on my USB dongle light up, and I don't know what application will show me available wireless networks once the USB wireless adapter is working properly. While looking at other threads it looks like others have had the initial hardware detection (during installation) find the usb wireless adapter and make it work. Since it is a fresh install, I'm not above just re-installing all 5 discs to make this basic functionality work, but I'd rather know how to do it without re-formatting. Am I wrong in thinking that I don't need ndiswrapper with 10.2? I found the source code for the linux driver for the adapter, but have no idea what to do with it (not from d-link, but from the manufacturer of the chipset). Sorry about the basic question, I can't overstate that this will be my first time at the keyboard of a linux box, though I am proficient behind a mac or ms box. Thanks in advance!

Mike BW

jstephens84 06-01-2007 11:44 PM

First thing you will want to do is use ifconfig -a to show all the interfaces. You might see ra0 which if I remember correctly the DWL-G122 uses the ralink chipset. If you don't see it then you will have to compile the driver yourself.

unzip and untar the package.
the cd into the correct directories. You should see two make files. one is makefile.6 and the other is makefile.4 These are for the different kernel versions. Use .6 if you have a 2.6 or .4 for 2.4 kernel. you will have to do a
Code:

cp makefile.6 or .4 ./Makefile
then just run
Code:

make
then run
Code:

make install
I think you will also have to make a Path under etc with the following two folders.
/etc/Wireless then /etc/Wireless/RT2571STA or RT2500STA or RT2700STA then copy all of the .bin files from the directory where you made the modules for the Dlink. I believe the the install document is pretty straightforward.


All times are GMT -5. The time now is 05:11 PM.