D-link DWA-130

Hey guys my wireless adapter is not being recodnised by suse 11.1.

nothing is listed in YaST => Hardware => Hardware Information for wireless LAN.

Under USB this is the information on the dive under the SUB listing:

67: USB 00.0: 0000 Unclassified device
[Created at usb.122]
UDI: /org/freedesktop/Hal/devices/usb_device_7d1_3c13_1_0_if0
Unique ID: +rmv.a0_F1JsJwjE
Parent ID: pBe4.8zDM0aQhQIC
SysFS ID: /devices/pci0000:00/0000:00:0b.1/usb2/2-5/2-5:1.0
SysFS BusID: 2-5:1.0
Hardware Class: unknown
Model: “D-Link 802.11 n WLAN”
Hotplug: USB
Vendor: usb 0x07d1 “D-Link System”
Device: usb 0x3c13 “802.11 n WLAN”
Revision: “1.01”
Serial ID: “1.0”
Speed: 480 Mbps
Module Alias: “usb:v07D1p3C13d0101dc00dsc00dp00icFFiscFFipFF”
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #65 (Hub)

i did not get anything when i typed dmesg | grep firmware in terminal and did not see anything about radio kill switch being activated in the boot log. I’m somewhat new to linux but am not scared of command line. what can i do if anything. i could (and have) used ndiswrapper before but got bad performance(connection kept dying) what can i try? thanx for any help in advance.

the stickies at the beginning of the forum provide some background reading;

in My wireless doesn’t work - a primer on what I should do next - openSUSE Forums

lwfinger recommends

(2) Determine what device you have.

(a) If it is a USB adapter, you should enter the command ‘/usr/bin/lsusb’ in a terminal and you will see output that looks like:

you would seem to have

Model: “D-Link 802.11 n WLAN”
Hotplug: USB
Vendor: usb 0x07d1 “D-Link System”
Device: usb 0x3c13 “802.11 n WLAN”
Revision: “1.01”
Serial ID: “1.0”

but you may wish to re-post

/usr/bin/lsusb
to the forum

then the advice is

dmesg | less

Less will allow you to page through the output. To learn more about less, you can enter the command ‘man less’. To exit the man page, or less itself, type the character q. A space will move one page down in the text, as will the “pg dn” key. You may move one line at a time with the keyboard arrow keys. As you go through the dmesg output, look for any mention of your hardware.

On my system,(lwfinger) it takes 473 lines of output before the line “b43-phy0: Broadcom 4311 WLAN found” appears. In particular, you should look for any lines that indicate that you are missing firmware.

Note that firmware, which runs on the microprocessor in the device, is distinct from a driver, which runs on the host CPU. If you have missing firmware, check online to learn how to install firmware for your device.

is any of this any help to you?

hmmmmmm …

I suspect after more reading that

dmesg | less
may say something like

usbcore: registered new interface driver rt73usb
phy0 -> rt2x00lib_request_firmware: Error - Failed to request Firmware.

if it does, the answer would appear to be, from deltaflyer,

Dlink usb dongle - openSUSE Forums

in post #2

download firmware from here http://www.ralinktech.com.tw/data/RT...mware_V1.8.zip then,just extract the archive and copy the rt73.bin file to /lib/firmware.Then configure as normal

but happy to be shot down in flames if I am wrong

thanx pdc_2 for your replies…the person in the second post you quoted seems to have a different device(maybe it uses the same firmware) i will see what output i get when i return home after work(it’s going to be a long day now)

should have mentioned i’m using 64-bit version.

Correct, your device is certainly not a rt73 Stick.

Vendor: usb 0x**07d1** "D-Link System"
Device: usb 0x**3c13** "802.11 n WLAN"

This is the USB-ID, let me have a look:

/lib/modules/2.6.27.19-3.2-default/updates/**rt3070sta.ko**

alias:          usb:v**07D1**p**3C13**d*dc*dsc*dp*ic*isc*ip*

that’s our baby.

One of the new rt3070-devices (Ralink Chipset).

Index of /repositories/home:/Akoellh

Here you will find kmp-packages with this driver, to find the right package open a terminal and enter


uname -r

cat /etc/SuSE-release

from the output you will see the kernel version and the kernel “flavor” (default, pae …).

Choose the matching rt3070sta-kmp-package from the openSUSE-11.1 or openSUSE-11.1-Update Repository (depending on kernel version) and install it.

After that insert the USB-Stick and a new wireless device should show up as “wlan0”.

so i got the wlan0 to show up using the file i downloaded but now i can’t configure the dive. if i go to yast->network devices->network settings
it stops at 11% reading driver config(i think) the only way out is shutting down. then if i open up a terminal and try to use iwconfig i get this

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     RT2870 Wireless  ESSID:""
          Mode:Auto  Frequency=2.412 GHz
          Link Quality=10/100  Signal level:0 dBm  Noise level:-143 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

and if i try to do iwconfig scan i get

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wlan0     Interface doesn't support scanning : Network is down

this must be something silly at this point but i can’t figure out how to bring it up.what am i missing here. thanx for all the help i feel i’m so close to get this working.

just as a reference here is output from lsusb

Bus 002 Device 005: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 004: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
Bus 002 Device 003: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 002: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0644:0200 TEAC Corp.
Bus 001 Device 003: ID 07d1:3c13 D-Link System
Bus 001 Device 002: ID 040d:6204 VIA Technologies, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and this is what i see when i do dmesg | less

usb 1-5: New USB device found, idVendor=07d1, idProduct=3c13
usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-5: Product: 802.11 n WLAN
usb 1-5: Manufacturer: Ralink
usb 1-5: SerialNumber: 1.0
usb 1-10: new high speed USB device using ehci_hcd and address 5

With only 10% signal strength you won’t win anything here.

The driver is from Ralink homepage, rather new and seems to be rather crap as long as you are not miles away from your wireless router.

i’m at the most 10ft from the router…so am i out of luck here…ok so i figured out how to bring it up…but it freezes when i try to scan…guess i will be stuck with this cable on the floor for now

There is one last idea I have.

My package is built with some extra CFLAGS (which seemed to work fine for rt2860/rt2870 drivers from ralink), so you could try to rebuild the package without these flags.

  • Remove the packge from my repo.

  • Install the following packages via YaST:

kernel-source kernel-syms gcc make patch

  • Download the src.rpm from my repo:

Index of /repositories/home:/Akoellh/openSUSE_11.1_Update/src

“rt3070sta-some_numbers.src.rpm”

Install it as normal user, NOT as root!


rpm -i rt3070sta-*src.rpm

Open the file "/usr/src/packages/SOURCE/Makefile.rt3070sta and replace its contents with this here:



obj-m   += rt3070sta.o

# TODO: all of these should be removed
EXTRA_CFLAGS += -DLINUX -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT
EXTRA_CFLAGS += -DRT2870 -DRT30xx -DRT3070
EXTRA_CFLAGS += -DCONFIG_STA_SUPPORT
EXTRA_CFLAGS += -DDBG
EXTRA_CFLAGS += -DDOT11_N_SUPPORT
EXTRA_CFLAGS += -DWPA_SUPPLICANT_SUPPORT
EXTRA_CFLAGS += -DNATIVE_WPA_SUPPLICANT_SUPPORT

rt3070sta-objs :=               \
        common/md5.o            \
        common/mlme.o           \
        common/rtmp_wep.o       \
        common/action.o         \
        common/cmm_data.o       \
        common/rtmp_init.o      \
        common/rtmp_tkip.o      \
        common/cmm_sync.o       \
        common/eeprom.o         \
        common/cmm_sanity.o     \
        common/cmm_info.o       \
        common/cmm_wpa.o        \
        common/dfs.o            \
        common/spectrum.o       \
        sta/assoc.o             \
        sta/aironet.o           \
        sta/auth.o              \
        sta/auth_rsp.o          \
        sta/sync.o              \
        sta/sanity.o            \
        sta/rtmp_data.o         \
        sta/connect.o           \
        sta/wpa.o               \
        rt_linux.o              \
        rt_profile.o            \
        rt_main_dev.o           \
        sta_ioctl.o             \
        common/ba_action.o      \
        2870_main_dev.o         \
        common/2870_rtmp_init.o \
        common/rtusb_io.o       \
        common/rtusb_bulk.o     \
        common/rtusb_data.o     \
        common/cmm_data_2870.o
  • Save and run:

rpmbuild -ba /usr/src/pacakges/SPECS/rt3070sta.spec

The package will be rebuilt and you will find the results in /usr/src/packages/RPMS/i586 (or x86_64) according to your installation.

  • Choose the right kmp-package (as you did before) and install it.

  • Run


su

password

modprobe -rv rt3070sta

modprobe -v rt3070sta

If things are better now, report back and I will change my packages too.

well this is what i get when i try to install the source package

rpm -i rt3070sta-*src.rpm
warning: rt3070sta-2.0.1.0-16.1.src.rpm: Header V3 DSA signature: NOKEY, key ID 51a790df

And where’s the problem?

Go on.

pardon my ignorance i was expecting some sort of “install successful” message it’s building right now

edit:
it built and installed i’m still getting same results…no light on the device and it freezes if i try to scan or change mode or do anything with it.

So you’re out of luck here.

Wait for newer releases of this driver package, maybe I will build some from linux staging/linux-next soon, so have a look at my repo every week or so or add it to your installation sources via YaST to get those updates automatically.

You could try ndiswrapper with windows driver (which rules at least me out as I don’t give support on that, but maybe someone else will help you).

cool thanx for the help. i have used ndiswrapper befor and got it kinda working but then the connection kept dying after a period of time…i will wait for an update from you thanx again.

So ndiswrapper is also crappy with this device.

(Well, to be honest, no suprise there, because Ralink devices are mostly cheap but crappy, bad signal strength is the most common “Ralink”-problem under linux.)

I will push out updates soon, please give feedback the driver packages will also be merged into the “semi-official” driver:wireless repo and I certainly won’t merge them without any feedback.

I just had another idea, however this is even more experimental, but as the vendor driver is also total crap, you have nothing to loose.

There is a very early version of a free, community written driver called “rt2800usb”.

You will find packages in my repo, however there is no package called “rt2800usb-whatever”, as the drivers are part of another package containing several bleeding edge wireless drivers (called compat-wireless).

  • Remove the rt3070sta-packages

  • Install the package compat-wireless-kmp-flavor matching your kernel flavor (as you did before for rt3070sta)

  • Install package “ralink-firmware” also from my repo



su

password

modprobe -rv rt3070sta

modprobe -v rt2800usb

dmesg |tail -n 20

iwconfig 

Perhaps you’re lucky.

Hey guys. I’ve been having the same problem with this adapter and I’ve tried all the things Akoelh said to try but it did not work.

So I ended up using ndiswrapper with the XP drivers that I got off the CD that came with it and it works beautifully now. So whoever runs into this again should give ndis a try.