D-link dongle on OpenSuse 11.0

Hello

I recently posted a thread with a wireless problem and was told that the kernel did not support the specific USB dongle driver. Fortunately I was able to borrow another USB dongle but so far I can’t get it to work either:’(

It is an USB D-link DWL-G122, ver. B1 and I’ve included some info:

“/usr/binlsusb”

Bus 004 Device 003: ID 2001:3c00 D-Link Corp. [hex] DWL-G122 802.11g rev. B1 [ralink]

“/usr/sbin/iwconfig”

wlan0     IEEE 802.11g  ESSID:"default"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:03:2F:21:61:FB
          Bit Rate=5.5 Mb/s   Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Link Quality=28/100  Signal level=-71 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

“sudo /usr/sbin/iwlist scan”

wlan0     Scan completed :
          Cell 01 - Address: 00:03:2F:21:61:FB
                    ESSID:"default"
                    Mode:Master
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=48/100  Signal level=-72 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=00000001acaff8af

“uname -a”

Linux linux-dih7 2.6.25.16-0.1-default #1 SMP 2008-08-21 00:34:25 +0200 x86_64 x86_64 x86_64 GNU/Linux

Is it just a matter of small configurations or am I in deep trouble again?

Hope someone can help me- Thanks!

It uses the rt2xxx driver.either download from here Ralink Technology: Linux or use the drivers from serialmonkey Main Page - Rt2x00Wiki there are a few how-to’s on installing this driver,have a squint through the search system & see what happens

Andy

Thanks for your reply, though Im not quite sure which file from the link(s) I should download? Furthermore how to install them…

I tried downloading from

http://rt2x00.serialmonkey.com/wiki/index.php/Downloads

I assumed I should get the one named RT2500USB(RT2571/RT2572)(source Code)?

Then I tried to install the driver following the guide on

http://www.susegeek.com/wireless/install-serial-monkey-drivers-for-rt2x00-wireless-cards-in-opensuse-103-11/

First I checked (through YAST2) that kernel-source, gcc and make were installed.

Then I went to /usr/src/linux:

#make mrproper
#make clonefig
#make modules_prepare

Next (in the directory of the downloaded driver):
#tar -zxvf rt2500-cvs-daily.tar.gz

Until now no errors. But then

rmmod rt2500pci

ERROR: Module 2500pci does not exist in /proc/modules

In the directory created earlier with tar (rt2500-cvs-daily):
#make && make instal
make: *** No targets specified and no makefile found. Stop.

What am I doing wrong?

By the way: I still can’t open any web page with my browser… But when I open KWIFImanager I can see that the USB dongle is connected with excellent signal. It also tells me an acces point, a local IP and a freqency. I thought this might indicate that relevant drivers were already installed and that it was only a matter of small configurations? not…

Hi Mesmerandom

Have you checked the startup log (dmsg)? Else try look in Yast -> Miscellaneous -> Start-Up log. Admit it is not easy to understand, but around the middle you will see the usb-device being identified by the kernel. I am working with another D-link dongle, and it says:

usb x.x idvendor=07d1, idProduct=3c03 Ralink 802.11 bg WLAN

If your driver is installed correct, it will identify a little later in the startup log (mine don’t!).

Later in the startup log you can find wlan0 and if it is up - it could a matter of wep/wpa codes.

Jan

Hello Jan

I looked in the Start-Up log (via YAST2) and found this:

Setting up network interfaces:
    lo        
    lo        IP address: 127.0.0.1/8   
              IP address: 127.0.0.2/8   
done    eth0      device: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
    eth0      (DHCP) . . . . . . . . . . . . . . . no IP address yet... backgrounding. 
waiting
    pan0      
              No configuration found for pan0
unused    wlan0     
    wlan0     warning: using NO encryption
command 'iwconfig wlan0 nick linux-dih7' returned
 Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
<notice>checkproc: /sbin/dhcpcd 2782
    wlan0     (DHCP) . . . . . . . . . . . . . . . no IP address yet... backgrounding. 
waiting
    eth0      device: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
    eth0      dhcpcd is still waiting for data
waiting
    eth0      interface could not be set up until now
failedSetting up service network  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .  .failed

Don’t know if it identifies the problem?

BTW my router is set to no encryption.

Hi again

I have precise the same errormessage around wlan0, and I dont have the driver installed yet. But the driver should appear ealier in the boot-file. Start a terminal and type:

> grep Ralink /var/log/boot.msg

We shall find the ID of the RAlink-chip and then found out which rt2XXX driver we shall use. Maybe we just have to load some firmware, which is not part of opensuse 11.0. :slight_smile:

Jan

Sorry - didn’t you have your Id:

ID 2001:3c00

and probably found your driver should be rt2500. How did you find that?

Jan

Yes - that is me again :slight_smile:

My chip is rt73 and I found this thread:

rt73 / Ralink (USB) Wireless Devices - openSUSE Forums

by using Search in Wireless section. It confirms that firmware shall be loaded. I hope this thread will help me :slight_smile:

Jan

hello again Jan

Trying

grep Ralink /var/log/boot.msg

gives me nothing at all. So I guess the driver is not loaded.


Yes, “ID: 2001:3c00” is (part of ) what I get from

lsusb

I assumed from the advice of deltaflyer earlier in this thread, that my driver possibly should be rt2500:

Quote:
“It uses the rt2xxx driver.either download from here Ralink Technology: Linux or use the drivers from serialmonkey Main Page - Rt2x00Wiki there are a few how-to’s on installing this driver,have a squint through the search system & see what happens”

Am I wrong?


I’ll try to look into the thread you just send. Thanks!

hi Mesmerandom

I got my D-link usb-dongle up and running today. I followed the link I posted yesterday, and the big problem is to get firmware for Ralink chip loaded because that propertaire software not included in opensuse. But the link above will help find and installed by 1-click install.

Your driver should be rt2500/usb, because you have a ver. B1 dongle. Mine is ver. C1, and driver is rt73.

I did the following:

  1. Connect a cable to your router
  2. Run Online Update from Yast -> Software to get lastest sw-update of suse 11.0.
  3. Deleted old wlan0 network definition to clean up all testing until now.
  4. Followed the link above and choice rt73usb in the hardware driver section.

I had to do an extra reboot and link definition. After first attempt my wep-key was gone.

Good Luck!

Jan