Forum

Full Version: Alfa AWUS036NH (Ralink RT3070 chipset)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

I just recently installed xbian on my Cubox i4-Pro. Everything is running smoothly, but I want to attach my external Alfa AWUS036NH wireless adapter to the unit, and so far I have FAILED.

The wifi adapter has a ralink RT3070 chipset.

I've added "deb http://http.debian.net/debian/ jessie main contrib non-free" to "/etc/apt/sources.list" and installed the Debian ralink firmware via:
Code:
sudo apt-get install firmware-ralink
but that doesn't seem to do anything.

I can see the loaded modules with lsmod and none of them look like ralink:
Terminal

root@cubox:~# lsmod
Module Size Used by
hfsplus 75388 1
loop 11220 2
brcmfmac 125180 0
brcmutil 3240 1 brcmfmac
cfg80211 151576 1 brcmfmac
streamzap 3801 0
frandom 3316 2
redrat3 9644 0
rc_loopback 2196 0
mceusb 11145 0
ir_sony_decoder 1896 0
ir_rc6_decoder 2704 0
ir_rc5_sz_decoder 1504 0
ir_rc5_decoder 1848 0
ir_nec_decoder 2544 0
ir_lirc_codec 3584 0
ir_jvc_decoder 1920 0
imon 19720 0
f2fs 86980 0

When I plugin the adapter, the end of
Code:
dmesg
looks like:
Terminal

root@cubox:~# dmesg
[ 288.770261] usb 1-1.1.3: USB disconnect, device number 5
[ 290.802328] usb 1-1.1.3: new high-speed USB device number 8 using ci_hdrc
and it ends there.

Any ideas on where to go from here?
(btw I posted this in the 'peripherals' section accidentally, so I'm reposting it here)

I'm trying to connect my Alfa AWUS036NH (Ralink RT3070 chipset) wifi dongle to my Cubox i4-Pro with no luck Sad I'm running XBian 1.0RC2

Code:
apt-get install firmware-ralink

Doesn't have any effect.

The module doesn't seem to be loaded:
Terminal
xbian@cubox ~ $ lsmod
Module Size Used by
hfsplus 75388 1
loop 11220 2
brcmfmac 125180 0
brcmutil 3240 1 brcmfmac
cfg80211 151576 1 brcmfmac
frandom 3316 2
streamzap 3801 0
redrat3 9644 0
rc_loopback 2196 0
mceusb 11145 0
ir_sony_decoder 1896 0
ir_rc6_decoder 2704 0
ir_rc5_sz_decoder 1504 0
ir_rc5_decoder 1848 0
ir_nec_decoder 2544 0
ir_lirc_codec 3584 0
ir_jvc_decoder 1920 0
imon 19720 0
f2fs 86980 0

Terminal

xbian@cubox ~ $ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 007: ID 059f:100c LaCie, Ltd
Bus 001 Device 006: ID 0480:a007 Toshiba America Info. Systems, Inc. External Disk USB 3.0
Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter
Bus 001 Device 004: ID 04d9:a01c Holtek Semiconductor, Inc.
Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

After unplugging and replugging the device:
Terminal

dmesg:
[ 288.770261] usb 1-1.1.3: USB disconnect, device number 5
[ 290.802328] usb 1-1.1.3: new high-speed USB device number 8 using ci_hdrc

Any ideas of where to go from here?
I took a look at the /proc/config.gz file, and noticed these lines:

#
# USB Network Adapters
#
......
# CONFIG_RT2X00 is not set
# CONFIG_RTLWIFI is not set

Which leads me to believe this kernel was compiled without support for the firmware-ralink drivers.
Does anybody know how to compile the kernel with modules for cubox?
You may want to post this to github.

@mk01 any help here?
It seems to me that everything is fine.

However, why are you using an external WIFI adapter, the I4 Pro has internal wireless?

1) Run xbian-config and select system -> Network interfaces. Set the network (if found)
2) Check that the USB adapter is powered if on an external USB hub.
(25th Nov, 2014 12:35 AM)j4n Wrote: [ -> ]I just recently installed xbian on my Cubox i4-Pro. Everything is running smoothly, but I want to attach my external Alfa AWUS036NH wireless adapter to the unit, and so far I have FAILED.

The wifi adapter has a ralink RT3070 chipset.

I have RT5370 what is very much the same driver support. Ralink firmware yes, needed, then those modules should load :

Code:
rt2800usb              15992  0
rt2x00usb               8420  1 rt2800usb
rt2800lib              70056  1 rt2800usb
rt2x00lib              36556  3 rt2re 0usb,rt2800lib,rt2800usb
mac80211              256056  3 rt2x00lib,rt2x00usb,rt2800lib

this modules provide support from RT30xx to RT57xx. usually they work fine, BUT there are some reports now and then about messed vendor codes, or pid codes, or even some RTXX adapters had RT53xx chip, but RT3070 radio (or vice versa so the driver when loaded (even if ok), the firmware was definitely loaded wrong).

but if this would be FW problem, the modules would be still present and active - although non functional.
try to load those modules I listed in advance ? can you check vendor ID agains the driver's vid ?
(you get the lists with "modinfo MODULENAME")
(2nd Dec, 2014 01:50 PM)f1vefour Wrote: [ -> ]You may want to post this to github.

@mk01 any help here?

ok, with that .config settings the kernel if some kind of early devel.
just update kernel pkg (doesn't matter if 3.10.51 or 3.14.14)

(and now I will be killed for posting to CLOSED thread. bad f1vefour, bad f1vefour! )
to avoid killing one of our main developers @mk01, I have merged this related threads. simply cos we can't afford to loose him Wink
heh, I feel so alive again. Smile

tell :-P to IriDium
Reference URL's