Peppermint OS

Support => Networking => Topic started by: penrose1950 on January 09, 2015, 04:15:43 am

Title: (SOLVED) D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 09, 2015, 04:15:43 am
hello i bought the D-Link Wireless-N 150 Easy USB Adaptor but when i got it i found the driver is for windows or mac only,i tried it on peppermint 5 but it did not work so i have had to install windows 7 for the moment.
there is a driver for linux on the d-link website but when i downloaded it i could not see auto run or setup and did not know what to click on,any ideas please on how to get it working with peppermint 5 as my signal connection is about 68% without it and about 100% with windows 7.
thank you.
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: PCNetSpec on January 09, 2015, 10:16:58 am
With the adapter plugged in, post the output from:
Code: [Select]
lsusband
Code: [Select]
sudo lshw -C network
It might also be useful if you can post a link to the webpage on the D-Link website with the Linux driver
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 04:48:16 am
lsusb
Spoiler (click here to view / hide)
[close]
john@john-Aspire-5536 ~ $ sudo lshw -C network
Spoiler (click here to view / hide)
[close]
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 04:49:08 am
http://www.dlink.com/uk/en/support/product/dwa-131-wireless-n-nano-usb-adapter?revision=deu_revb
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: AndyInMokum on January 10, 2015, 05:39:19 am
Hi penrose1950.  I see that the output you returned is very long.  In future, could you please encapsulate long outputs with the Sp Spoiler function.  This is located in the forum editor, just above the crying  :'( emoticon.  It makes it much easier for people to read and keeps things neat and tidy.  This time I've done this for you.  Thanks in advance ;).
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 05:42:36 am
sorry i did try to do that as i saw someone else being told,i tried to paste in between the sp but i will try again next time,thank you.
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: AndyInMokum on January 10, 2015, 05:43:58 am
No problem  ;D.
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: PCNetSpec on January 10, 2015, 06:36:38 am
OK, try this .. open  a terminal and run these commands in sequence:
Code: [Select]
sudo apt-get install linux-headers-generic build-essential dkmsthen:
Code: [Select]
mkdir ~/dlink-driverthen:
Code: [Select]
cd ~/dlink-driverthen:
Code: [Select]
wget http://github.com/lwfinger/rtl8188eu/archive/master.zipthen:
Code: [Select]
unzip master.zipthen
Code: [Select]
cd ~/dlink-driver/rtl8188eu-masterthen
Code: [Select]
makethen
Code: [Select]
sudo make installthen
Code: [Select]
sudo depmod -anow see if wireless springs to life when you run:
Code: [Select]
sudo modprobe 8188euif it does .. check it survives a reboot
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 07:26:09 am
udo modprobe 8188eu
modprobe: ERROR: could not insert '8188eu': Device or resource busy
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: PCNetSpec on January 10, 2015, 07:50:46 am
Try:
Code: [Select]
sudo modprobe -r r8188euthen
Code: [Select]
sudo modprobe 8188euif that works (or not) REBOOT .. then post the output from:
Code: [Select]
sudo lshw -C network
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 08:08:55 am
Spoiler (click here to view / hide)
[close]
*-network               
       description: Ethernet interface
       product: NetLink BCM5784M Gigabit Ethernet PCIe
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 10
       serial: 00:1f:16:ab:91:6e
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.134 firmware=sb v2.19 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:42 memory:f0300000-f030ffff
  *-network
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: wlan1
       version: 01
       serial: 00:24:2c:a2:8c:b0
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.13.0-43-generic firmware=N/A ip=192.168.0.6 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:f0400000-f040ffff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@2:3
       logical name: wlan0
       serial: d8:fe:e3:56:99:93
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: PCNetSpec on January 10, 2015, 08:14:36 am
OK, run
Code: [Select]
sudo modprobe -r r8188euthen
Code: [Select]
sudo modprobe 8188euthis time don't reboot .. just post the output from:
Code: [Select]
sudo lshw -C networkand tell me if wireless is working or not with the D-Link adapter

[EDIT]

I'm a bit confused why you want a Nano in the first place, when you appear to have a working built in wireless adapter ?
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 08:36:43 am
Spoiler (click here to view / hide)
[close]
sudo lshw -C network
  *-network               
       description: Ethernet interface
       product: NetLink BCM5784M Gigabit Ethernet PCIe
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: eth0
       version: 10
       serial: 00:1f:16:ab:91:6e
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=tg3 driverversion=3.134 firmware=sb v2.19 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:42 memory:f0300000-f030ffff
  *-network
       description: Wireless interface
       product: AR928X Wireless Network Adapter (PCI-Express)
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: wlan1
       version: 01
       serial: 00:24:2c:a2:8c:b0
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.13.0-43-generic firmware=N/A ip=192.168.0.6 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:f0400000-f040ffff
  *-network
       description: Wireless interface
       physical id: 1
       bus info: usb@2:3
       logical name: wlan0
       serial: d8:fe:e3:56:99:93
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 08:37:25 am
i am getting 63%
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: PCNetSpec on January 10, 2015, 09:00:58 am
It still seems like the D-Link isn't associated, and you're still using the built in Atheros adapter ?

it also seems like you're still using the r8188eu driver, and not the 8188eu driver.

What happens when you run:
Code: [Select]
sudo modprobe -r r8188euthen
Code: [Select]
sudo modprobe 8188eu?
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 10, 2015, 09:09:39 am
it is not working as i was getting 100 % using windows,i am sorry to keep bothering you do you think i should just go back to windows?
sky do a wireless booster for £20 maybe that would work.
thanks.
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 14, 2015, 03:26:27 am
do you think this would work for me -

https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: AndyInMokum on January 14, 2015, 04:41:50 am
do you think this would work for me -

https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-gnu-linux-tpe-n150usb

Hi penrose1950, I think that is just what you are looking for.  Peppermint Five is in the supported distributions list:
Quote
Supported distributions:

Trisquel 6.01, 7
Parabola GNU/Linux 2013.04.27+
Ubuntu 11.04, 11.10, 12.04, 12.10, 13.04, 13.10, 14.04, 14.10
Lubuntu 11.04, 11.10, 12.04, 12.10, 13.04, 13.10, 14.04, 14.10
Peppermint Linux OS 5
Kubuntu 11.04, 11.10, 12.04, 12.10, 13.04, 13.10, 14.04, 14.10
LXLE 12.04, 12.04.3, 12.04.4, 14.04, discontinued
LinuxMint 10, 11, 12, 13, 14, 14.1, 15, 16, 17, 17.1
Fedora 16, 17, 18, 19, 20, 21
CentOS 7 Series 7.0
Red Hat Enterprise Linux (RHEL) 7 Series 7.0
Scientific Linux 7 Series 7.0
CentOS 6 Series 6.5, 6.6
Red Hat Enterprise Linux (RHEL) 6 Series 6.5, 6.6
Scientific Linux 6 Series 6.5, 6.6
OpenSuSE 12.3, 13.1, 13.2
Zorin OS 6.0, 6.1, 6.2, 7, 7.1, 8, 8.1, 9, 9.1
Tails .20, .21, .22, .22.1, .23, 1.0, 1.0.1, 1.1, 1.1.1, 1.1.2, 1.2, 1.2.1, 1.2.2
PCLinuxOS 2013.7, 2013.715, 2013.10, 2013.12, 2014.04, 2014.05, 2014.07, 2014.08, 2014.12
Kali 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, 1.09a
* Raspbian 2013-07-26 Wheezy+
* BackTrack has been 'reborn' as Kali

It should work straight out of the box  - good luck ;)!!
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 14, 2015, 04:48:57 am
thank you very much i will order it today and post back if it works.
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: AndyInMokum on January 14, 2015, 05:02:32 am
The feedback will be very useful to add to the knowledge base - many thanks  ;)!
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 16, 2015, 08:06:14 am
i emailed them to check if it would work and got this answer
-If the signal is on the weaker side with the dwa-125 in MS Windows I'd advise getting this adapter instead:

https://www.thinkpenguin.com/gnu-linux/penguin-wireless-n-usb-adapter-w-external-antenna-gnu-linux-tpe-n150usbl

The TPE-N150USB has an even smaller antenna than the d-link dwa-125 and as such will probably provide for an even weaker connection. It might not work at all in fact if its too weak.

If you don't want to spend that much I'd suggest the USB G adapter here instead:

https://www.thinkpenguin.com/gnu-linux/penguin-wireless-g-usb-adapter

The G adapter should provide about the same experience as the DWA-125 on MS Windows (but on Linux Mint 17 of course) in most instances. Though in some cases it might not be sufficient to match your internet connection speed (whereas the DWA-125 might be). Which is why I'd go with the TPE-N150USBL first if you can. The TPE-NUSBDB would also be a good choice, but its much more expensive, and you would need a higher end router to really take advantage of it, and possibly be in an area with faster than typical internet connection.
the G adapter is $61 dollars which i think is too expensive for me,so i will keep looking for something else and will post back.


Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: rjm65 on January 16, 2015, 08:16:36 am
TP-Link makes a wireless pcmcia card that works with all linux laptops out of the box, wether or not they make a usb device i don't know...But look into it, i bought my cards on ebay for like $9.99, but my older ibm stinkpads have pcmcia slots to use them if need be...
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: rjm65 on January 16, 2015, 08:28:05 am
Found  Bunch of cheap ones on ebay even the one you were looking at was in the list with a price of $29.99...
http://www.ebay.com/sch/i.html?_odkw=wireless+usb+adapter+linux&LH_BIN=1&_from=R40&_osacat=0&_from=R40&_trksid=p2045573.m570.l1311.R1.TR2.TRC1.A0.H1.Xwireless+usb+adapter+linux&_nkw=usb+wireless+adapter+linux&_sacat=0 (http://www.ebay.com/sch/i.html?_odkw=wireless+usb+adapter+linux&LH_BIN=1&_from=R40&_osacat=0&_from=R40&_trksid=p2045573.m570.l1311.R1.TR2.TRC1.A0.H1.Xwireless+usb+adapter+linux&_nkw=usb+wireless+adapter+linux&_sacat=0)
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: PCNetSpec on January 16, 2015, 09:39:30 am
Same chipset $7.78 (including postage) on Amazon:
http://www.amazon.com/Docooler-Adapter-150Mbps-Atheros-Antenna/dp/B00IZ5GNSA/ref=sr_1_1?ie=UTF8&qid=1421429462&sr=8-1&keywords=AR9271

Comments said it works out of the box in Kali (Debian based), so should be fine in Peppermint 5 .. all recent Linux kernels have support for the Qualcom Atheros AR9271 chip built in (ath9k_htc driver).



BTW, the one that thinkpengin.com are now trying to sell you is an (unbadged) ALFA AWUS036NHA which has the same AR9271 chip as this first one you mentioned:
http://www.amazon.com/Alfa-AWUS036NHA-Wireless-Adaptor-Compatible/dp/B004Y6MIXS/ref=sr_1_4?ie=UTF8&qid=1421430078&sr=8-4&keywords=AR9271
or
http://www.ebay.com/itm/ALFA-AWUS036NHA-802-11n-Wireless-N-Wi-Fi-USB-Adapter-High-Speed-Atheros-AR9271-/380458349886?pt=LH_DefaultDomain_0&hash=item589515b53e
or same thing, but also includes a 7 dBi directional antenna:
http://www.ebay.com/itm/ALFA-AWUS036NHA-802-11n-Wi-Fi-USB-Adapter-APA-M04-7-dBi-directional-antenna-/380886546356?pt=US_USB_Wi_Fi_Adapters_Dongles&hash=item58ae9b77b4

So (as both of the thinkpenguin.com adapters use it) the lesson here is to search for adapters with the AR9271 chip:
http://www.ebay.com/sch/i.html?_odkw=usb+wireless+adapter+linux&_from=R40|R40&LH_BIN=1&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR3.TRC1.A0.H0.XAR9271&_nkw=AR9271&_sacat=0 (http://www.ebay.com/sch/i.html?_odkw=usb+wireless+adapter+linux&_from=R40|R40&LH_BIN=1&_osacat=0&_from=R40&_trksid=p2045573.m570.l1313.TR3.TRC1.A0.H0.XAR9271&_nkw=AR9271&_sacat=0)
Title: Re: D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: penrose1950 on January 22, 2015, 08:42:41 am
thank you all i got the Docooler Mini USB Wifi Adapter 150Mbps Atheros AR9271 Chip with 5dBi Antenna and all working fine now.
 
Title: Re: (SOLVED) D-Link Wireless-N 150 Easy USB Adaptor: does not work on linux ?
Post by: PCNetSpec on January 22, 2015, 09:23:08 am
Cheers for the feedback :)

Looks like "nano" style adapters are becoming a PITA now they all seem to use the RTL8188EU chip ... would be nice if Realtek pulled their finger out and release a driver update that compiles/works with recent kernels.