Can't get my WLAN USB stick to work

Hi people,

I’ve read the sticky and tried out several things, but I can’t get my D-Link DWA-140 USB WLAN Stick to work.

The USB is recognized in the hardware list of my OpenSuse 11.

One strange thing is that I don’t have a “lsusb” in my bin directory, but it’s not so important…

I’ve downloaded the linux drivers for the RT2870 chipset included inside. I tried to install and make them, but I can’t solve one problem. I have following error :

mar@linux-z6de:~/RT2870driver> make
make -C tools
make[1]: Entering directory `/home/mar/RT2870driver/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/mar/RT2870driver/tools'
/home/mar/RT2870driver/tools/bin2h
cp -f os/linux/Makefile.6 /home/mar/RT2870driver/os/linux/Makefile
make  -C  /lib/modules/2.6.25.5-1.1-pae/build SUBDIRS=/home/mar/RT2870driver/os/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.25.5-1.1-obj/i386/pae'
make: *** [LINUX] Error 2

Later I’ve installed ndiswrapper. I’ve copied the Win2K-XP version of the driver inside the /etc/ndiswrapper directory. (Is it the right version or should I use the the 64 bits or Vista versions ?)

Then I wanted to use ndiswrapper, but I couldn’t get it to work. What is the exact commands to enter ?

If possible, I would prefer to have the first solution, fully Linux, to work. But I’m also interested in getting ndiswrapper to work.

Thanks a lot in advance,
Regards,
Rmatt

OK, finally, I’ve managed to get ndiswrapper to accept this card !

It is now showing up in the Network Manager.

I can see the different connections, I just have problem to connect me with my WPA encrypted connection, but I’ll iron that out

Anyway, two other points are interesting for me :

  • concerning the No rule for ‘modules’ I’ve found out that this appears when kernel-headers is not installed, but it is not my case.
    And looking into the right place there are infos and rules for makefile, so I do not understand where this bug comes from…
  • concerning the lack of lsusb utility on my computer, whereas there is a lspci…

Regards,
Rmatt

I have 10.3. When I use YaST > Software > Software Management and then the search funtion with the RPM “Provides” checked, it tells me that lsusb is part of the **usbutils **package. Won’t be much different in 11 I think.

Better install it, you might need it :wink:

About the question why it is not installed during system installation I can only add that I had the same on a 10.3 installation from the KDE CD without network connection. When I later did a reinstall with a cable connected (and thus connected to the online repos) I got it automaticaly. But I can not tell you if the same is true for a 11 install (from a DVD?).