Installing RT2870 on TX1

Dear developers,

I’m trying to use an USB wifi adapter, Alfa Awus036nh, with my TX1 development board. lsusb recognizes the device:

Bus 001 Device 005: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

However, it doesn’t show up in the iwconfig, only the built-in wifi does. I downloaded Linux drivers from the company’s website, but when i tried to install, I kept receiving the following error:

ubuntu@tegra-ubuntu:~/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022$ sudo make
[sudo] password for ubuntu:
make -C tools
make[1]: Entering directory ‘/home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools’
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory ‘/home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/tools’
cp -f os/linux/Makefile.6 /home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/Makefile
make -C /lib/modules/3.10.96-tegra/build SUBDIRS=/home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux modules
make[1]: Entering directory ‘/usr/src/linux-headers-3.10.96-tegra’
CC [M] /home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/…/…/common/crypt_md5.o
scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: “(” unexpected
scripts/ recipe for target ‘/home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/…/…/common/crypt_md5.o’ failed
make[2]: *** [/home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux/…/…/common/crypt_md5.o] Error 2
Makefile:1237: recipe for target ‘module/home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux’ failed
make[1]: *** [module/home/ubuntu/Desktop/drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022/os/linux] Error 2
make[1]: Leaving directory ‘/usr/src/linux-headers-3.10.96-tegra’
Makefile:388: recipe for target ‘LINUX’ failed
make: *** [LINUX] Error 2

I’m very new at all of this, so I greatly appreciate any help.

Thank you in advance!

Hi SaRdR,

To resolve the issue of “scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: “(” unexpected”.

cd /usr/src/linux-headers-3.10.96-tegra
sudo make modules_prepare

However, I don’t think your driver code is compatible with our kernel. You can take a look at the documents which indicates this driver only supports linux kernel 2.4 and 2.6 series.

Dear WayneWWW,

Thank you for your response! I followed your solution and it fixed the error I mentioned, but now I’m getting another one… I didn’t realize that the driver didn’t support the kernel I’m using and I can’t find the appropriate driver. It is the only one that’s available on the manufacturer’s website.

Is there are list of USB wifi adapters that are natively supported by TX1 and the kernel I’m using?

Hi SaRdR,

It looks like we only support built-in wifi chip now. Please try to install other drivers and also remember to disable our chip.