D-Link DWA-131 doesn't work !

Getting your soundcard to work, using Debian on non-i386 hardware, etc

D-Link DWA-131 doesn't work !

Postby skaarjwarrior651 » 2017-04-20 12:21

I need the rtl8192eu driver for the D-LINK DWA-131 adapter, which is not included in firmware-realtek and firmware-linux-nonfree|firmware-misc-nonfree. How can I install it? Why is the driver not yet included in firmware-realtek? :?

* i'm using Debian 9 *
Last edited by skaarjwarrior651 on 2017-04-20 14:18, edited 2 times in total.
skaarjwarrior651
 
Posts: 3
Joined: 2017-04-20 12:09

Re: D-Link DWA-131 doesn't work !

Postby dasein » 2017-04-20 13:12

If you'd bothered to look at the appropriate Wiki page, you wouldn't have had to wait for an answer.

Next time, maybe search before you post.
User avatar
dasein
 
Posts: 7775
Joined: 2011-03-04 01:06
Location: Terra Incantationum

Re: D-Link DWA-131 doesn't work !

Postby skaarjwarrior651 » 2017-04-20 14:12

Yes, i have already consulted the guide, but didn't work. I found that the adapter requires the RTL8192EU firmware. ( It's an updated version )
skaarjwarrior651
 
Posts: 3
Joined: 2017-04-20 12:09

Re: D-Link DWA-131 doesn't work !

Postby Dai_trying » 2017-04-20 14:33

My google search gave me this hit on the first page.
Dai_trying
 
Posts: 567
Joined: 2016-01-07 12:25

Re: D-Link DWA-131 doesn't work !

Postby skaarjwarrior651 » 2017-04-20 14:46

Yeah, but I have some problems with dependencies of DKMS, which are already installed, but still get the error.

I need:
Linux-headers-generic
Linux-headers

... but I have the feeling of already having them installed.
Image
skaarjwarrior651
 
Posts: 3
Joined: 2017-04-20 12:09

Re: D-Link DWA-131 doesn't work !

Postby Dai_trying » 2017-04-20 15:03

Did you install build-essential? that usually brings everything needed to build packages.
Dai_trying
 
Posts: 567
Joined: 2016-01-07 12:25

Re: D-Link DWA-131 doesn't work !

Postby stevepusser » 2017-04-20 17:38

The term "generic" associated with the kernel shows that you are trying to follow Ubuntu-specific directions. Debian and Ubuntu use different names for their kernel packages, so you can't mix those specific directions. One way to set up a driver build environment that works for either distro, assuming you have a working Net connection, is to install module-assistant and run in a terminal as sysadmin (sudo or root):
Code: Select all
m-a prepare


The command will install the headers of the current running kernel and also all the tools need to build the driver, so just install dkms after it finishes. You don't need git if you just download and extract a zip of the contents of that github repo.

I also remember users of your specific device and driver having problems when Stretch went to kernel 4.9. You can find the specifics if you search the forum for "8192eu", but I think the solution is to force load your driver by adding it to /etc/modules.

By the way, firmware is just a microcode blob that gets loaded into the device by the driver--the driver (aka module) is a quite different beast.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Flightgear 2018.2.2, 4.19.5 kernel, wine-staging 4.0~rc1, Pale Moon 28.2.2, Mesa 18.2.6, Midori 7.0
User avatar
stevepusser
 
Posts: 10273
Joined: 2009-10-06 05:53

Re: D-Link DWA-131 doesn't work !

Postby rudar » 2018-08-06 15:47

I have DWA-131 E1G. It sees my home network, but it cannot connect to it, in spite the fact that I keep repeating my password... What can I do about it?
User avatar
rudar
 
Posts: 60
Joined: 2014-02-17 08:27

Re: D-Link DWA-131 doesn't work !

Postby Dai_trying » 2018-08-06 17:15

Probably this is required

In an editor open
/etc/NetworkManager/NetworkManager.conf

Then add
[device]
wifi.scan-rand-mac-address=no

taken from the first hit after searching the forum with +wifi +cannot +connect
Dai_trying
 
Posts: 567
Joined: 2016-01-07 12:25

Re: D-Link DWA-131 doesn't work !

Postby rudar » 2018-08-07 05:49

Dai_trying wrote:Probably this is required

In an editor open
/etc/NetworkManager/NetworkManager.conf

