Need help installing a alfa AWUS036NHV on ubuntu

Hi all,

I am trying to install a alfa AWUS036NHVhttp://www.alfa.com.tw/products_show.php?pc=34&ps=201 on ubuntu but im running into some errors. And i think its driver issues.
the only thing is i know nothing about how drivers work on unix and am trying to learn at the same time of fixing this issue.
There was also a post that was for the 8188eu driver but not the 8188eus http://linuxforums.org.uk/index.php?topic=11261.msg95851#msg95851

So let me give some details.

the chipset is RTL8188EUS and i think the driver that is installed is RTL8188EU
I am runing 3.13.0 generic on vmworkstation.
I can see networks but not there signal strength

And i get the fallowing results from these commands
iwconfig

eth0      no wireless extensions.

lo        no wireless extensions.

wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lsusb

Bus 001 Device 002: ID 0bda:8179 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

airmon-ng



Interface       Chipset         Driver




Thanks for any help

0bda:8179 should be covered by the r8188eu driver.

What’s the output from:

sudo lshw -C network

and

sudo iwlist scanning

Is there a list of these somewhere? Across the common drivers as well? Or is it just a case of Googling those ID numbers?

sudo iwlist scanning

eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 08:86:3B:76:61:7C
                    ESSID:"belkin.17c"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Encryption key:on
                    Bit Rates:144 Mb/s
                    Extra:wpa_ie =dd160050f20101000050f20401000050f20401000050f202
                    IE: WPA Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Extra:rsn_ie =30140100000fac040100000fac040100000fac020000
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DDBA0050F204104A00011010440001021057000101103B00010310470010BC329E001DD811B2860108863B76617C1021001442656C6B696E20496E7465726E6174696F6E616C1023001D42656C6B696E204E373530444220576972656C65737320526F757465721024000746394B313130331042000E31323334353647383930313233341054000800060050F20400011011001D42656C6B696E204E373530444220576972656C65737320526F75746572100800020084103C000101
                    Quality:0  Signal level:0  Noise level:0
          Cell 02 - Address: BC:85:56:3C:4E:52
                    ESSID:"HP-Print-52-LaserJet 400 color"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:off
                    Bit Rates:54 Mb/s
                    Quality:0  Signal level:0  Noise level:0
          Cell 03 - Address: 20:4E:7F:1E:6C:A4
                    ESSID:"RB53288"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.437 GHz (Channel 6)
                    Encryption key:on
                    Bit Rates:108 Mb/s
                    Extra:wpa_ie =dd1c0050f20101000050f20202000050f2040050f20201000050f2020c00
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Extra:rsn_ie =30180100000fac020200000fac04000fac020100000fac020c00
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD7F0050F204104A00011010440001021041000100103B000103104700106FE7B0D8713E6D40911A130B0E94047F1021000D4E4554474541522C20496E632E10230009574E5231303030763310240009574E523130303076331042000538333235381054000800060050F204000110110009574E52313030307633100800020084
                    Quality:0  Signal level:0  Noise level:0
          Cell 04 - Address: 48:F8:B3:0B:66:98
                    ESSID:"Cisco17531"
                    Protocol:IEEE 802.11bgn
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Encryption key:off
                    Bit Rates:108 Mb/s
                    IE: Unknown: DD740050F204104A0001101044000101103B00010310470010E37C8ACE1035919037DDD3C5CAE71CCA102100074C696E6B73797310230004453830301024000776312E302E30301042000234321054000800060050F20400011011000445383030100800022688103C0001011049000600372A000120
                    Quality:0  Signal level:0  Noise level:0

sudo lshw -C network

  *-network               
       description: Ethernet interface
       product: 82545EM Gigabit Ethernet Controller (Copper)
       vendor: Intel Corporation
       physical id: 1
       bus info: pci@0000:02:01.0
       logical name: eth0
       version: 01
       serial: 00:0c:29:dc:6a:5d
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 66MHz
       capabilities: pm pcix bus_master cap_list rom ethernet physical logical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000 driverversion=7.3.21-k8-NAPI duplex=full ip=192.168.2.19 latency=0 link=yes mingnt=255 multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:19 memory:fd5c0000-fd5dffff memory:fdff0000-fdffffff ioport:2000(size=64) memory:e7b00000-e7b0ffff
  *-network
       description: Wireless interface
       physical id: 2
       bus info: usb@1:1
       logical name: wlan0
       serial: 00:c0:ca:85:07:1a
       capabilities: ethernet physical wireless
       configuration: broadcast=yes driver=r8188eu multicast=yes wireless=unassociated

Try this … with a cabled connection to your router, open a terminal and run these commands in sequence:-

sudo apt-get install build-essential linux-headers-generic dkms

then

mkdir ~/8188EU

then

cd ~/8188EU

then

wget https://github.com/lwfinger/rtl8188eu/archive/master.zip

then

unzip master.zip

then

cd ~/8188EU/rtl8188eu-master

then

make

then

sudo make install

then

sudo modprobe -r r8188eu

then

sudo modprobe 8188eu

Did wireless spring to life ? … if so, we may need to blacklist the r8188eu driver.

Sad to say nothing changed. still can see wifi but cant see there stangths and cant been picked up by airmon as well

So im guessing it has to be the other driver

What’s the output from:

lsmod

?

What other driver ?


[EDIT]

Try this:

sudo modprobe -r 8188eu

then

sudo modprobe -r r8188eu

then

sudo modprobe 8188eu rtw_power_mgnt=0 rtw_enusbss=0

how is wireless now.

any errors from those, post them here.

Ok so there are two drivers the eu and eus my chipset is eus

you wanted the lsmod

Module                  Size  Used by
cfg80211              484040  0 
hid_generic            12548  0 
crct10dif_pclmul       14289  0 
crc32_pclmul           13113  0 
ghash_clmulni_intel    13216  0 
aesni_intel            55624  0 
aes_x86_64             17131  1 aesni_intel
lrw                    13286  1 aesni_intel
gf128mul               14951  1 lrw
glue_helper            13990  1 aesni_intel
vmw_balloon            13415  0 
ablk_helper            13597  1 aesni_intel
cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_ens1371            25427  2 
snd_ac97_codec        130285  1 snd_ens1371
ac97_bus               12730  1 snd_ac97_codec
gameport               15758  1 snd_ens1371
snd_pcm               102099  2 snd_ac97_codec,snd_ens1371
serio_raw              13462  0 
snd_page_alloc         18710  1 snd_pcm
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30144  2 snd_ens1371,snd_seq_midi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
r8188eu               814658  0 
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
vmwgfx                175358  3 
snd_timer              29482  2 snd_pcm,snd_seq
usbhid                 52659  0 
hid                   106148  2 hid_generic,usbhid
ttm                    85150  1 vmwgfx
btusb                  32412  0 
snd                    69322  12 snd_ac97_codec,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_ens1371,snd_seq_device,snd_seq_midi
rfcomm                 69160  8 
bnep                   19624  2 
bluetooth             391136  22 bnep,btusb,rfcomm
soundcore              12680  1 snd
drm                   303102  4 ttm,vmwgfx
vmw_vmci               62966  0 
i2c_piix4              22155  0 
shpchp                 37032  0 
parport_pc             32701  1 
mac_hid                13205  0 
ppdev                  17671  0 
lp                     17759  0 
parport                42348  3 lp,ppdev,parport_pc
psmouse               106714  0 
mptspi                 22542  2 
mptscsih               40150  1 mptspi
ahci                   25819  0 
libahci                32716  1 ahci
e1000                 145174  0 
mptbase               101822  2 mptspi,mptscsih
vmw_pvscsi             22858  0 
vmxnet3                49693  0 
floppy                 69418  0 

I am still vary limited as i was at the start. This alfa is supposed to be able to be put into monitoring mode and other things. If you look at the script alfa has in the “linux” driver download it ascks if you have the eu or the eus and there script is not working for kali or for ubuntu. have not tried it on fedora yet.

http://www.alfa.com.tw/download_show.php?combo_0=11&combo_1=AWUS036NHV&combo_2=Driver&keyword=&verify=utl64k&x=0&y=0 This is there driver site for my alfa. The first line on the page does not work.

Did you try what I said in my last posting ?

yep still at the same point.

What’s the output from:

modinfo 8188eu
filename:       /lib/modules/3.13.0-39-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:     A64F36E917C62797F04AD4E
alias:          usb:v056Ep4008d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3311d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3310d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p330Fd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0076d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p8179d*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.13.0-39-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)