D-Link DWA130 USB Wifi Dongle

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
johns86

D-Link DWA130 USB Wifi Dongle

Post by johns86 »

So I have located the drivers from the D-Link website but I am unsure what to do.

I have read online somewhere that I am supposed to make files and create something, but it keeps failing saying that certain things are missing from a file.

If someone else has some knowledge on how to install the USB wifi stick using the drivers called RTL8192u.

I am not very Unix friendly but I am learning. I'm used to having a Windows GUI for everything.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

I've attached a SS of the makefile error I'm getting.
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

The line code missing the value..

I attempted to completely remove that section of code, and just that line. Gives me errors in other places.
JohnBobSmith

Re: D-Link DWA130 USB Wifi Dongle

Post by JohnBobSmith »

Hm, I seem to have a very simillar wifi card. Here is my output of inxi -N:

Code: Select all

Card-3: D-Link System DWA-130 802.11n Wireless N Adapter(rev.E) [Realtek RTL8191SU] driver: r8712u 
Omitted irrelevant results. As you can see, the driver I am using is r8712u. I didnt recal having to install a driver for this adapter to work. For me, this card worked out of the box. Is the network just slow? Not connecting at all? There are many reasons as to why a network card doesnt work, drivers being one of them. If you wouldnt mind describing your problem in detail, that would be great. :)

All the best,
JohnBobSmith
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

lol...yea, I guess "doesnt work" doesn't sum it up!
Well, to start...the LED is not lighting up.

When I type the command lsusb however..my 1st result is...
Bus 002 Device 002: ID 2001:3301 D-Link Corp. DWA 130 802.11n Wireless Adapter Ver C blah blah...

So it recognizes that it is connected, but when I try to connect to wifi, or turn it on, nothing happens, no networks are detected.
JohnBobSmith

Re: D-Link DWA130 USB Wifi Dongle

Post by JohnBobSmith »

Okay, so its most likely (at this time) a driver issue. Can you please post the entire output of inxi -N and put it in code tags? That should tell me which driver it is using (or if it is using a driver at all). For my card, I am using the r8712u driver. I seem to have revision E of the DWA130, you seem to be using revision C. I will look and see what drivers you need and then walk you through the installation process. :)

EDIT:
The dlink website seems to have drivers for older versions of Linux, but it should still be relevant nevertheless. Double check what inxi -N tells you the revision is (I'm using revision E), and download from there. Then its as simple as following method 1 of the readme (or method 2 if the former doesnt work) and going from there. :)
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

inxi -n produced:

Code: Select all

Card-2: D-Link DWA-130 802.11n Wireless N Adapter(rev.C1) [Realtek RTL8192U] driver: rtl819xU 
           IF: wlan0 state: down mac: 00:26:5a:77:77:c5
Last edited by johns86 on Sun Nov 23, 2014 1:36 pm, edited 1 time in total.
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

ok, so it shows version c as it should. Those as well, are the drivers I have downloaded.

Now the problem picks up where I started this thread, lol...the makefile wont...make!
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

I tried to manually...

ifconfig wlan0 up
SIOCSIFFLAGS: Operation not permitted
JohnBobSmith

Re: D-Link DWA130 USB Wifi Dongle

Post by JohnBobSmith »

hm... You tried running "make" in the same directory as the downloaded drivers, right? Also, did you get the drivers from the link I mentioned? Copy and paste the exact error make is giving you. If its large output, use pastebin. Also make sure you decompressed the archive.
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

Link to drivers I downloaded...
http://support.dlink.com/ProductInfo.aspx?m=DWA-130
From the list I selected Version C, then linux drivers. It says they are version 0.06

The results of the make error...

Code: Select all

john@john-Satellite-X205 ~/Desktop/rtl8192u_linux_2.6.0006.1031.2008 $ make
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-37-generic'
  CC [M]  /home/john/Desktop/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_rx.o
In file included from /home/john/Desktop/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_rx.c:46:0:
/home/john/Desktop/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211.h:2107:24: error: field ‘ps_task’ has incomplete type
  struct tasklet_struct ps_task;
                        ^
make[2]: *** [/home/john/Desktop/rtl8192u_linux_2.6.0006.1031.2008/ieee80211/ieee80211_rx.o] Error 1
make[1]: *** [_module_/home/john/Desktop/rtl8192u_linux_2.6.0006.1031.2008/ieee80211] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-37-generic'
make: *** [all] Error 2
JohnBobSmith

Re: D-Link DWA130 USB Wifi Dongle

Post by JohnBobSmith »

Well, I cant find anything useful at this time. Will do more research and get back to you. You may want to try updating your system, specifically the compiler (gcc or g++, I think. Can never remember what's what) and the make command itself. Will see if I can compile (but not install!) those drivers on my system. Other than that, those drivers are for older kernels/versions of Linux. I will see if I can find a more up to date driver for you.

All the best,
JohnBobSmith
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

thank you very much. I'll get to googling on what all of that means first! haha
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: D-Link DWA130 USB Wifi Dongle

Post by JeremyB »

See what

Code: Select all

dmesg | grep -i firmware
shows
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

JeremyB wrote:See what

Code: Select all

dmesg | grep -i firmware
shows
Just tons of... so much that I can't even scroll to the top of the list

Code: Select all

[ 7752.121434] usb 2-6: Direct firmware load failed with error -2
[ 7752.368059] usb 2-6: Direct firmware load failed with error -2
[ 7752.616414] usb 2-6: Direct firmware load failed with error -2
[ 7752.852441] usb 2-6: Direct firmware load failed with error -2
[ 7753.082822] usb 2-6: Direct firmware load failed with error -2
[ 7753.323535] usb 2-6: Direct firmware load failed with error -2
[ 7753.548684] usb 2-6: Direct firmware load failed with error -2
[ 7753.775846] usb 2-6: Direct firmware load failed with error -2
[ 7754.004351] usb 2-6: Direct firmware load failed with error -2
[ 7754.235610] usb 2-6: Direct firmware load failed with error -2
[ 7754.483336] usb 2-6: Direct firmware load failed with error -2
[ 7754.714090] usb 2-6: Direct firmware load failed with error -2
[ 7754.940789] usb 2-6: Direct firmware load failed with error -2
[ 7755.173388] usb 2-6: Direct firmware load failed with error -2
[ 7755.406867] usb 2-6: Direct firmware load failed with error -2
[ 7755.640135] usb 2-6: Direct firmware load failed with error -2
[ 7755.864403] usb 2-6: Direct firmware load failed with error -2
[ 7756.093536] usb 2-6: Direct firmware load failed with error -2
[ 7756.345782] usb 2-6: Direct firmware load failed with error -2
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: D-Link DWA130 USB Wifi Dongle

Post by JeremyB »

johns86 wrote:
JeremyB wrote:See what

Code: Select all

dmesg | grep -i firmware
shows
Just tons of... so much that I can't even scroll to the top of the list

Code: Select all

[ 7752.121434] usb 2-6: Direct firmware load failed with error -2
[ 7752.368059] usb 2-6: Direct firmware load failed with error -2
[ 7752.616414] usb 2-6: Direct firmware load failed with error -2
[ 7752.852441] usb 2-6: Direct firmware load failed with error -2
[ 7753.082822] usb 2-6: Direct firmware load failed with error -2
[ 7753.323535] usb 2-6: Direct firmware load failed with error -2
[ 7753.548684] usb 2-6: Direct firmware load failed with error -2
[ 7753.775846] usb 2-6: Direct firmware load failed with error -2
[ 7754.004351] usb 2-6: Direct firmware load failed with error -2
[ 7754.235610] usb 2-6: Direct firmware load failed with error -2
[ 7754.483336] usb 2-6: Direct firmware load failed with error -2
[ 7754.714090] usb 2-6: Direct firmware load failed with error -2
[ 7754.940789] usb 2-6: Direct firmware load failed with error -2
[ 7755.173388] usb 2-6: Direct firmware load failed with error -2
[ 7755.406867] usb 2-6: Direct firmware load failed with error -2
[ 7755.640135] usb 2-6: Direct firmware load failed with error -2
[ 7755.864403] usb 2-6: Direct firmware load failed with error -2
[ 7756.093536] usb 2-6: Direct firmware load failed with error -2
[ 7756.345782] usb 2-6: Direct firmware load failed with error -2
I think the firmware is part of linux-firmware package

Code: Select all

sudo apt-get install linux-firmware
Reboot
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

Code: Select all

john@john-Satellite-X205 ~ $ sudo apt-get install linux-firmware
[sudo] password for john: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
linux-firmware is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 25 not upgraded.
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

First link was good start to tell me what I needed to do.

I watched the video and attempted that way, installed drivers, plugged in the card and it displays in Ndiswrapper now that the hardware is present...so theres another step forward.

However, no light on my card, and not able to detect networks...just to double check...

inxi -n still states that W-Lan 0 is still in a down state

Now to the 3rd step...
all worked, same as the previous 2 things. Restarting the computer now.
johns86

Re: D-Link DWA130 USB Wifi Dongle

Post by johns86 »

restarted, nothing...

I think the problem is still at the lowest level. Because the LED is not lighting up, it is not being supplied power, it is only reading from the USB perhaps?
Locked

Return to “Hardware Support”