Then add
[device]
wifi.scan-rand-mac-address=no

taken from the first hit after searching the forum with +wifi +cannot +connect


I wish it were so simple... I raised this question, because when I tried with DWA-N 150, it worked as a charm, just plug-and-play. No additional work was necessary. Unfortunately, I cannot keep the stick that works, but must try my luck with this one... :(

Also, DWA-123 also went to hell after the last upgrade from Debian 9.4 to 9.5. Debian developers made a nice little mess this time...
User avatar
rudar
 
Posts: 60
Joined: 2014-02-17 08:27

Re: D-Link DWA-131 doesn't work !

Postby Dai_trying » 2018-08-07 07:12

I read in this archlinux post that you might need to use the rtl8192cu driver, but I have a rtl8192 device and needed to use this github fix to maintain a stable connection.

This was a while ago though and I notice the author states this is now deprecated and from Kernel 4.4 it should just work (I haven't tested this yet) so not sure if it is worth trying for you.

There is also a few interesting pieces of advice in the readme regarding power saving modes (and how to disable it) which also might help.
Dai_trying
 
Posts: 567
Joined: 2016-01-07 12:25

Re: D-Link DWA-131 doesn't work !

Postby rudar » 2018-08-07 09:45

Look, what I really can't figure out, is the fact that my old DWA-123 worked perfectly well, until this (un)fortunate upgrade. Now it sees my home connection, but it cannot connect. Then I borrowed a DWA-150, and it worked perfectly well (just plug and play). Then I bought this, D-Link DWA-131 E1G, and when I plugged it in, first it was not recognised at all. Fair enough, there are free drivers around. I checked and installed what should be the right driver. After that, my device was recognised and it sees my home network too, but it won't connect to internet! Just like that. It's driving me mad!
User avatar
rudar
 
Posts: 60
Joined: 2014-02-17 08:27

Re: D-Link DWA-131 doesn't work !

Postby Head_on_a_Stick » 2018-08-07 10:14

Have you tried blacklisting the rtl8192eu driver and forcing rlt8xxxu?

Check the driver is use with
Code: Select all
lspci -k | grep -iA2 net
dbruce wrote:Ubuntu forums try to be like a coffee shop in Seattle. Debian forums strive for the charm and ambience of a skinhead bar in Bacau. We intend to keep it that way.
User avatar
Head_on_a_Stick
 
Posts: 8321
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: D-Link DWA-131 doesn't work !

Postby rudar » 2018-08-07 18:33

I have two USB-Web sticks. The one is D-link DWA-123, and the other one is D-Link DWA-131. Neither of them works now, but DWA-123 worked perfectly well until I broke my Debian Mate 9.4 and had to re-install Debian Mate 9.5.

Now, I think that I need this to get my DWA-123 get working again: USB: 2001:3C17 D-Link Corp. DWA-123 Wireless N 150 Adapter(rev.A1) [Ralink RT3370]. When I tried to install firmware-ralink in terminal, I got the information that firmware-misc-nonfree is already the newest version (20161130-3). Unfortunately, this does not work either for DWA-123, or for the brand new DWA-131 (I bought it yesterday).

How can I remove firmware-misc-nonfree and replace it with older version, firmware-ralink? I believe this would solve my problems.
User avatar
rudar
 
Posts: 60
Joined: 2014-02-17 08:27

Re: D-Link DWA-131 doesn't work !

Postby rudar » 2018-08-09 17:41

This is to tell you that I have solved the problem with DWA-123. It works again, thanks to

Code: Select all
sudo nano /etc/NetworkManager/NetworkManager.conf


When it opens, then enter

Code: Select all
[device]
wifi.scan-rand-mac-address=no


Then reboot and that's it, it works. I have found this suggestion in Debian Wiki in the case when WiFi can scan, but not connect using NetworkManager (Debian 9 Stretch), suggesting the following:
If you find that your wireless network device can scan, but will not complete connecting, try turning off MAC address randomization.

I wish to apologize to @Dai_trying for neglecting his good advice. I am also grateful to @Head_on_a_Stick for his good effort to help me. I am most obliged, guys, and thank you very much :)

I will try tomorrow if DWA-131 works in the same way. Cheers!
User avatar
rudar
 
Posts: 60
Joined: 2014-02-17 08:27

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable