LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-30-2014, 10:54 AM   #1
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Rep: Reputation: 0
Linux driver for D-Link wireless N Nano usb adapter DWA-131


Hello i posted on here before about poor wifi signal and when i installed ultimate edition 2.6.1 i was getting 94% and i maked the topic solved,but then i started getting disconnected and the signal dropped down again,i saw on one of the forums about the d-link so i ordered one from Amazon but when it arrived it was for windows or mac only,i have installed windows 7 but really want to use Linux and i saw this-http://www.filehelp.info/drivers/other-drivers-tools/d-link/d-link-dwa-131-wireless-n-nano-usb-adapter-driver-1-00-for-linux

but i cannot seem to download it,does anyone please know where i can get a linux driver from so i can come back to linux?
thank you.
 
Old 12-30-2014, 03:23 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
You should start by sharing the chipset details. (They're more relevant than the brand/model number, especially since some models may use different chipsets, depending on revision).

Post the output from
Code:
lsusb
or even better
Code:
usb-devices
The latter command will report any associated driver if present.

A quick online search shows that some DWA-131 device are reported to be supported by the rtl8192cu driver, but this may depend on kernel version, and your exact device chipset. Device firmware is also required as well.

I'll point you at one example I found:
http://bernaerts.dyndns.org/linux/74...dwa-131-rev-b1

Last edited by ferrari; 12-30-2014 at 03:24 PM.
 
Old 12-31-2014, 05:37 AM   #3
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Original Poster
Rep: Reputation: 0
it does not recognize your commands because i am currently using windows 7 with 64 bit until i can get back to linux ?
 
Old 12-31-2014, 04:32 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
Quote:
it does not recognize your commands because i am currently using windows 7 with 64 bit until i can get back to linux ?
Of course not. This is a Linux forum and the commands I gave are for the same
 
Old 01-01-2015, 07:59 AM   #5
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Original Poster
Rep: Reputation: 0
i have sent off to d-link to see if they have a linux driver for me,i will post here to let you know if they send me one.
 
Old 01-01-2015, 03:23 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,842

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
All very well, but Many D-Link devices are supported by existing open source kernel drivers. There are different versions of the DWA-131 device, some of which employ Realtek chip-sets, (hence my request for the product ID via lsusb). The appropriate Firmware is likely to be required as well.

Last edited by ferrari; 01-01-2015 at 03:24 PM.
 
Old 01-03-2015, 11:27 AM   #7
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,005
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
ferrari's suggestion is a good one but, if you can get your money back on the DWA-131 from Amazon, then I suggest that you buy this other D-Link wifi adapter instead. It may even be cheaper than the DWA-131:

D-Link Wireless-N 150 Easy USB Adaptor:
http://www.cclonline.com/product/116...aptor/NET0927/

It is also available from Amazon UK:
http://www.amazon.co.uk/D-Link-DWA-1.../dp/B002IJHTE6

http://www.amazon.co.uk/D-Link-Wirel...productDetails


Realtek rtl8188eu is the correct driver, but it is necessary to do a bit of tweaking.

Nevertheless, the USB N150 does work. I have used it several times in Linux Mint.

Plug in the D-Link GO-USB-N150 N Adapter.

Code:
sudo apt-get install build-essential git linux-headers-generic

git clone https://github.com/lwfinger/rtl8188eu.git

gedit rtl8188eu/os_dep/usb_intf.c
Next, change this line:

Code:
{USB_DEVICE(0x2001, 0x330F)}, /* DLink DWA-125 REV D1 */
TO THIS:

Code:
{USB_DEVICE(0x2001, 0x3311)}, /* DLink GO-USB-N150 REV B1 */
Then, File > Save > Replace

Code:
cd rtl8188eu
make
sudo make install
Reboot the computer and enter the wifi key.

Last edited by beachboy2; 01-04-2015 at 04:57 AM. Reason: additional link
 
Old 01-03-2015, 11:51 AM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,005
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
According to D-Link, the only DWA-131 Linux driver is this one:

DEU_Driver_Linux_v3_44_RevB

which is available here (Downloads > Drivers):

http://www.dlink.com/uk/en/support/p...ision=deu_revb

Last edited by beachboy2; 01-03-2015 at 04:22 PM.
 
Old 01-05-2015, 09:28 AM   #9
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Original Poster
Rep: Reputation: 0
thank you i have done the first step by sending back the N Nano usb adapter DWA-131
and i am about to order the D-Link Wireless N 150 Easy USB Adapter
once i receive it i will install linux mint and then follow your instructions and then post back how i got on.
thank you.
 
Old 01-06-2015, 03:42 AM   #10
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Original Poster
Rep: Reputation: 0
will your commands work with crunchbang or other linux distros beachboy2 ?
thank you.
 
Old 01-07-2015, 03:05 AM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,005
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
Yes, certainly for those distros like Crunchbang, Debian, Ubuntu, Linux Mint etc which use APT (apt-get) package management.

I have used gedit as the text editor to open the rtl8188eu/os_dep/usb_intf.c file.

I believe that Crunchbang has gedit as its default text editor, so you should be fine.

Have this page open and just make sure that you copy and paste exactly each individual line of code separately before moving on to the next one.

You may need to wait for several minutes while some of the operations are performed, so don't worry if nothing seems to be happening.

Last edited by beachboy2; 01-07-2015 at 03:15 AM.
 
Old 01-07-2015, 10:25 AM   #12
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Original Poster
Rep: Reputation: 0
i have copied and pasted all your commands and downloaded the driver to my home folder but the connection has gone down from 78% to 76 %
i have not clicked on anything in the home folder from the driver,is that the problem maybe?
i have installed Peppermint linux.
thank you.

Last edited by geordiejohn1950; 01-07-2015 at 10:42 AM.
 
Old 01-07-2015, 10:47 AM   #13
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Original Poster
Rep: Reputation: 0
lsusb
Bus 002 Device 003: ID 04f2:b044 Chicony Electronics Co., Ltd Acer CrystalEye Webcam
Bus 002 Device 002: ID 2001:330f D-Link Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
john@john-Aspire-5536 ~ $ usb-devices

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=03.13
S: Manufacturer=Linux 3.13.0-43-generic ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:12.2
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=03.13
S: Manufacturer=Linux 3.13.0-43-generic ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:13.2
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=2001 ProdID=330f Rev=00.00
S: Manufacturer=Realtek
S: Product=DWA-125 11n Adapter
S: SerialNumber=D8FEE3569993
C: #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=r8188eu

T: Bus=02 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 3 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=04f2 ProdID=b044 Rev=11.12
S: Manufacturer=Chicony Electronics Co., Ltd.
S: Product=CNF7017
S: SerialNumber=SN0001
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=0e(video) Sub=01 Prot=00 Driver=uvcvideo
I: If#= 1 Alt= 0 #EPs= 0 Cls=0e(video) Sub=02 Prot=00 Driver=uvcvideo

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.13
S: Manufacturer=Linux 3.13.0-43-generic ohci_hcd
S: Product=OHCI PCI host controller
S: SerialNumber=0000:00:12.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.13
S: Manufacturer=Linux 3.13.0-43-generic ohci_hcd
S: Product=OHCI PCI host controller
S: SerialNumber=0000:00:12.1
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub

T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev=03.13
S: Manufacturer=Linux 3.13.0-43-generic ohci_hcd
S: Product=OHCI PCI host controller
S: SerialNumber=0000:00:13.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
 
Old 01-07-2015, 12:25 PM   #14
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 4,005
Blog Entries: 33

Rep: Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471Reputation: 1471
gj1950,

I have no experience of Peppermint Linux but it should be okay if it is anything like Linux Mint.

I have just set up the D-Link USB 150 adapter on my main desktop PC which uses Ubuntu 14.04.1 MATE and I have a full strength 100% wifi signal.

Admittedly my desktop PC and router are not far from one another but everything works perfectly with a consistent signal.

There is no need to mess with the rtl8188eu folder in your Home folder.

This D-Link USB 150 adapter should work fine regardless of the Linux operating system that is used, but you could try giving Linux Mint 17.1 MATE or Ubuntu 14.04.1 MATE a whirl and see if that improves things at all.
 
Old 01-07-2015, 12:38 PM   #15
geordiejohn1950
Member
 
Registered: Aug 2010
Location: London
Distribution: linux mint 17
Posts: 60

Original Poster
Rep: Reputation: 0
i will install mint 17 and go through the procedure again and see what happens.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
D-Link 131 Nano USB WLan driver issue (realtek 8192cu chip) BirdfromtheSouthpole Linux - Hardware 2 04-02-2014 12:03 AM
Cann't use my usb wireless adapter D-link (DWA-131) works Backtrack5 R1 VMware Demo123 Linux - Wireless Networking 1 02-19-2012 08:19 AM
D-link 131 nano wifi adapter not detected by Bactrack 5 Linux mark hack Linux - Newbie 2 02-06-2012 11:02 PM
Wireless USB adapter - D-Link DWA-160 Wireless N USB edagar Linux - Hardware 2 09-08-2011 08:40 PM
scientific linux 5.5 - d-link dwa 130 e1 usb wireless adapter pcandpc Linux - Enterprise 1 09-24-2010 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration