Almost got D-Link GO-USB-N150 to work

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
tom_elkrider
Level 1
Level 1
Posts: 1
Joined: Thu Dec 19, 2013 3:50 am

Almost got D-Link GO-USB-N150 to work

Post by tom_elkrider »

Device in question:
Dlinkgo (D-Link) Wireless N 150 Easy USB Adapter
Model: GO-USB-N150
Hardware version: B1
Firmware version: 2.00

lsusb sees it as:

Code: Select all

Bus 001 Device 008: ID 2001:3311 D-Link Corp. 
Out-of-the-box this adapter gave me absolutely nothing. After some googling
I found instructions on an Ubuntu forum about how to tweak the RTL8188EU driver
(https://github.com/lwfinger/rtl8188eu) to detect this device.
The code as follows:

Code: Select all

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
- - - Change this line: {USB_DEVICE(0x2001, 0x330F)}, /* DLink DWA-125 REV D1 */
- - - to this: {USB_DEVICE(0x2001, 0x3311)}, /* DLink GO-USB-N150 REV B1 */
cd rtl8188eu
make
sudo make install
sudo mkdir -p /lib/firmware/rtlwifi
sudo cp rtl8188eufw.bin /lib/firmware/rtlwifi/
It worked. The blue LED-light came on and I could now choose wireless networks
from my networks list. However, after opening a wireless connection the signal
only stays alive for a few seconds before dropping to practically zero.

I can turn the driver on and off again by modprobe and it again comes to life for a few
seconds before dying.

iwconfig returns:

Code: Select all

wlan      0IEEE 802.11bgn  ESSID:"********"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:0C:C3:D9:51:00   
          Bit Rate:72.2 Mb/s   Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode:open
          Power Management:off
          Link Quality=0/100  Signal level=2/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
ifconfig returns:

Code: Select all

wlan0     Link encap:Ethernet  HWaddr 78:54:2e:21:c2:30  
          inet addr:192.168.100.24  Bcast:192.168.100.255  Mask:255.255.255.0
          inet6 addr: fe80::7a54:2eff:fe21:c230/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:60 errors:0 dropped:76 overruns:0 frame:0
          TX packets:99 errors:0 dropped:2 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:11306 (11.3 KB)  TX bytes:23849 (23.8 KB)
Modinfo gives me a whole load of parameters to mess around with but I'm flying blind here.
I have no idea what they mean:

Code: Select all

modinfo 8188eu

filename:       /lib/modules/3.11.0-12-generic/kernel/drivers/net/wireless/8188eu.ko
version:        v4.1.4_6773.20130222
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     B53FE0A69D8935CA411E5A4
alias:          usb:v2001p3311d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v8179p07B8d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp0179d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8179d*dc*dsc*dp*ic*isc*ip*in*
depends:        
vermagic:       3.11.0-12-generic SMP mod_unload modversions 
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_initmac:charp
parm:           rtw_channel_plan:int
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_cbw40_enable:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_ampdu_amsdu:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_rf_config:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_fw_iol:FW IOL (int)
parm:           rtw_mc2u_disable:int
parm:           rtw_80211d:Enable 802.11d mechanism (int)
parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm:           debug:Set debug level (1-9) (default 1) (int)
Any ideas and help would be greatly appreciated!
zpctafw
Level 1
Level 1
Posts: 1
Joined: Thu Jan 23, 2014 2:52 pm

Re: Almost got D-Link GO-USB-N150 to work

Post by zpctafw »

Try:

Code: Select all

sudo nano /etc/modprobe.d/8188eu.conf
and insert the following:

Code: Select all

# Disable power management
options 8188eu rtw_power_mgnt=0 rtw_enusbss=0
then:

Code: Select all

sudo modprobe -r 8188eu
sudo modprobe 8188eu
or restart the machine.

This effectively disables the power management feature of the wireless device preventing the connection drop outs.
For me it worked in Ubuntu 12.04.

And thank you very much! This is by far the most complete subject on installing GO-USB-N150 on linux.
grigore.lupescu
Level 1
Level 1
Posts: 1
Joined: Sat Mar 22, 2014 11:18 am

Re: Almost got D-Link GO-USB-N150 to work

Post by grigore.lupescu »

I have the same device i.e. and had the same issue (device driver was not available/working).
Dlinkgo (D-Link) Wireless N 150 Easy USB Adapter
Model: GO-USB-N150
Hardware version: B1
Firmware version: 2.00

I am running Ubuntu 12.04 LTS
Linux 3.8.0-37-generic #53~precise1-Ubuntu SMP Wed Feb 19 21:37:54 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

By running only the bellow commands i got it working (no problems with signal)

Code: Select all

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
- - - Change this line: {USB_DEVICE(0x2001, 0x330F)}, /* DLink DWA-125 REV D1 */
- - - to this: {USB_DEVICE(0x2001, 0x3311)}, /* DLink GO-USB-N150 REV B1 */
cd rtl8188eu
make
sudo make install
Just wanted to reconfirm that the device should work on similar configurations.
Post Reply

Return to “Wireless”