[Tutorial] Howto install ralink RT5370 wifi adapter N150UA

Posted by 성순군
2013. 8. 10. 21:08 정보

우분투를 설치하고 N150UA 드라이버가 안깔려서 일주일 고생해서 이제 해결 ㅠㅠ


역시 새로운걸 시작하려니 힘드네요 ㅋ


http://forum.stmlabs.com/showthread.php?tid=8333


[Tutorial] Howto install ralink RT5370 wifi adapter


This is how I got my RT5370 usb wifi adapter installed and working on CB2.

I eventually came across THIS thread which is where most of the correct information came from. All credits to thoses switched on people I just condensed things a little for CB2.

1. download driver archive 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.3_DPO.bz2 (RT8070/RT3070/RT3370/RT5370/RT5372 USB 03/28/2012 2.5.0.3 from THIS SITE.

2. unpack the archive and navigate into the top level directory just extracted:
Code:
tar jxvf  2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO.bz2
Code:
cd 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO

3. modify the following code in "os/linux/config.mk" as below:
Code:
HAS_WPA_SUPPLICANT=y
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y
WFLAGS += -DCONFIG_STA_SUPPORT

4. to quieten down the debugging modify "sta/sta-cfg.c":
Code:
remove "#ifdef DBG" on line 4095
remove "endif /* DBG */" on line 4693

5. to change the name from ra0 to wlan0 modify "include/rtmp_def.h" and change "ra" to "wlan" in the following lines:
Code:
#define INF_MAIN_DEV_NAME        "ra"
#define INF_MBSSID_DEV_NAME        "ra"

6. make and install the modified driver
Code:
sudo make
sudo make install
modprobe rt5370sta


추가 : /etc/modprobe.d/blacklist.conf 편집

blacklist rt2800usb

blacklist rt2800sta



7. reboot and check with lsusb lsmod and ifconfig to make sure all is working as required in the operating system.

8. the CB2 setup program didnt work for me but the xbmc network manager addon worked perfectly so I downloaded and use that rather than doing it all via the operating system.

I hope this helps someone else trying to get an RT5370 wifi adapter up and running.